Red Hat Bugzilla – Bug 48750
kdesktop dumps core on logout (sometimes)
Last modified: 2007-04-18 12:34:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
When logging off from KDE sometimes I get a coredump which gdb says
belongs to "kdeinit: kdesktop". It happens randomly and I haven't figured
out the cause.
Steps to Reproduce:
1. start kde
2. use it for some time
3. log off
Actual Results: Sometimes I get a coredump from kdeinit: kdesktop at the
time of logoff.
Expected Results: It shouldn't dump core.
Can't reproduce this; please attach a backtrace.
Same here. I find coredumps once in a while.
*** Bug 51430 has been marked as a duplicate of this bug. ***
I have a core file: see core-48750 in my home directory.
I'm having a similar problem with kdeinit, except it segfaults during normal
operations (usually slider moves or window moves), which locks up KDE entirely.
(ctl-alt-backspace does not kill the window manager, so a reboot is required.)
I already tried rebuilding kdebase from the source RPM on my host, but the
The stack trace from the last crash:
Core was generated by `kdeinit: kdesktop'.
Program terminated with signal 11, Segmentation fault.
#0 chunk_free (ar_ptr=0x40d7fa00, p=0x80799a8) at malloc.c:3180
#1 0x40ccbcd4 in __libc_free (mem=0x80799b0) at malloc.c:3154
#2 0x40c09236 in __builtin_delete (ptr=0x80799b0)
#3 0x4077675d in QObject::~QObject () from /usr/lib/qt-2.3.0/lib/libqt.so.2
#4 0x4053799e in KInstance::~KInstance () at eval.c:41
#5 0x404d2e05 in KApplication::~KApplication () at eval.c:41
#6 0x40566f99 in KUniqueApplication::~KUniqueApplication () at eval.c:41
#7 0x4116ce62 in main () from /usr/lib/kdesktop.so
#8 0x0804a49b in strcpy ()
#9 0x0804add1 in strcpy ()
#10 0x0804b2a6 in strcpy ()
#11 0x0804bff1 in strcpy ()
#12 0x40c67627 in __libc_start_main (main=0x804bc20 <strcpy+7972>, argc=2,
ubp_av=0xbffffb34, init=0x8049764 <_init>, fini=0x804c460 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffffb2c)
<sarcasm>I know, memory allocation problems with Qt. Shocking!</sarcasm>
Since "no core files" is now the default and kdeinit does not give a
"Segmentation fault" message I was fooled into thinking it was fixed, but no,
it happens in Red Hat 7.2, but now it happens after _every_ logout from KDE.