Bug 160850 - Print day always crashes
Summary: Print day always crashes
Status: RESOLVED DUPLICATE of bug 160260
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-04-15 09:02 UTC by Alexander Stein
Modified: 2008-09-28 20:31 UTC (History)
2 users (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 Alexander Stein 2008-04-15 09:02:39 UTC
Version:            (using KDE 3.5.9)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

If I rightclick on an entry and choose to print, select 'Print day', click on 'Print...' and finally 'Print' all crashes, no matter what printer I selected. This is also independently from the amount of entrys in the selected day.

I can repeat it every time.

Backtrace (snipped repeating lines):
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[...]
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x2b7f1384b670 (LWP 9014)]
[New Thread 0x42003950 (LWP 9022)]
[New Thread 0x41802950 (LWP 9021)]
[New Thread 0x41001950 (LWP 9020)]
[New Thread 0x40800950 (LWP 9019)]
(no debugging symbols found)
[...]
(no debugging symbols found)
[KCrash handler]
#5  0x00002b7f0a79a0be in KCal::Calendar::events ()
   from /usr/kde/3.5/lib64/libkcal.so.2
#6  0x00002b7f172e5bd6 in CalPrintDay::print ()
   from /usr/kde/3.5/lib64/libkorg_stdprinting.so.1
#7  0x00002b7f172e8643 in CalPrintPluginBase::doPrint ()
   from /usr/kde/3.5/lib64/libkorg_stdprinting.so.1
#8  0x00002b7f172e9782 in CalPrinter::doPrint ()
   from /usr/kde/3.5/lib64/libkorg_stdprinting.so.1
#9  0x00002b7f172e9b39 in CalPrinter::print ()
   from /usr/kde/3.5/lib64/libkorg_stdprinting.so.1
#10 0x00002b7f15fa2bc3 in KOEventPopupMenu::print ()
   from /usr/kde/3.5/lib64/libkorganizer.so.1
#11 0x00002b7f15fac27e in KOEventPopupMenu::qt_invoke ()
   from /usr/kde/3.5/lib64/libkorganizer.so.1
#12 0x00002b7f0f8c824c in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#13 0x00002b7f0fba7a5c in QSignal::signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#14 0x00002b7f0f8e0c45 in QSignal::activate ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x00002b7f0f9b4f55 in QPopupMenu::mouseReleaseEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x00002b7f0f8fa2f6 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3
#17 0x00002b7f0f871cb5 in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#18 0x00002b7f0f872aa1 in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#19 0x00002b7f0e5ce41a in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#20 0x00002b7f0f81b53d in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#21 0x00002b7f0f819dc1 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#22 0x00002b7f0f828b7f in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#23 0x00002b7f0f886402 in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#24 0x00002b7f0f8862b2 in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#25 0x00000000004286b3 in ?? ()
#26 0x00002b7f13523b74 in __libc_start_main () from /lib/libc.so.6
#27 0x0000000000418139 in ?? ()
#28 0x00007fffa0bd3a78 in ?? ()
#29 0x0000000000000000 in ?? ()
Comment 1 Michael Leupold 2008-09-28 12:19:12 UTC
I can reproduce this in trunk r865573. This might be related to bug 160260.
Comment 2 George Goldberg 2008-09-28 20:25:45 UTC
Tested with svn trunk r865619. Crashed with following backtrace:

Application: KOrganizer (korganizer), signal SIGSEGV
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 47544308782464 (LWP 18485)]
[New Thread 1090525520 (LWP 18641)]
[New Thread 1082132816 (LWP 18640)]
0x00002b3dbdb91091 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (LWP 18485)]

Thread 3 (Thread 1082132816 (LWP 18640)):
#0  0x00002b3dba6a5719 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002b3dba26fea3 in QWaitConditionPrivate::wait (this=0x1308980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:89
#2  0x00002b3dba26fa02 in QWaitCondition::wait (this=0x13082a8, mutex=0x13082a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:161
#3  0x00002b3dbb719abc in QFileInfoGatherer::run (this=0x1308290) at dialogs/qfileinfogatherer.cpp:197
#4  0x00002b3dba26f52d in QThreadPrivate::start (arg=0x1308290) at thread/qthread_unix.cpp:191
#5  0x00002b3dba6a13e0 in start_thread () from /lib64/libpthread.so.0
#6  0x00002b3dbdbca87d in clone () from /lib64/libc.so.6

Thread 2 (Thread 1090525520 (LWP 18641)):
#0  0x00002b3dba6a332a in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00002b3dc0c46f4c in KMainWindow::setCaption () at /home/george/kde/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:525
#2  0x00002b3dc0c475df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00002b3dba394b6a in QEventDispatcherGlib::processEvents (this=0x1316400, flags=@0x41000f40) at kernel/qeventdispatcher_glib.cpp:327
#4  0x00002b3dba3624d4 in QEventLoop::processEvents (this=0x41000ff0, flags=@0x41000fa0) at kernel/qeventloop.cpp:149
#5  0x00002b3dba3626d0 in QEventLoop::exec (this=0x41000ff0, flags=@0x41001000) at kernel/qeventloop.cpp:196
#6  0x00002b3dba26b6aa in QThread::exec (this=0x1313410) at thread/qthread.cpp:472
#7  0x00002b3dba34a0bf in QInotifyFileSystemWatcherEngine::run (this=0x1313410) at io/qfilesystemwatcher_inotify.cpp:216
#8  0x00002b3dba26f52d in QThreadPrivate::start (arg=0x1313410) at thread/qthread_unix.cpp:191
#9  0x00002b3dba6a13e0 in start_thread () from /lib64/libpthread.so.0
#10 0x00002b3dbdbca87d in clone () from /lib64/libc.so.6

Thread 1 (Thread 47544308782464 (LWP 18485)):
[KCrash Handler]
#5  0x00002b3dbc23d455 in KCal::Calendar::events (this=0x0, date=@0x7ffff2b468a0, timespec=@0x7ffff2b46890, sortField=KCal::EventSortStartDate, sortDirection=KCal::SortDirectionAscending)
    at /home/george/kde/src/KDE/kdepimlibs/kcal/calendar.cpp:386
#6  0x00002b3dc3099b21 in CalPrintDay::print (this=0xdb3d50, p=@0x7ffff2b46960, width=767, height=1114) at /home/george/kde/src/KDE/kdepim/korganizer/printing/calprintdefaultplugins.cpp:750
#7  0x00002b3dc3090b81 in CalPrintPluginBase::doPrint (this=0xdb3d50, printer=0x7ffff2b46a40) at /home/george/kde/src/KDE/kdepim/korganizer/printing/calprintpluginbase.cpp:157
#8  0x00002b3dc308625f in CalPrinter::doPrint (this=0x7ffff2b46c20, selectedStyle=0xdb3d50, dlgorientation=CalPrinter::eOrientPrinter, preview=false)
    at /home/george/kde/src/KDE/kdepim/korganizer/printing/calprinter.cpp:163
#9  0x00002b3dc308652b in CalPrinter::print (this=0x7ffff2b46c20, type=100, fd=@0xd76850, td=@0xd76850, selectedIncidences=@0x7ffff2b46c80, preview=false)
    at /home/george/kde/src/KDE/kdepim/korganizer/printing/calprinter.cpp:123
#10 0x00002b3dbc67d090 in KOEventPopupMenu::print (this=0xd76820) at /home/george/kde/src/KDE/kdepim/korganizer/koeventpopupmenu.cpp:135
#11 0x00002b3dbc67ed3d in KOEventPopupMenu::qt_metacall (this=0xd76820, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffff2b46e20)
    at /home/george/kde/build/KDE/kdepim/korganizer/koeventpopupmenu.moc:118
#12 0x00002b3dba37bc3f in QMetaObject::activate (sender=0xb78c50, from_signal_index=5, to_signal_index=6, argv=0x7ffff2b46e20) at kernel/qobject.cpp:3020
#13 0x00002b3dba37be6b in QMetaObject::activate (sender=0xb78c50, m=0x2b3dbbc73fc0, from_local_signal_index=1, to_local_signal_index=2, argv=0x7ffff2b46e20) at kernel/qobject.cpp:3115
#14 0x00002b3dbb23beeb in QAction::triggered (this=0xb78c50, _t1=false) at .moc/debug-shared/moc_qaction.cpp:221
#15 0x00002b3dbb23dafc in QAction::activate (this=0xb78c50, event=QAction::Trigger) at kernel/qaction.cpp:1151
#16 0x00002b3dbb659c48 in QMenuPrivate::activateAction (this=0xdbd8b0, action=0xb78c50, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1012
#17 0x00002b3dbb65c576 in QMenu::mouseReleaseEvent (this=0xd76820, e=0x7ffff2b47ab0) at widgets/qmenu.cpp:2179
#18 0x00002b3dbb29ef36 in QWidget::event (this=0xd76820, event=0x7ffff2b47ab0) at kernel/qwidget.cpp:7202
#19 0x00002b3dbb657993 in QMenu::event (this=0xd76820, e=0x7ffff2b47ab0) at widgets/qmenu.cpp:2277
#20 0x00002b3dbb243bc7 in QApplicationPrivate::notify_helper (this=0x641210, receiver=0xd76820, e=0x7ffff2b47ab0) at kernel/qapplication.cpp:3886
#21 0x00002b3dbb24492f in QApplication::notify (this=0x7ffff2b48a60, receiver=0xd76820, e=0x7ffff2b47ab0) at kernel/qapplication.cpp:3588
#22 0x00002b3db8eeaf38 in KApplication::notify (this=0x7ffff2b48a60, receiver=0xd76820, event=0x7ffff2b47ab0) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#23 0x00002b3dba36551c in QCoreApplication::notifyInternal (this=0x7ffff2b48a60, receiver=0xd76820, event=0x7ffff2b47ab0) at kernel/qcoreapplication.cpp:589
#24 0x00002b3dbb250033 in QCoreApplication::sendSpontaneousEvent (receiver=0xd76820, event=0x7ffff2b47ab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 0x00002b3dbb2486eb in QApplicationPrivate::sendMouseEvent (receiver=0xd76820, event=0x7ffff2b47ab0, alienWidget=0x0, nativeWidget=0xd76820, buttonDown=0x2b3dbbcaf778, 
    lastMouseReceiver=@0x2b3dbbcaf780) at kernel/qapplication.cpp:2806
#26 0x00002b3dbb2beba3 in QETWidget::translateMouseEvent (this=0xd76820, event=0x7ffff2b48640) at kernel/qapplication_x11.cpp:4169
#27 0x00002b3dbb2bc7b8 in QApplication::x11ProcessEvent (this=0x7ffff2b48a60, event=0x7ffff2b48640) at kernel/qapplication_x11.cpp:3232
#28 0x00002b3dbb2e8c2f in x11EventSourceDispatch (s=0x644780, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x00002b3dc0c43e92 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00002b3dc0c47146 in KMainWindow::setCaption () at /home/george/kde/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:525
#31 0x00002b3dc0c475df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00002b3dba394b4c in QEventDispatcherGlib::processEvents (this=0x623740, flags=@0x7ffff2b488e0) at kernel/qeventdispatcher_glib.cpp:325
#33 0x00002b3dbb2e8477 in QGuiEventDispatcherGlib::processEvents (this=0x623740, flags=@0x7ffff2b48940) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00002b3dba3624d4 in QEventLoop::processEvents (this=0x7ffff2b489f0, flags=@0x7ffff2b489a0) at kernel/qeventloop.cpp:149
#35 0x00002b3dba3626d0 in QEventLoop::exec (this=0x7ffff2b489f0, flags=@0x7ffff2b48a00) at kernel/qeventloop.cpp:196
#36 0x00002b3dba365d7c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:862
#37 0x00002b3dbb243928 in QApplication::exec () at kernel/qapplication.cpp:3361
#38 0x000000000040a9d4 in main (argc=1, argv=0x7ffff2b48c18) at /home/george/kde/src/KDE/kdepim/korganizer/main.cpp:58

Comment 3 George Goldberg 2008-09-28 20:31:02 UTC

*** This bug has been marked as a duplicate of bug 160260 ***