[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: stupid debug error.
From: Waldo Bastian <bastian () ens ! ascom ! ch>
Date: 1999-07-06 7:13:44
[Download RAW message or body]
Cristian Tibirna wrote:
>
> Hi
>
> kcontrol segfaults on a heck of a iconloader use at
> (gdb) back
> #0 chunk_alloc (ar_ptr=0x407a1580, nb$) at malloc.c:2777
> #1 0x40710b8a in __libc_malloc (bytes ) at malloc.c:2616
> #2 0x4068c006 in __builtin_new (sz )
> #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 <main>, 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic