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;}
Thanks for looking
Piotr
________________________________________
From: [email protected]
[[email protected]] on behalf of Peter Pearson
[[email protected]]
Sent: 21 February 2011 00:40
To: [email protected]
Subject: Re: [Nuke-dev] 6.2v2 and DrawIop
On 19/02/11 09:08, Sebastian Elsner wrote:
> Yes, there were changes. Abigail mentioned it on the mailing list. You
> may have a look here or there should also be a note on this in the
> changelog for 6.2v1 or v2.
If it hasn't got any handles at all (including things like XY_knobs or
any other knob which draws its own handles), I don't think this should
be happening, as the default implementation returning false should be
enough.
Do you have a (useful) stacktrace?
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
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev