On 25/02/11 01:23, Piotr Stanczyk wrote:
Hi Peter,
this is the stack trace that I am getting:
Program received signal SIGSEGV, Segmentation fault.
0x00007ff72e243da8 in DD::Image::DrawIop::doAnyHandles ()
from /san/sww/rhel5/tools/foundry/Nuke6.2v2/libDDImage.so
(gdb) bt
#0 0x00007ff72e243da8 in DD::Image::DrawIop::doAnyHandles ()
from /san/sww/rhel5/tools/foundry/Nuke6.2v2/libDDImage.so
#1 0x00007ff72e297964 in DD::Image::Op::anyHandles ()
from /san/sww/rhel5/tools/foundry/Nuke6.2v2/libDDImage.so
#2 0x00007ff72e29166d in DD::Image::NukeWrapper::doAnyHandles ()
from /san/sww/rhel5/tools/foundry/Nuke6.2v2/libDDImage.so
#3 0x00007ff72e297964 in DD::Image::Op::anyHandles ()
from /san/sww/rhel5/tools/foundry/Nuke6.2v2/libDDImage.so
#4 0x00000000006f65ed in ?? ()
#5 0x00000000006f6334 in ?? ()
#6 0x00000000008c2b0b in ?? ()
#7 0x00000000008c2084 in ?? ()
#8 0x00000000008d803d in ?? ()
#9 0x00000000008d85aa in ?? ()
#10 0x00000000008ca9ac in ?? ()
#11 0x00000000008ca572 in ?? ()
#12 0x00000000012b4f2a in ?? ()
#13 0x00000000012b3a29 in ?? ()
#14 0x00000000008ca407 in ?? ()
#15 0x0000000000de7ada in ?? ()
#16 0x00000000012dad75 in ?? ()
#17 0x0000000000dad8ff in ?? ()
#18 0x0000000000db0c04 in ?? ()
#19 0x000000000071a918 in ?? ()
#20 0x0000000001281980 in ?? ()
#21 0x0000000000df2e3c in ?? ()
#22 0x0000000000ee08ac in ?? ()
#23 0x0000000000ee174f in ?? ()
If I do not have an viewer present the node loads up just fine; attempting to
create a viewer with this node constructed results in a similar crash.
This node implements the following functions:
bool draw_engine(int y, int ix, int r, float* buffer);
virtual void knobs (Knob_Callback);
virtual int knob_changed(Knob * k);
const char* Class() const;
const char* node_help() const;
void _validate(bool);
void append(Hash& hash);
and now, to avoid the crash:
virtual bool doAnyHandles(ViewerContext* ctx) {return false;}
I'd expect a few more obvious problems if this was the case, but:
are you *sure* you're compiling (and linking) against the DDImage
headers from Nuke 6.2 and not 6.1? Because Knob.h provides exactly that
doAnyHandles() declaration, so I don't understand why you declaring it
within your op would make any difference otherwise...
So your op's got no handles itself, correct? - what knobs has it got?
Regards,
Peter Pearson
--
Peter Pearson, Software Engineer
The Foundry, 6th Floor, The Communications Building,
48 Leicester Square, London, UK, WC2H 7LT
Tel: +44 (0)20 7434 0449 - Fax: +44 (0)20 7434 1550
Web: www.thefoundry.co.uk
The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev