help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] GNU Smalltalk 2.3 released


From: Michael Fellinger
Subject: Re: [Help-smalltalk] GNU Smalltalk 2.3 released
Date: Thu, 7 Dec 2006 11:02:00 +0900
User-agent: KMail/1.9.5

On Wednesday 06 December 2006 17:23, Paolo Bonzini wrote:
> > You should try with gdb instead:
> >
> >   gdb gst crashgst.st
>
> gdb --args gst crashgst.st, sorry.  Even better if you run "gdb --args
> ./gst crashgst.st" from the build directory.
>

ok, this works better, but i cannot set a breakpoint for abort, it doesn't 
come across it...
also, using the gst in the build-directory doesn't work well, no idea why.
well, anyway - i tried following which seems quite promising...:

address@hidden smalltalk-2.3]$ gdb --args gst crashgst.st
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 "x86_64-unknown-linux-gnu"...Using host 
libthread_db library "/lib/libthread_db.so.1".

(gdb) start
Breakpoint 1 at 0x405840
Starting program: /home/manveru/pkgbuilds/smalltalk/src/smalltalk-2.3/gst 
crashgst.st
0x0000000000405840 in main ()
(gdb) step
Single stepping until exit from function main, 
which has no line number information.

Program received signal SIGSEGV, Segmentation fault.
0x00002b120357ec10 in __gmpn_submul_1 () from /usr/lib/libgmp.so.3
(gdb) bt
#0  0x00002b120357ec10 in __gmpn_submul_1 () from /usr/lib/libgmp.so.3
#1  0x00002b1203589bb1 in __gmpn_bdivmod () from /usr/lib/libgmp.so.3
#2  0x00002b120358a31d in __gmpn_gcd () from /usr/lib/libgmp.so.3
#3  0x000000000046b87c in _gst_mpz_gcd ()
#4  0x00000000004488bc in VMpr_LargeInteger_gcd ()
#5  0x000000000044de2c in _gst_send_message_internal ()
#6  0x000000000045701d in _gst_interpret ()
#7  0x0000000000460f34 in _gst_nvmsg_send ()
#8  0x000000000040c05e in _gst_execute_statements ()
#9  0x0000000000464eaa in _gst_parse_chunks ()
#10 0x0000000000406587 in _gst_parse_stream ()
#11 0x00000000004058be in process_file ()
#12 0x000000000040597e in gst_top_level_loop ()
#13 0x0000000000405865 in main ()


^manveru




reply via email to

[Prev in Thread] Current Thread [Next in Thread]