Segmentation fault at malloc.c:4232



hi,

I have written a program and it failed with "Segmentation fault". With
gdb, it seems that there is something wrong in the malloc.c:

gdb) set args src.txt
(gdb) r
Starting program: /home/hpt/test/c/algorithms_in_c/4.17/compiler src.txt

Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x996120, bytes=14) at malloc.c:4232
4232 bck->fd = unsorted_chunks(av);
(gdb) where
#0 _int_malloc (av=0x996120, bytes=14) at malloc.c:4232
#1 0x008abb7b in __libc_malloc (bytes=14) at malloc.c:3553
#2 0x080486c1 in STACKinit (maxN=14) at STACK.c:8
#3 0x08048565 in main (argc=1, argv=0x0) at compiler.c:16

Is this a bug?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • [UNIX] Progress Database Local Buffer Overflow
    ... # gdb /usr/dlc/bin/_mpros core ... Segmentation fault. ... Reading symbols from /lib/libm.so.6...done. ... There is absolutely no warranty for GDB. ...
    (Securiteam)
  • Re: Fedora 9
    ... GNU gdb Fedora ... This is free software: you are free to change and redistribute it. ... There is NO WARRANTY, to the extent permitted by law. ... Program received signal SIGSEGV, Segmentation fault. ...
    (Fedora)
  • Re: Fedora 9
    ... GNU gdb Fedora ... This is free software: you are free to change and redistribute it. ... There is NO WARRANTY, to the extent permitted by law. ... Program received signal SIGSEGV, Segmentation fault. ...
    (Fedora)
  • Re: Fedora 9
    ... GNU gdb Fedora ... This is free software: you are free to change and redistribute it. ... There is NO WARRANTY, to the extent permitted by law. ... Program received signal SIGSEGV, Segmentation fault. ...
    (Fedora)
  • Re: Fedora 9
    ... GNU gdb Fedora ... This is free software: you are free to change and redistribute it. ... Program received signal SIGSEGV, Segmentation fault. ... Missing separate debuginfos, use: debuginfo-install atk.i386 cairo.i386 ...
    (Fedora)