Hi,
Does anyone know of a tool to check memory like memcheck86 does?
The reason I'm asking is that suddenly apt-cache once a while segfaults
out of the blue and I am getting weird spike noises when I'm playing
music. Maybe there's something else behind this, but I'd like to check
the memory.
johannes
For the interested, here's an apt-cache backtrace:
Starting program: /usr/bin/apt-cache search junk
Program received signal SIGSEGV, Segmentation fault.
0x100099a4 in Search (CmdL=@0x7ffff520) at cacheiterators.h:111
111 inline bool end() const {return Ver == Owner->VerP?true:false;};
(gdb) bt full
#0 0x100099a4 in Search (CmdL=@0x7ffff520) at cacheiterators.h:111
I = 1
V = {Ver = 0x425e7414, Owner = 0xc45da}
Cache = (class pkgCache &) @0x7ffff880: {_vptr.pkgCache = 0x1001fbe8, CacheFile = {static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> = {<No data fields>}, _M_p = 0x1001fc4c ""}, static _S_empty_rep_storage = {0, 0, 0, 0}},
Map = @0x10038a98, HeaderP = 0x30186008, PkgP = 0x30186008, VerFileP = 0x30186008, PkgFileP = 0x30186008, VerP = 0x30186008,
ProvideP = 0x30186008, DepP = 0x30186008, StringItemP = 0x30186008, StrP = 0x30186008 "\230.v.", VS = 0xffee298}
ShowFull = false
NamesOnly = false
NumPatterns = 1
Plcy = <incomplete type>
Patterns = (regex_t *) 0x10038a08
Recs = {Cache = @0x7ffff880, Files = 0x1003b4c0}
VFList = (ExVerFile *) 0x30d87008
#1 0x0ff795dc in CommandLine::DispatchArg (this=0x7ffff880, Map=0x1, NoMatch=false) at contrib/cmndline.cc:340
Res = 16
I = 2147480848
#2 0x0ff795dc in CommandLine::DispatchArg (this=0x7ffff880, Map=0x1, NoMatch=false) at contrib/cmndline.cc:340
Res = 16
I = 2147480848
#3 0x0ff795dc in CommandLine::DispatchArg (this=0x7ffff880, Map=0x1, NoMatch=false) at contrib/cmndline.cc:340
Res = 16
I = 2147480848
#4 0x0ff795dc in CommandLine::DispatchArg (this=0x7ffff880, Map=0x1, NoMatch=false) at contrib/cmndline.cc:340
Res = 16
I = 2147480848
Attachment:
signature.asc
Description: This is a digitally signed message part