[plt-scheme] Caught the bug

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Sat Feb 18 19:13:38 EST 2006

Hi all,

Running DrScheme 301.6 on top of gdb finally caught the bug I've been
having and crashing drscheme all the time. To me the backtrace doesn't
tell me much. I'll leave my gdb open in case someone wants more
information. Here's the backtrace:
(gdb) run -synchronous -mvqM drscheme
Starting program: /usr/local/plt/plt-svn-180206/bin/mred -synchronous
-mvqM drscheme
[Thread debugging using libthread_db enabled]
[New Thread -1215138128 (LWP 14312)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215138128 (LWP 14312)]
0x080f99fb in sch_max (argc=2, argv=0x9303d14) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/numcomp.c:290
290     GEN_TWOARY_OP(static, sch_max, "max", bin_max, SCHEME_REALP,
REAL_NUMBER_STR)
Current language:  auto; currently c
(gdb) bt
#0  0x080f99fb in sch_max (argc=2, argv=0x9303d14) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/numcomp.c:290
#1  0x085c5bc1 in ?? ()
#2  0x00000002 in ?? ()
#3  0x09303d14 in ?? ()
#4  0x0bb40298 in ?? ()
#5  0x0bb3ff15 in ?? ()
#6  0x09303dd0 in ?? ()
#7  0x09303000 in ?? ()
#8  0x00000001 in ?? ()
#9  0xbfdc71e0 in ?? ()
#10 0xbfdc715c in ?? ()
#11 0x080bd2cb in scheme_do_eval (obj=0x9303dd0, num_rands=135240160,
rands=0x9303dd0, get_value=1) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/eval.c:4208
#12 0x080bd2cb in scheme_do_eval (obj=0xbfdc71e0, num_rands=1,
rands=0xbfdc71e0, get_value=-1) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/eval.c:4208
#13 0x080ca418 in do_map (argc=2, argv=0x9303dd0, name=0x82a8b33
"for-each", make_result=0, and_mode=0, or_mode=0)
    at /usr/local/plt/plt-svn/plt/src/mzscheme/src/fun.c:2433
#14 0x080ca6d9 in for_each (argc=2, argv=0x9303dd0) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/fun.c:2482
#15 0x085c5d47 in ?? ()
#16 0x00000002 in ?? ()
#17 0x09303dd0 in ?? ()
#18 0x09303dd0 in ?? ()
#19 0x00000005 in ?? ()
#20 0x09303e30 in ?? ()
#21 0x09303e9c in ?? ()
#22 0x0a52d1e0 in ?? ()
#23 0x09303e30 in ?? ()
#24 0xbfdc7270 in ?? ()
#25 0x085d59e9 in ?? ()
#26 0x0a52d1e0 in ?? ()
#27 0x0000000a in ?? ()
#28 0x09303e30 in ?? ()
#29 0x0c6410f3 in ?? ()
#30 0x0000000b in ?? ()
#31 0x09303e9c in ?? ()
#32 0x09303000 in ?? ()
#33 0x0000000a in ?? ()
#34 0xbfdc7668 in ?? ()
#35 0xbfdc7320 in ?? ()
#36 0x080bd2cb in scheme_do_eval (obj=0x9303e30, num_rands=139780592,
rands=0x9303e30, get_value=207884531) at
/usr/local/plt/plt-svn/plt/src/mzscheme/src/eval.c:4208
Previous frame inner to this frame (corrupt stack?)

How can I provide more info?

Should I report the bug?

Cheers,

--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.