Bug 154864

Summary: kalarm crashes on configuration if "xterm" is not installed
Product: [Applications] kalarm Reporter: Luka Renko <lure>
Component: generalAssignee: Till Adam <adam>
Status: CLOSED FIXED    
Severity: crash CC: adam, djarvie
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luka Renko 2007-12-30 16:16:41 UTC
Version:           1.4.19enterprise20071207 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages

kalarm from enterprise branch still crashes, as described in bug 152564
Simply go to Configure KAlarm and click OK. It does not crash if xterm is installed.

Please merge this bug fix into enterprise branch.

Stacktrace from Ubuntu Hardy (enterprise snapshot from 20071207):
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ade6c0 (LWP 7815)]
[KCrash handler]
#6 0xb5c1f8ac in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7 0xb6d5f0e7 in QString::mid (this=0xbfef2210, index=88, len=135751096)
    at tools/qstring.cpp:3603
#8 0x080e04f7 in translateXTermPath (config=0x81b5a88,
    cmdline=<value optimized out>, write=true)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/preferences.cpp:647
#9 0x080e2d40 in Preferences::save (syncToDisc=false)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/preferences.cpp:397
#10 0x080f0924 in MiscPrefTab::apply (this=0x82cff50, syncToDisc=16)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/prefdlg.cpp:493
#11 0x080edce5 in KAlarmPrefDlg::slotApply (this=0x82c3728)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/prefdlg.cpp:192
#12 0x080e4bfc in KAlarmPrefDlg::slotOk (this=0x82c3728)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/prefdlg.cpp:201
#13 0xb7492adb in KDialogBase::qt_invoke (this=0x82c3728, _id=74,
    _o=0xbfef2428) at ./kdialogbase.moc:359
#14 0x080e4ab4 in KAlarmPrefDlg::qt_invoke (this=0x82c3728, _id=74,
    _o=0xbfef2428) at ./prefdlg.moc:96
#15 0xb6a42e18 in QObject::activate_signal (this=0x82ccaf8, clist=0x82ccad0,
    o=0xbfef2428) at kernel/qobject.cpp:2356
#16 0xb6a438fd in QObject::activate_signal (this=0x82ccaf8, signal=4)
    at kernel/qobject.cpp:2325
#17 0xb6ddad5d in QButton::clicked (this=0x82ccaf8)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#18 0xb6ae089e in QButton::mouseReleaseEvent (this=0x82ccaf8, e=0xbfef2850)
    at widgets/qbutton.cpp:836
#19 0xb6a7953f in QWidget::event (this=0x82ccaf8, e=0xbfef2850)
    at kernel/qwidget.cpp:4702
#20 0xb69d734e in QApplication::internalNotify (this=0x818ae60,
    receiver=0x82ccaf8, e=0xbfef2850) at kernel/qapplication.cpp:2635
#21 0xb69d94fd in QApplication::notify (this=0x818ae60, receiver=0x82ccaf8,
    e=0xbfef2850) at kernel/qapplication.cpp:2421
#22 0xb71b54c2 in KApplication::notify (this=0x818ae60, receiver=0x82ccaf8,
    event=0xbfef2850)
    at /build/buildd/kdelibs-3.5.8/./kdecore/kapplication.cpp:550
#23 0xb69680ef in QApplication::sendSpontaneousEvent (receiver=0x82ccaf8,
    event=0xbfef2850) at kernel/qapplication.h:523
#24 0xb6966d7b in QETWidget::translateMouseEvent (this=0x82ccaf8,
    event=0xbfef2c98) at kernel/qapplication_x11.cpp:4303
#25 0xb6964f1d in QApplication::x11ProcessEvent (this=0x818ae60,
    event=0xbfef2c98) at kernel/qapplication_x11.cpp:3480
#26 0xb697c583 in QEventLoop::processEvents (this=0x81bdb28, flags=4)
    at kernel/qeventloop_x11.cpp:192
#27 0xb69f26a8 in QEventLoop::enterLoop (this=0x81bdb28)
    at kernel/qeventloop.cpp:198
#28 0xb69f23a6 in QEventLoop::exec (this=0x81bdb28)
    at kernel/qeventloop.cpp:145
#29 0xb69d8ef7 in QApplication::exec (this=0x818ae60)
    at kernel/qapplication.cpp:2758
#30 0x0807fdfd in main (argc=1, argv=)
    at /build/buildd/kdepim-3.5.7enterprise20071207/./kalarm/main.cpp:130
#31 0xb5bc2450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#32 0x08079e21 in _start ()
Comment 1 Luka Renko 2007-12-30 16:18:58 UTC
Adding Till to Cc as requested.
Comment 2 David Jarvie 2007-12-30 21:32:42 UTC
Reassigning to Till to incorporate the fix for bug 152564 - I don't maintain a build of the enterprise branch.
Comment 3 David Jarvie 2008-02-18 14:59:50 UTC
Fixed by SVN commit 765330.