On Fri, Jan 25, 2008 at 02:58:01PM +0100, Laurent Fousse wrote: > Hello, > > * Neil McGovern [Wed, Dec 19, 2007 at 11:42:23AM +0000]: > > Package: megahal > > Version: 9.1.1a-1 > > Followup-For: Bug #454212 > > > > Confirmed using etch i386 (though an amd64 processor). Attached output > > of megahal and strace. > > Could you try a version with debugging symbols included and give me the > backtrace? You can download one from > > http://komite.net/laurent/tmp/megahal_9.1.1a-1_i386.deb > > Thanks, > > Laurent.
The backtrace is attached. The megahal.brn file that it tries to open doesn't exists. Maybe it is trying to make some read/write operation on it without checking if it has been correctly opened? -- Giuliani Vito, Ivan http://zeta-puppis.com
[EMAIL PROTECTED]:~$ gdb megahal GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. 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/megahal +------------------------------------------------------------------------+ | | | # # ###### #### ## # # ## # | | ## ## # # # # # # # # # # ### | | # ## # ##### # # # ###### # # # # # | | # # # # ### ###### # # ###### # # # ### | | # # # # # # # # # # # # # # # # | | # # ###### #### # # # # # # ###### # ###r6 | | | | Copyright(C) 1998 Jason Hutchens | +------------------------------------------------------------------------+ Program received signal SIGSEGV, Segmentation fault. 0xb7e33cf6 in malloc_consolidate () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7e33cf6 in malloc_consolidate () from /lib/i686/cmov/libc.so.6 #1 0xb7e3571e in _int_free () from /lib/i686/cmov/libc.so.6 #2 0xb7e39380 in free () from /lib/i686/cmov/libc.so.6 #3 0xb7e24c50 in __fopen_internal () from /lib/i686/cmov/libc.so.6 #4 0xb7e24c8c in fopen@@GLIBC_2.1 () from /lib/i686/cmov/libc.so.6 #5 0x0804b8a2 in load_model (filename=0x8051238 "/home/kratorius/.megahal/megahal.brn", model=0x8051268) at megahal.c:2008 #6 0x0804debc in load_personality (model=0x805086c) at megahal.c:3301 #7 0x0804e16a in change_personality (command=0x0, position=0, model=0x805086c) at megahal.c:3350 #8 0x08048fd0 in megahal_initialize () at megahal.c:454 #9 0x0804e49f in main (argc=1, argv=0xbfad3d94) at main.c:161 (gdb) quit The program is running. Exit anyway? (y or n) y