On 2013-07-05, at 11:30 AM, Ben Noordhuis <[email protected]> wrote:
> On Fri, Jul 5, 2013 at 5:18 PM, pagameba <[email protected]> wrote: > <snip> > That assertion you're hitting means there is an empty handle in your > code somewhere, e.g. obj or MSError::constructor. If the backtrace in > gdb points to this line: > >> Handle<Object> obj = MSError::constructor->GetFunction()->NewInstance(1, >> &ext); > > Then there's a couple of things you can do. `print > MSError::constructor` will tell you if it's actually pointing to > something. If gdb prints something like `{ val_ = 0 }`, then it's > empty. Same for ext. Thanks Ben, that got me pointed in the right direction. Printing MSError::constructor was indeed yielding a val_ = 0x0. Tracking this down, I had neglected to call MSError::Initialize from my module's Initialize method. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
