Bug 120615

Summary: [korganizer] add birthday resource crash
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jakub Friedl <jfriedl>
Component: KDEAssignee: Will Stephenson <wstephenson>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jakub Friedl 2005-10-06 12:28:29 UTC
KOrganizer (both as a Kontact module and standalone) crashes on me when I am
trying to add a new calendar (birthdays from KAddressbook). The calendar is
however added and it does work (birthdays are shown in KOrganizer after
relaunching). However when I open the birthday calendar source setting dialog,
KOrganizer crashes after pressing OK or Cancel in the dialog:

test@llyr:~> korganizer
test@llyr:~> QLayout::addChildLayout: layout already has a parent
*** glibc detected *** free(): invalid pointer: 0x0835d850 ***

test@llyr:~> kontact
test@llyr:~> QLayout::addChildLayout: layout already has a parent
*** glibc detected *** free(): invalid pointer: 0x087a5180 ***
*** KMail got signal 6 (Crashing)

This is SUSE Linux 10.0, but I have found exactly the same problem on a
different machine still running SUSE Linux 9.3.
Comment 1 Stephan Kulow 2005-10-06 12:31:56 UTC
well, backtrace? please install debug infos and call korganizer from gdb 
Comment 2 Jakub Friedl 2005-10-06 12:56:11 UTC
(no debugging symbols found)

Program exited normally.
(gdb) QLayout::addChildLayout: layout already has a parent
*** glibc detected *** free(): invalid pointer: 0x0835ad50 ***

(gdb) bt
No stack.


well, probably I did some mistake, I am not very experienced in debugging :)
Comment 3 Jakub Friedl 2005-10-07 11:15:13 UTC
(gdb) run
Starting program: /opt/kde3/bin/korganizer
[Thread debugging using libthread_db enabled]
[New Thread 1104076736 (LWP 5627)]

Program exited normally.
(gdb) QLayout::addChildLayout: layout already has a parent
*** glibc detected *** free(): invalid pointer: 0x0833be60 ***
bt
No stack.
(gdb)



can you reproduce the bug?
Comment 4 Will Stephenson 2005-10-07 11:31:54 UTC
Yes, investigating it now. 
Comment 5 Will Stephenson 2006-02-23 12:54:40 UTC
Fixed in KDE 3.5.1, missing resourceChanged() on reload, revision 474539.

Fix is in 10.1