[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#257835: xbase-clients: [xedit] crashing on ppc



tag 257835 + upstream
retitle 257835 xbase-clients: [xedit] SEGV in Lisp__New (car=0x1, cdr=0x400) at lisp.c:2632 on PowerPC
severity 257835 important
thanks

On Tue, Jul 06, 2004 at 11:46:32AM +0200, Bernhard Reiter wrote:
> Package: xbase-clients
> Version: 4.3.0.dfsg.1-4
> Severity: normal
> 
> In this and the last two previous versions or so xedit simply crashes:
> 	$xedit
> Segmentation fault
> 
> (tried Germany locale and LC_ALL=C).

Confirmed.  I got a more useful GDB session by having the debugging
libraries installed (e.g., libx11-6-dbg) and reproducing this from within
the very build tree that produced the Debian packages of xfree86
4.3.0.dfsg.1-6 for PowerPC :) ).

Here it is:

1159 branden@sisyphus:~/packages/xfree86/4.3.0-production/xfree86-4.3.0.dfsg.1/build-tree/xc/programs/xedit$ gdb ./xedit core
GNU gdb 6.1-debian
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 "powerpc-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `./xedit'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/debug/libXaw.so.7...done.
Loaded symbols for /usr/X11R6/lib/debug/libXaw.so.7
Reading symbols from /usr/X11R6/lib/debug/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libXmu.so.6
Reading symbols from /usr/X11R6/lib/debug/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libXt.so.6
Reading symbols from /usr/X11R6/lib/debug/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libSM.so.6
Reading symbols from /usr/X11R6/lib/debug/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libICE.so.6
Reading symbols from /usr/X11R6/lib/debug/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/debug/libXpm.so.4
Reading symbols from /usr/X11R6/lib/debug/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libXext.so.6
Reading symbols from /usr/X11R6/lib/debug/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/debug/libX11.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug//lib/libm-2.3.2.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug//lib/libc-2.3.2.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug//lib/libdl-2.3.2.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld.so.1...Reading symbols from /usr/lib/debug//lib/ld-2.3.2.so...done.
done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
#0  Lisp__New (car=0x1, cdr=0x400) at lisp.c:2632
2632        objseg.freeobj = CDR(obj);
(gdb) list
2627
2628        if (objseg.freeobj == NIL || objseg.nfree < cellcount)
2629            LispAllocSeg(&objseg, cellcount);
2630
2631        obj = objseg.freeobj;
2632        objseg.freeobj = CDR(obj);
2633
2634        return (obj);
2635    }
2636
(gdb) bt
#0  Lisp__New (car=0x1, cdr=0x400) at lisp.c:2632
#1  0x1001705c in Lisp__New (car=0x1, cdr=0x400) at lisp.c:2629
#2  0x1002f474 in Lisp_ParseNamestring (builtin=0x10094a10) at pathname.c:560
#3  0x1001add0 in LispFuncall (function=0x4, arguments=0x1, eval=269036720) at lisp.c:4670
#4  0x1001b24c in LispApply1 (function=0x1, argument=0x10098480) at lisp.c:4823
#5  0x1001cc30 in LispBegin () at lisp.c:5436
#6  0x100123f8 in XeditLispInitialize () at lisp.c:63
#7  0x100041e0 in main (argc=0, argv=0x7fff8eb5) at xedit.c:150
(gdb) quit

I will check upstream for possible patches, and contact the author (Paulo
Cesar Pereira de Andrade) for assistance if I can't find one.

Thanks for your report.

-- 
G. Branden Robinson                |     I don't care if it has a GUI, or
Debian GNU/Linux                   |     command line, or is carved in mud
branden@debian.org                 |     with a sharp spoon.
http://people.debian.org/~branden/ |     -- Barry Smith

Attachment: signature.asc
Description: Digital signature


Reply to: