This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: WML (perl-based program) segfaults


Hello!

* Gerrit P. Haase <freeweb@nyckelpiga.de> [2004-02-12 10:24]:
> I have a debugging version of perl online[1]
> (extract it from the cygwin root, you'll need the binary and the
> srctree package so the debugger may find the sources in the right
> place)

Well, my modem did it. ;-)
Now I get this:

$ gdb eperl.exe
(gdb) run README
(gdb) up
#1  0x10064727 in Perl_vmess (my_perl=0x1026fb48, pat=0x1000be0b "panic: MUTEX_LOCK", args=0x330c4) at util.c:946
946         SV *sv = mess_alloc();
(gdb) 
#2  0x10065481 in Perl_vcroak (my_perl=0x1026fb48, pat=0x1000be0b "panic: MUTEX_LOCK", args=0x330c4) at util.c:1146
1146            msv = vmess(pat, args);
(gdb) 
#3  0x10065abf in Perl_croak_nocontext (pat=0x1000be0b "panic: MUTEX_LOCK") at util.c:1216
1216        vcroak(pat, &args);
(gdb) 
#4  0x1000c13d in Perl_malloc (nbytes=1008) at malloc.c:1558
1558    }
(gdb) 
#5  0x1008072c in S_more_sv (my_perl=0x1026fb48) at sv.c:310
310             New(704,chunk,1008,char);   /* Safefree() in sv_free_arenas()     */
(gdb) 
#6  0x1008e20b in Perl_newSVpvn (my_perl=0x1026fb48, s=0x10064450 "", len=0) at sv.c:6806
6806    }
(gdb) 
#7  0x100644f8 in S_mess_alloc (my_perl=0x1026fb48) at util.c:819
819             return sv_2mortal(newSVpvn("",0));


Err. Unfortunately, I know literally nothing about gdb, malloc, or
mutex, so ... what kind of diagnosis should I try and perform? %-)

Wolfgang

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]