From kde-core-devel Tue Jul 06 07:13:44 1999 From: Waldo Bastian Date: Tue, 06 Jul 1999 07:13:44 +0000 To: kde-core-devel Subject: Re: stupid debug error. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93124540732612 Cristian Tibirna wrote: > > Hi > > kcontrol segfaults on a heck of a iconloader use at > (gdb) back > #0 chunk_alloc (ar_ptr=0x407a1580, nb=24) at malloc.c:2777 > #1 0x40710b8a in __libc_malloc (bytes=20) at malloc.c:2616 > #2 0x4068c006 in __builtin_new (sz=20) > #3 0x4034a28f in QString::QString () > #4 0x401ac9a1 in KIconLoader::loadInternal () > #5 0x401ac24a in KIconLoader::loadIcon () > #6 0x8052aa0 in mainWidget::mainWidget () > #7 0x8051d28 in TopLevel::TopLevel () > #8 0x80514de in standalone () > #9 0x805178c in main () > #10 0x406d0cb3 in __libc_start_main (main=0x8051578
, argc=1, > argv=0xbffff8d4, init=0x804db70 <_init>, fini=0x8053c20 <_fini>, > rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff8cc) > at ../sysdeps/generic/libc-start.c:78 > (gdb) > > Cristian It crashes in malloc which means that you have screwed up (somewhere else) your memory administration. Electric Fence (libefence) is a nice way to find these errors. Don't know if it works with KDE apps though. Cheers, Waldo -- KDE, A New Millennium, A New Desktop http://www.kde.org