https://bugzilla.novell.com/show_bug.cgi?id=279329 ------- Comment #7 from robin.listas@telefonica.net 2007-06-07 06:39 MST ------- I tried: cer@nimrodel:~> gdb /usr/bin/c44 -dpi 72 -slice "72+11+10+10" mosaico.pnm gdb: unrecognized option `-dpi' Use `gdb --help' for a complete list of options. Ugh. .. Another try. cer@nimrodel:~/mosaicos> gdb --args /usr/bin/c44 -dpi 72 -slice "72+11+10+10" mosaico.pnm GNU gdb 6.5 Copyright (C) 2006 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-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/c44 -dpi 72 -slice 72+11+10+10 mosaico.pnm Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1213412656 (LWP 1639)] terminate called after throwing an instance of 'DJVU::GException' Program received signal SIGABRT, Aborted. [Switching to Thread -1213412656 (LWP 1639)] 0xb7efe410 in ?? () (gdb) Now, where do I get the backtrace from? That's all the info it prints. c44 is still unloading from memory after terminating (1.5 GiB in swap, I think). Ok, I type "backtrace" and it prints something: (gdb) backtrace #0 0xb7efe410 in ?? () #1 0xbfe8040c in ?? () #2 0x00000006 in ?? () #3 0x00000667 in ?? () #4 0xb7af6060 in raise () from /lib/libc.so.6 #5 0xb7af7801 in abort () from /lib/libc.so.6 #6 0xb7cf84f0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #7 0xb7cf5f15 in std::set_unexpected () from /usr/lib/libstdc++.so.6 #8 0xb7cf5f52 in std::terminate () from /usr/lib/libstdc++.so.6 #9 0xb7cf5f75 in std::terminate () from /usr/lib/libstdc++.so.6 #10 0xb7cf5a08 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6 #11 0xb7cf64eb in operator new () from /usr/lib/libstdc++.so.6 #12 0xb7d9706a in DJVU::GPBufferBase::GPBufferBase () from /usr/local/lib/libdjvulibre.so.15 #13 0xb7dc7601 in DJVU::IW44Image::Map::Encode::create () from /usr/local/lib/libdjvulibre.so.15 #14 0xb7dc86b4 in DJVU::IWPixmap::Encode::init () from /usr/local/lib/libdjvulibre.so.15 ---Type <return> to continue, or q <return> to quit--- #15 0xb7dc8dc5 in DJVU::IW44Image::create_encode () from /usr/local/lib/libdjvulibre.so.15 #16 0x0804d76f in main (argc=6, argv=0xbfe812a4) at c44.cpp:767 #17 0xb7ae2f9c in __libc_start_main () from /lib/libc.so.6 #18 0x0804a2e1 in _start () (gdb) HTH. .. I just saw your comment; I'll try that way too. cer@nimrodel:~/mosaicos> gdb GNU gdb 6.5 .. (gdb) exec-file /usr/bin/c44 (gdb) run -dpi 72 -slice "72+11+10+10" mosaico.pnm Starting program: /usr/bin/c44 -dpi 72 -slice "72+11+10+10" mosaico.pnm Using host libthread_db library "/lib/libthread_db.so.1". Failed to read a valid object file image from memory. (no debugging symbols found) <================================ [Thread debugging using libthread_db enabled] [New Thread -1213453616 (LWP 2782)] terminate called after throwing an instance of 'DJVU::GException' Program received signal SIGABRT, Aborted. [Switching to Thread -1213453616 (LWP 2782)] 0xb7ef4410 in ?? () (gdb) (gdb) backtrace #0 0xb7ef4410 in ?? () #1 0xbfa707fc in ?? () #2 0x00000006 in ?? () #3 0x00000ade in ?? () #4 0xb7aec060 in raise () from /lib/libc.so.6 #5 0xb7aed801 in abort () from /lib/libc.so.6 #6 0xb7cee4f0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #7 0xb7cebf15 in std::set_unexpected () from /usr/lib/libstdc++.so.6 #8 0xb7cebf52 in std::terminate () from /usr/lib/libstdc++.so.6 #9 0xb7cebf75 in std::terminate () from /usr/lib/libstdc++.so.6 #10 0xb7ceba08 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6 #11 0xb7cec4eb in operator new () from /usr/lib/libstdc++.so.6 #12 0xb7d8d06a in DJVU::GPBufferBase::GPBufferBase () from /usr/local/lib/libdjvulibre.so.15 #13 0xb7dbd601 in DJVU::IW44Image::Map::Encode::create () from /usr/local/lib/libdjvulibre.so.15 #14 0xb7dbe6b4 in DJVU::IWPixmap::Encode::init () from /usr/local/lib/libdjvulibre.so.15 #15 0xb7dbedc5 in DJVU::IW44Image::create_encode () from /usr/local/lib/libdjvulibre.so.15 #16 0x0804d76f in ?? () #17 0xbfa715d0 in ?? () #18 0x080553f0 in ?? () #19 0xbfa715d4 in ?? () #20 0x00000002 in ?? () #21 0xb7f10ff4 in ?? () from /lib/ld-linux.so.2 #22 0xf63d4e2e in ?? () ---Type <return> to continue, or q <return> to quit--- #23 0xbfa71534 in ?? () #24 0xbfa71568 in ?? () #25 0xbfa71694 in ?? () #26 0x00000006 in ?? () #27 0x00000000 in ?? () (gdb) If that's not the info you need, what I can do is compile the program myself, as I have done other times. It seems there is no debug info in there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.