Bug 172101 - KOrganizer crashes when switching to the month view
Summary: KOrganizer crashes when switching to the month view
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: monthview (show other bugs)
Version: 4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 19:42 UTC by k.hachmeister
Modified: 2008-12-06 14:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k.hachmeister 2008-10-03 19:42:20 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Switching to the month view results in a crah of KOrganizer. The Message in the Console is:

QLayout: Attempting to add QLayout "" to KOMonthView "", which already has a layout
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = korganizer path = <unknown> pid = 21517
sock_file=/home/karsten/.kde4/socket-Frodo/kdeinit4__0

The CrashManager gives me:

Anwendung: KOrganizer (korganizer), Signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb700d6c0 (LWP 21517)]
[KCrash handler]
#6  QObject::setObjectName (this=)
    at ../../include/QtCore/../../src/corelib/kernel/qobject.h:119
#7  0xb7e70a9a in ?? () from /usr/lib/kde4/lib/libkorganizerprivate.so.4
#8  0xb7e71a50 in ?? () from /usr/lib/kde4/lib/libkorganizerprivate.so.4
#9  0x46a18f79 in QMetaObject::activate (sender=<value optimized out>, 
    from_signal_index=<value optimized out>, 
    to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3016
#10 0x46a193b0 in QMetaObject::activate (sender=<value optimized out>, 
    m=<value optimized out>, from_local_signal_index=<value optimized out>, 
    to_local_signal_index=<value optimized out>, argv=)
    at kernel/qobject.cpp:3106
#11 0x480eb291 in QAction::triggered (this=)
    at .moc/release-shared/moc_qaction.cpp:216
#12 0x480ebc6f in QAction::activate (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qaction.cpp:1119
#13 0x48511222 in QToolButton::nextCheckState (this=<value optimized out>)
    at ../../include/QtGui/../../src/gui/kernel/qaction.h:201
#14 0x48437edf in QAbstractButtonPrivate::click (this=<value optimized out>)
    at widgets/qabstractbutton.cpp:526
#15 0x4843817b in QAbstractButton::mouseReleaseEvent (
    this=<value optimized out>, e=<value optimized out>)
    at widgets/qabstractbutton.cpp:1116
#16 0x4851131c in QToolButton::mouseReleaseEvent (this=)
    at widgets/qtoolbutton.cpp:675
#17 0x48149e84 in QWidget::event (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qwidget.cpp:7021
#18 0x48436c7f in QAbstractButton::event (this=<value optimized out>, 
    e=<value optimized out>) at widgets/qabstractbutton.cpp:1078
#19 0x48510bf4 in QToolButton::event (this=) at widgets/qtoolbutton.cpp:1105
#20 0x480f20dc in QApplicationPrivate::notify_helper (
    this=<value optimized out>, receiver=<value optimized out>, 
    e=<value optimized out>) at kernel/qapplication.cpp:3800
#21 0x480f7265 in QApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, e=<value optimized out>)
    at kernel/qapplication.cpp:3527
#22 0xb7aa2483 in KApplication::notify (this=0xbf85da10, receiver=0x834c8f0, 
    event=0xbf85d25c)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#23 0x46a040b9 in QCoreApplication::notifyInternal (
    this=<value optimized out>, receiver=<value optimized out>, 
    event=<value optimized out>) at kernel/qcoreapplication.cpp:591
#24 0x480f47a1 in QApplicationPrivate::sendMouseEvent (
    receiver=<value optimized out>, event=<value optimized out>, 
    alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 0x4815e66d in QETWidget::translateMouseEvent (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4048
#26 0x4815d021 in QApplication::x11ProcessEvent (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:3166
#27 0x48185d6a in x11EventSourceDispatch (s=<value optimized out>, 
    callback=<value optimized out>, user_data=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:148
#28 0x467fecc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x46802083 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x4680263e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x46a2f9f8 in QEventDispatcherGlib::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:325
#32 0x48185b65 in QGuiEventDispatcherGlib::processEvents (this=)
    at kernel/qguieventdispatcher_glib.cpp:204
#33 0x46a0333d in QEventLoop::processEvents (this=<value optimized out>, 
    flags=<value optimized out>) at kernel/qeventloop.cpp:149
#34 0x46a034cd in QEventLoop::exec (this=<value optimized out>, 
    flags=<value optimized out>) at kernel/qeventloop.cpp:200
#35 0x46a0574d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#36 0x480f19d7 in QApplication::exec () at kernel/qapplication.cpp:3330
#37 0x0804e925 in _start ()
#0  0xb7f62410 in __kernel_vsyscall ()
Comment 1 k.hachmeister 2008-10-03 20:22:43 UTC
I looked further into this issue and saw that there are two actions for the month view: "view_month" and "view_oldmonth"

I rearranged the icons in the toolbar and used the "view_oldmonth" as month view. Can't see a different for the icons when rearranging them, both are titled "Month".

If you switch to another view than the month view, closing KOrganizer and after that starting KOrganizer and switch directly to "view_oldmonth" KOrganizer crashes.

Switching after starting first to the "view_month" and then to "view_oldmonth" works, but gives a different look.
Comment 2 Christophe Marin 2008-12-06 14:52:21 UTC
This issue is now fixed.