Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jun 2005 12:27:28 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Andriy Tkachuk" <ant@emict.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthreaded program killed by sigsegv from time to time under load
Message-ID:  <op.srs1f2nc9aq2h7@mezz.mezzweb.com>
In-Reply-To: <200506031315.04920.ant@emict.com>
References:  <200506031315.04920.ant@emict.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 03 Jun 2005 05:15:04 -0500, Andriy Tkachuk <ant@emict.com> wrote:

> hi folks. what can be the reason of $subj ?
>
> is the problem with libpthread or with my prog?

See here to use 'info thread' for example:

http://people.freebsd.org/~mezz/gdb/gdb-evolution.txt

Cheers,
Mezz

> thanks.
>
>> gdb client client.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you  
> are
> welcome to change it and/or distribute copies of it under certain  
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for  
> details.
> This GDB was configured as "i386-marcel-freebsd"...
>
> warning: exec file is newer than core file.
> Core was generated by `client'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libpthread.so.1...done.
> Loaded symbols for /usr/lib/libpthread.so.1
> Reading symbols from /usr/lib/libstdc++.so.4...done.
> Loaded symbols for /usr/lib/libstdc++.so.4
> Reading symbols from /lib/libm.so.3...done.
> Loaded symbols for /lib/libm.so.3
> Reading symbols from /lib/libc.so.5...done.
> Loaded symbols for /lib/libc.so.5
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x280ac31b in pthread_testcancel () from /usr/lib/libpthread.so.1
> (gdb) bt
> #0  0x280ac31b in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1  0x280a4902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2  0x00000000 in ?? ()
> (gdb) > uname -a
> FreeBSD ant 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #3: Wed May 18  
> 09:08:16 EEST 2005     ant@ant:/lin/fbsd_obj/usr/src/sys/ANT  i386


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.srs1f2nc9aq2h7>