[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] gdb



"Thomas M." wrote:
> 
> Hejsa
> 
>  Endnu et spørgsmål. Hvis man analyserer et coredump med gdb, så får man
> noget lignende (efter en sig. 11) :
> Reading symbols from /lib/libnss_nisplus.so.2...done.
> Reading symbols from /lib/libnss_files.so.2...done.
> #0  0x40105b8a in chunk_realloc (ar_ptr=0x40195580, oldp=0x80a42a8,
>     oldsize=168, nb=176) at malloc.c:3221
> malloc.c:3221: No such file or directory.
> (gdb)
> 
>  Hvordan finder man ud af hvilken malloc i sin kode, der har lavet den?
> Ovenstående fortæller jo bare at det er et sted i malloc.c der er lavet en
> segmentation fault. Men det er vel en parameter overført til malloc der er
> forkert et eller andet sted i min kode, men HVOR?

skriv "bt"

eller link dit program med ElectricFence eller en anden malloc-debugger
for flere detaljer.

Mvh Morten


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *