crash @ malloc.c:2777

Isselmou Ould-Dellahy
Tue Oct 26 12:41:00 GMT 1999

Does anybody understand the crash below ?

[iod@iznogoud iod]$gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)

[iod@iznogoud iod]$gdb a.out
(gdb)run simple.grp
Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x4011d580, nb=88) at malloc.c:2777
malloc.c:2777: No such file or directory.
Current language:  auto; currently c
(gdb) bt
#0  chunk_alloc (ar_ptr=0x4011d580, nb=88) at malloc.c:2777
#1  0x4008cb8a in __libc_malloc (bytes=80) at malloc.c:2616
#2  0x804b201 in alloue_loop_points (nb=5) at min.cxx:2452
#3  0x804b2e8 in t_loop::t_loop (this=0x806c918, p=0x806c8d0, nb=4, cl=CLOSED)
    at min.cxx:2481
#4  0x804eb97 in SURFACE::init_loop2D (this=0x806cdb8) at min.cxx:3655
#5  0x80504c5 in start_mesh (input_file=0xbffffa58 "simple.grp",
    output_file=0xbffff9f8 "simple.grp.msh", check_data=0 '\000',
    output_file=0xbffff9f8 "simple.grp.msh", check_data=0 '\000',
    nb_smoth_swap_iterations=1, reorder=0 '\000', minqual=0.01) at min.cxx:4112
#6  0x8050557 in main (argc=2, argv=0xbffffb04) at min.cxx:4125
#7  0x4004ccb3 in __libc_start_main (main=0x80504ec <main>, argc=2,
    argv=0xbffffb04, init=0x8049464 <_init>, fini=0x8055a5c <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffafc)
    at ../sysdeps/generic/libc-start.c:78

Thank you

More information about the Gcc-bugs mailing list