This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: perl threads on 2008 R2 64bit = crash ( was: perl 5.10 threads on 1.5.25 = instant crash )
Steven Hartland wrote:
>
> ----- Original Message ----- From: "Dave Korn"
>> (gdb) b 113 if ((*object) == 0)
>> No symbol "object" in current context.
>> (gdb)
>>
>> Ah, that's bad. It might work on a DLL compiled with -O0 -g, but
>> here we
>> have a problem that the function gets inlined everywhere it's called. So
>> instead I set an unconditional breakpoint there and let it run until I
>> hit it:
>
> From my experience last night you should be able to use something like:-
> b 113 if ( 0 == (**(verifyable_object **)objectptr)
I did try it, but objectptr was out of scope as well. I'm using 1.7 and
gcc-4.3.2, so it might well be that there's more inlining going on for me than
for you, or changes in the debug info generation that account for it.
> If not here at least it hits that break ~ 280 times before blowing up so
> setting a conditional on that occurrence should help.
:) That's the general idea!
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple