public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Wolfgang Schnerring <wosc@wosc.de>
To: cygwin@cygwin.com
Subject: Re: WML (perl-based program) segfaults
Date: Thu, 12 Feb 2004 14:45:00 -0000	[thread overview]
Message-ID: <20040212142607.GC1236@nautis.wosc.de> (raw)
In-Reply-To: <129240678667.20040212102414@familiehaase.de>

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/

  parent reply	other threads:[~2004-02-12 14:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10 16:03 Wolfgang Schnerring
2004-02-11 22:35 ` Gerrit P. Haase
2004-02-12  9:06   ` Wolfgang Schnerring
2004-02-12  9:24     ` Gerrit P. Haase
2004-02-12 10:00       ` Wolfgang Schnerring
2004-02-12 14:45       ` Wolfgang Schnerring [this message]
2004-02-14 16:30         ` Gerrit P. Haase
2004-02-15  7:06           ` Wolfgang Schnerring
2004-02-20 12:50 ` Rafael Kitover

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040212142607.GC1236@nautis.wosc.de \
    --to=wosc@wosc.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).