On Wed, Aug 22, 2007 at 11:01:46AM +0200, Bernhard R. Link wrote:
> * Paul Kimoto <[EMAIL PROTECTED]> [070822 01:33]:
>> When I run "gv" or "gv SOME_POSTSCRIPT_FILE", it dumps core immediately.

> Does it happen for all files or only for specific ones?

It happens for the few postscript files I bothered to check, and also when
invoked without any arguments.

> Does it still happen with an empty home directory?

Yes.

> Is the environment variable XUSERFILESEARCHPATH set?

Yes, to "/home/mopsa/kimoto/app-defaults/%N".  It doesn't seem to matter
whether I have a "GV" file there or not.

However! gv does not segfault if I unset XUSERFILESEARCHPATH.

> A backtrace to this would be helpful.

After installing (only) libx11-6-dbg, I was able to get the following
backtrace:

This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/mopsa/kimoto/builds/gv-3.6.3dfsg.orig/src/gv 
Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0xb7c4f1f7 in GetNEntry (table=0x808d3d8, names=0xbfec180c, 
    classes=0xbfec1800, closure=0xbfec1394) at ../../src/Xrm.c:2483
2483    ../../src/Xrm.c: No such file or directory.
        in ../../src/Xrm.c
(gdb) back
#0  0xb7c4f1f7 in GetNEntry (table=0x808d3d8, names=0xbfec180c, 
    classes=0xbfec1800, closure=0xbfec1394) at ../../src/Xrm.c:2483
#1  0xb7c4fdf3 in XrmQGetResource (db=0x8091c88, names=0xbfec180c, 
    classes=0xbfec1800, pType=0xbfec1828, pValue=0xbfec1818)
    at ../../src/Xrm.c:2549
#2  0xb7d1a7ef in XtResolvePathname () from /usr/lib/libXt.so.6
#3  0x0806f799 in resource_buildDatabase (gvdb=0x8091c88, display=0x808d440, 
    app_class=0x808a59a "GV", app_name=0x808a597 "gv", argcP=0xbfec2020, 
    argv=0xbfec20a4) at resource.c:160
#4  0x0805f536 in main (argc=0, argv=0xbfec20a4) at main.c:600



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to