RE: gialog immediately segfaults
- From: "Jesse D . Sightler" <jsight pair com>
- To: Fox vorlon babylon, Kevin M <KMFox mail bhi-erc com>
- Cc: 'BASS vorlon babylon, "Ned*'" <nbass shl com>, gnome-list gnome org
- Subject: RE: gialog immediately segfaults
- Date: Wed, 24 Mar 1999 14:59:05 -0500
Well, I haven't looked at the source yet, but from this backtrace
I was able to find the problem. :-)
Basically, if I run 'gdialog --yesno "test" 80 80' the program core
dumps, but if I give it something longer like:
'gdialog --yesno "test is some testing code to find out what is going on here and warp" 80 80'
It executes beatifully. Apparantly label_autowrap() is the source of the problem?
On Wed, 24 Mar 1999 14:02:07 Fox, Kevin M wrote:
> same problem, my run was alittle more descriptive...
>
> (gdb) set args --msgbox test 40 50
> (gdb) run
> Starting program: /usr/bin/gdialog --msgbox test 40 50
> (no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> chunk_free (ar_ptr=0x4053e420, p=0x808c3a4) at malloc.c:2897
> malloc.c:2897: No such file or directory.
> (gdb) bt
> #0 chunk_free (ar_ptr=0x4053e420, p=0x808c3a4) at malloc.c:2897
> #1 0x404e97c1 in __libc_free (mem=0x808c3ac) at malloc.c:2872
> #2 0x4037e4ad in g_free ()
> #3 0x8052099 in label_autowrap ()
> #4 0x804ec5d in dialog_msgbox ()
> #5 0x804c55d in j_msgbox ()
> #6 0x804c428 in main ()
> (gdb)
>
> > -----Original Message-----
> > From: BASS, Ned* [SMTP:nbass@shl.com]
> > Sent: Wednesday, March 24, 1999 10:56 AM
> > To: gnome-list@gnome.org
> > Subject: gialog immediately segfaults
> >
> > gdialog seems to cause a segmentation fault with any valid arguments. I
> > have
> > been experiencing this since the pre-1.0 gnome versions, but I am
> > currently
> > running gnome compiled from CVS within the past 3 days. Is anyone else
> > able
> > to reproduce this? Here is a worthless backtrace:
> >
> > MARGARITA[/home/ned/filez/src/gnome] % gdb gdialog
> > GNU gdb 4.17
> > Copyright 1998 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 "i586-slackware-linux"...
> > (gdb) set args --msgbox test 40 50
> > (gdb) run
> > Starting program: /usr/local/bin/gdialog --msgbox test 40 50
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x404db044 in free ()
> > (gdb) bt
> > #0 0x404db044 in free ()
> > #1 0x40363a84 in __DTOR_END__ ()
> > #2 0x74736574 in ?? ()
> > Cannot access memory at address 0x11.
> > (gdb)
> >
> > Ned
> >
> >
> > --
> > FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> > To unsubscribe: mail gnome-list-request@gnome.org with
> > "unsubscribe" as the Subject.
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
---------------
Jesse D. Sightler
http://www3.pair.com/jsight/
"An honest answer can get you into a lot of trouble."
- Anonymous
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]