Menu

#12 wcalc error checking

closed
5
2006-02-02
2006-01-14
Anonymous
No

Just occasionaly pasted some string into wcalc and it crashed.
This is gentoo@amd64 with -march=athlon64 -O2

john@localhost ~ $ wcalc
Enter an expression to evaluate, q to quit, or ? for help:
-> { "a[0]", "float", "4.17232506e-08" }
*** glibc detected *** free(): invalid next size (fast):
0x0000000000523c70 ***
Aborted
john@localhost ~ $

Enter an expression to evaluate, q to quit, or ? for help:
-> { "a[0]", "float", "4.17232506e-08" }
*** glibc detected *** free(): invalid next size (fast):
0x0000000000523a80 ***

Program received signal SIGABRT, Aborted.
0x00002aaaaaeb3839 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaaaeb3839 in raise () from /lib/libc.so.6
#1 0x00002aaaaaeb4cde in abort () from /lib/libc.so.6
#2 0x00002aaaaaee7b40 in __fsetlocking () from /lib/libc.so.6
#3 0x00002aaaaaeecd40 in malloc_usable_size () from /lib/libc.
so.6
#4 0x00002aaaaaeed7c6 in free () from /lib/libc.so.6
#5 0x000000000040452d in ?? ()
#6 0x0000000000402393 in ?? ()
#7 0x0000000000406084 in ?? ()
#8 0x00000000004092b2 in ?? ()
#9 0x00002aaaaaea1674 in __libc_start_main () from /lib/libc.so.
6
#10 0x0000000000401cda in ?? ()
#11 0x00007fffffd91538 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x00007fffffd92730 in ?? ()
#15 0x0000000000000000 in ?? ()

Discussion

  • Kyle Wheeler

    Kyle Wheeler - 2006-01-15
    • status: open --> pending
     
  • Kyle Wheeler

    Kyle Wheeler - 2006-01-15

    Logged In: YES
    user_id=17596

    What version of wcalc are you using? I tried it on Linux (32-bit) and on MacOS X
    10.4 (32-bit) with 2.1.2, and wcalc didn't crash. Can you compile it from source
    with debugging enabled (add -g to the CFLAGS) and get a backtrace from that?

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB