$ gdb xfprint4 GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. (...) This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/xfprint4 [Thread debugging using libthread_db enabled] [New Thread 0xb7419720 (LWP 22284)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7419720 (LWP 22284)] 0x08051002 in print_dialog_set_property (object=0x81db028, prop_id=1, value=0xbff80598, pspec=0x80ebc78) at print_dialog.c:409 409 print_dialog.c: No such file or directory. in print_dialog.c (gdb) bt #0 0x08051002 in print_dialog_set_property (object=0x81db028, prop_id=1, value=0xbff80598, pspec=0x80ebc78) at print_dialog.c:409 #1 0xb786c3b9 in ?? () from /usr/lib/libgobject-2.0.so.0 #2 0x081db028 in ?? () #3 0x00000001 in ?? () #4 0xbff80598 in ?? () #5 0x080ebc78 in ?? () #6 0xb7853248 in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x08084298 in ?? () #8 0xbff80538 in ?? () #9 0xb77d0523 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0 #10 0xb786c9a8 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #11 0xb786d556 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #12 0xb786d660 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #13 0x0804f241 in print_dialog_new (ps=0x81dc7e0, input_file=0x818ac20 "/home/rollingbits/historico.ps") at print_dialog.c:662 #14 0x0804e2e1 in main (argc=1836017711, argv=0x6f722f65) at main.c:169 (gdb) stop (gdb) quit The program is running. Exit anyway? (y or n) y Using the version in the archive (rebuilt with nostrip) with a link /usr/etc/printcap -> /etc/printcap, same thing happens: $ gdb xfprint4 GNU gdb 6.7.1-debian (...) This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/xfprint4 [Thread debugging using libthread_db enabled] [New Thread 0xb7401720 (LWP 1465)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7401720 (LWP 1465)] 0x08051164 in print_dialog_set_property (object=0x81d7068, prop_id=1, value=0xbfbc1f58, pspec=0x80e6850) at print_dialog.c:409 409 if (!default_printer_found && g_ascii_strcasecmp (default_printer->name, printer_data->name) == 0) { (gdb) bt #0 0x08051164 in print_dialog_set_property (object=0x81d7068, prop_id=1, value=0xbfbc1f58, pspec=0x80e6850) at print_dialog.c:409 #1 0xb78253b9 in ?? () from /usr/lib/libgobject-2.0.so.0 #2 0x081d7068 in ?? () #3 0x00000001 in ?? () #4 0xbfbc1f58 in ?? () #5 0x080e6850 in ?? () #6 0xb780c248 in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x0808feb8 in ?? () #8 0xbfbc1ef8 in ?? () #9 0xb7789523 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0 #10 0xb78259a8 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #11 0xb7826556 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #12 0xb7826660 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #13 0x0804f371 in print_dialog_new (ps=0x81de7f8, input_file=0x81510e0 "/home/rollingbits/.bashrc") at print_dialog.c:662 #14 0x0804e544 in main (argc=1836017711, argv=0x6f722f65) at main.c:169 (gdb) quit The program is running. Exit anyway? (y or n) y The procedure to print a file with lpr is a bit standard among lpr implementations: pipe the file to $(lpr). This works with lpr, lprng and with cupsys-bsd packages. Other actions aren't supposed to react in the same way (to manage the print queue, for example). I did the backtrace with lprng. Cheers, -- ,-. rollingbits -- [EMAIL PROTECTED], [EMAIL PROTECTED] \`' [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ` Get my public GPG key in http://rollingbits.tripod.com/mykey.html
signature.asc
Description: Digital signature