Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 12 Feb 2004 15:26:08 +0100 From: Wolfgang Schnerring To: cygwin AT cygwin DOT com Subject: Re: WML (perl-based program) segfaults Message-ID: <20040212142607.GC1236@nautis.wosc.de> Mail-Followup-To: Wolfgang Schnerring , cygwin AT cygwin DOT com References: <2934478737 DOT 20040211233539 AT familiehaase DOT de> <20040212090742 DOT GA1228 AT nautis DOT wosc DOT de> <129240678667 DOT 20040212102414 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <129240678667.20040212102414@familiehaase.de> User-Agent: Mutt/1.4i Hello! * Gerrit P. Haase [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/