Version: 2.4.2 (using KDE 4.4.1) OS: Linux I was working on bug 229383. Mean time I was searching for shortcuts then I followed menu Setting-> Configure Shortcuts then I saw completes list of shortcuts.With the print option I tried to print in a pdf file, but it doesn't and konsole crashes with unexpected error with giving this crash information: Application: Konsole (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0xb78b2aa0 (LWP 5167))] Thread 4 (Thread 0xb22e7b70 (LWP 5184)): #0 0x00e87e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1 #1 0x011246fb in qt_gettime () at kernel/qcore_unix.cpp:111 #2 0x01129825 in QTimerInfoList::updateCurrentTime (this=0xb1901834) at kernel/qeventdispatcher_unix.cpp:340 #3 0x0112986a in QTimerInfoList::timerWait (this=0xb1901834, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0x01127818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb22e70cc) at kernel/qeventdispatcher_glib.cpp:136 #5 0x011278a5 in timerSourcePrepare (source=0x0, timeout=0xe8bff4) at kernel/qeventdispatcher_glib.cpp:169 #6 0x05f47aca in g_main_context_prepare () from /lib/libglib-2.0.so.0 #7 0x05f47ee9 in ?? () from /lib/libglib-2.0.so.0 #8 0x05f484b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #9 0x0112760f in QEventDispatcherGlib::processEvents (this=0xb1900468, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #10 0x010fa059 in QEventLoop::processEvents (this=0xb22e7290, flags=) at kernel/qeventloop.cpp:149 #11 0x010fa4aa in QEventLoop::exec (this=0xb22e7290, flags=...) at kernel/qeventloop.cpp:201 #12 0x00ff65a8 in QThread::exec (this=0x8460388) at thread/qthread.cpp:487 #13 0x010d9c1b in QInotifyFileSystemWatcherEngine::run (this=0x8460388) at io/qfilesystemwatcher_inotify.cpp:248 #14 0x00ff932e in QThreadPrivate::start (arg=0x8460388) at thread/qthread_unix.cpp:248 #15 0x00ea896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #16 0x012dea4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xb18ffb70 (LWP 5189)): #0 0x00616422 in __kernel_vsyscall () #1 0x00ead015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x00ffa287 in QWaitConditionPrivate::wait (this=0x87ebce8, mutex=0x87ebce4, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 QWaitCondition::wait (this=0x87ebce8, mutex=0x87ebce4, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x037a4d52 in QFileInfoGatherer::run (this=0x87ebcdc) at dialogs/qfileinfogatherer.cpp:203 #5 0x00ff932e in QThreadPrivate::start (arg=0x87ebcdc) at thread/qthread_unix.cpp:248 #6 0x00ea896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x012dea4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xb0f46b70 (LWP 5190)): #0 0x00616422 in __kernel_vsyscall () #1 0x012d0b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x05f554eb in g_poll () from /lib/libglib-2.0.so.0 #3 0x05f480ac in ?? () from /lib/libglib-2.0.so.0 #4 0x05f484b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x0112760f in QEventDispatcherGlib::processEvents (this=0x87d38f8, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #6 0x010fa059 in QEventLoop::processEvents (this=0xb0f46290, flags=) at kernel/qeventloop.cpp:149 #7 0x010fa4aa in QEventLoop::exec (this=0xb0f46290, flags=...) at kernel/qeventloop.cpp:201 #8 0x00ff65a8 in QThread::exec (this=0x87ebb38) at thread/qthread.cpp:487 #9 0x010d9c1b in QInotifyFileSystemWatcherEngine::run (this=0x87ebb38) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00ff932e in QThreadPrivate::start (arg=0x87ebb38) at thread/qthread_unix.cpp:248 #11 0x00ea896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #12 0x012dea4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb78b2aa0 (LWP 5167)): [KCrash Handler] #6 convertPath (path=<value optimized out>, points=<value optimized out>, endPoints=0xbfb98d3c, ppem=2048) at text/qfontsubset.cpp:1061 #7 0x0347ef3a in generateGlyph (this=0x892cda0) at text/qfontsubset.cpp:1201 #8 QFontSubset::toTruetype (this=0x892cda0) at text/qfontsubset.cpp:1442 #9 0x033cc35d in QPdfEnginePrivate::embedFont (this=0x87c1b70, font=0x892cda0) at painting/qprintengine_pdf.cpp:993 #10 0x033cceff in QPdfEnginePrivate::writeFonts (this=0x87c1b70) at painting/qprintengine_pdf.cpp:1104 #11 0x033cd0a7 in QPdfEnginePrivate::writeTail (this=0x87c1b70) at painting/qprintengine_pdf.cpp:1197 #12 0x033cd218 in QPdfEngine::end (this=0x87bea00) at painting/qprintengine_pdf.cpp:159 #13 0x03395818 in QPainter::end (this=0xbfb9918c) at painting/qpainter.cpp:1935 #14 0x03396530 in ~QPainter (this=0xbfb9918c, __in_chrg=<value optimized out>) at painting/qpainter.cpp:1490 #15 0x034d055a in QTextDocument::print (this=0xbfb99400, printer=0xbfb9932c) at text/qtextdocument.cpp:1812 #16 0x00784a91 in KShortcutsEditorPrivate::printShortcuts (this=0x86c4be0) at ../../kdeui/dialogs/kshortcutseditor.cpp:716 #17 0x00784b5b in KShortcutsEditor::qt_metacall (this=0x86baf70, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfb9958c) at ./kshortcutseditor.moc:84 #18 0x01100c9a in QMetaObject::metacall (object=0x86baf70, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfb9958c) at kernel/qmetaobject.cpp:237 #19 0x0110f3d5 in QMetaObject::activate (sender=0xbfb9a924, m=0x9b9b04, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3293 #20 0x00755ee7 in KDialog::user1Clicked (this=0xbfb9a924) at ./kdialog.moc:240 #21 0x0075826e in KDialog::slotButtonClicked (this=0xbfb9a924, button=4096) at ../../kdeui/dialogs/kdialog.cpp:878 #22 0x0075a559 in KDialog::qt_metacall (this=0xbfb9a924, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfb99778) at ./kdialog.moc:190 #23 0x00789efa in KShortcutsDialog::qt_metacall (this=0xbfb9a924, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfb99778) at ./kshortcutsdialog.moc:74 #24 0x01100c9a in QMetaObject::metacall (object=0xbfb9a924, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbfb99778) at kernel/qmetaobject.cpp:237 #25 0x0110f3d5 in QMetaObject::activate (sender=0x86a4c08, m=0x120e0f8, local_signal_index=0, argv=0xbfb99778) at kernel/qobject.cpp:3293 #26 0x01114b13 in QSignalMapper::mapped (this=0x86a4c08, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:101 #27 0x01115d8d in QSignalMapper::map (this=0x86a4c08, sender=0x86b52f0) at kernel/qsignalmapper.cpp:266 #28 0x01115f6e in QSignalMapper::map (this=0x86a4c08) at kernel/qsignalmapper.cpp:257 #29 0x0111603b in QSignalMapper::qt_metacall (this=0x86a4c08, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb99918) at .moc/release-shared/moc_qsignalmapper.cpp:87 #30 0x01100c9a in QMetaObject::metacall (object=0x86a4c08, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfb99918) at kernel/qmetaobject.cpp:237 #31 0x0110f3d5 in QMetaObject::activate (sender=0x86b52f0, m=0x3b608c4, local_signal_index=2, argv=0xbfb99918) at kernel/qobject.cpp:3293 #32 0x03950479 in QAbstractButton::clicked (this=0x86b52f0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206 #33 0x0362fea9 in QAbstractButtonPrivate::emitClicked (this=0x86b8388) at widgets/qabstractbutton.cpp:546 #34 0x03630cf4 in QAbstractButtonPrivate::click (this=0x86b8388) at widgets/qabstractbutton.cpp:539 #35 0x03630fae in QAbstractButton::mouseReleaseEvent (this=0x86b52f0, e=0xbfb9a050) at widgets/qabstractbutton.cpp:1121 #36 0x032837f8 in QWidget::event (this=0x86b52f0, event=0xbfb9a050) at kernel/qwidget.cpp:7998 #37 0x0362fd4e in QAbstractButton::event (this=0x86b52f0, e=0x80532e4) at widgets/qabstractbutton.cpp:1080 #38 0x036da1f2 in QPushButton::event (this=0x86b52f0, e=0xbfb9a050) at widgets/qpushbutton.cpp:679 #39 0x032254dc in QApplicationPrivate::notify_helper (this=0x8322878, receiver=0x86b52f0, e=0xbfb9a050) at kernel/qapplication.cpp:4300 #40 0x0322c9f7 in QApplication::notify (this=0xbfb9bc34, receiver=0x86b52f0, e=0xbfb9a050) at kernel/qapplication.cpp:3865 #41 0x007f6f2a in KApplication::notify (this=0xbfb9bc34, receiver=0x86b52f0, event=0xbfb9a050) at ../../kdeui/kernel/kapplication.cpp:302 #42 0x010fba3b in QCoreApplication::notifyInternal (this=0xbfb9bc34, receiver=0x86b52f0, event=0xbfb9a050) at kernel/qcoreapplication.cpp:704 #43 0x0322b952 in QCoreApplication::sendEvent (receiver=0x86b52f0, event=0xbfb9a050, alienWidget=0x86b52f0, nativeWidget=0xbfb9a924, buttonDown=0x3b69058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #44 QApplicationPrivate::sendMouseEvent (receiver=0x86b52f0, event=0xbfb9a050, alienWidget=0x86b52f0, nativeWidget=0xbfb9a924, buttonDown=0x3b69058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #45 0x032b7088 in QETWidget::translateMouseEvent (this=0xbfb9a924, event=0xbfb9a56c) at kernel/qapplication_x11.cpp:4368 #46 0x032b6511 in QApplication::x11ProcessEvent (this=0xbfb9bc34, event=0xbfb9a56c) at kernel/qapplication_x11.cpp:3379 #47 0x032e560a in x11EventSourceDispatch (s=0x8325800, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #48 0x05f445e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #49 0x05f482d8 in ?? () from /lib/libglib-2.0.so.0 #50 0x05f484b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #51 0x011275d5 in QEventDispatcherGlib::processEvents (this=0x83224a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #52 0x032e5135 in QGuiEventDispatcherGlib::processEvents (this=0x83224a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #53 0x010fa059 in QEventLoop::processEvents (this=0xbfb9a860, flags=) at kernel/qeventloop.cpp:149 #54 0x010fa4aa in QEventLoop::exec (this=0xbfb9a860, flags=...) at kernel/qeventloop.cpp:201 #55 0x037644f3 in QDialog::exec (this=0xbfb9a924) at dialogs/qdialog.cpp:546 #56 0x00789ce8 in KShortcutsDialog::configure (this=0xbfb9a924, saveSettings=true) at ../../kdeui/dialogs/kshortcutsdialog.cpp:173 #57 0x0764d088 in Konsole::MainWindow::showShortcutsDialog (this=0x83a5580) at ../../../../apps/konsole/src/MainWindow.cpp:436 #58 0x0764d76b in Konsole::MainWindow::qt_metacall (this=0x83a5580, _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfb9aae8) at ./MainWindow.moc:115 #59 0x01100c9a in QMetaObject::metacall (object=0x83a5580, cl=QMetaObject::InvokeMetaMethod, idx=54, argv=0xbfb9aae8) at kernel/qmetaobject.cpp:237 #60 0x0110f3d5 in QMetaObject::activate (sender=0x83ae0d8, m=0x3b4dd58, local_signal_index=1, argv=0xbfb9aae8) at kernel/qobject.cpp:3293 #61 0x0321ebd9 in QAction::triggered (this=0x83ae0d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #62 0x03220dcc in QAction::activate (this=0x83ae0d8, event=QAction::Trigger) at kernel/qaction.cpp:1255 #63 0x036c460c in QMenuPrivate::activateCausedStack (this=0x83c9c70, causedStack=..., action=0x83ae0d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011 #64 0x036caabb in QMenuPrivate::activateAction (this=0x83c9c70, action=0x83ae0d8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103 #65 0x036cbac7 in QMenu::mouseReleaseEvent (this=0x83af8c8, e=0xbfb9b380) at widgets/qmenu.cpp:2312 #66 0x008ecf65 in KMenu::mouseReleaseEvent (this=0x83af8c8, e=0xbfb9b380) at ../../kdeui/widgets/kmenu.cpp:471 #67 0x032837f8 in QWidget::event (this=0x83af8c8, event=0xbfb9b380) at kernel/qwidget.cpp:7998 #68 0x036cd0cc in QMenu::event (this=0x83af8c8, e=0xbfb9b380) at widgets/qmenu.cpp:2414 #69 0x032254dc in QApplicationPrivate::notify_helper (this=0x8322878, receiver=0x83af8c8, e=0xbfb9b380) at kernel/qapplication.cpp:4300 #70 0x0322c9f7 in QApplication::notify (this=0xbfb9bc34, receiver=0x83af8c8, e=0xbfb9b380) at kernel/qapplication.cpp:3865 #71 0x007f6f2a in KApplication::notify (this=0xbfb9bc34, receiver=0x83af8c8, event=0xbfb9b380) at ../../kdeui/kernel/kapplication.cpp:302 #72 0x010fba3b in QCoreApplication::notifyInternal (this=0xbfb9bc34, receiver=0x83af8c8, event=0xbfb9b380) at kernel/qcoreapplication.cpp:704 #73 0x0322b952 in QCoreApplication::sendEvent (receiver=0x83af8c8, event=0xbfb9b380, alienWidget=0x0, nativeWidget=0x83af8c8, buttonDown=0x3b69058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #74 QApplicationPrivate::sendMouseEvent (receiver=0x83af8c8, event=0xbfb9b380, alienWidget=0x0, nativeWidget=0x83af8c8, buttonDown=0x3b69058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #75 0x032b75cf in QETWidget::translateMouseEvent (this=0x83af8c8, event=0xbfb9b89c) at kernel/qapplication_x11.cpp:4302 #76 0x032b6511 in QApplication::x11ProcessEvent (this=0xbfb9bc34, event=0xbfb9b89c) at kernel/qapplication_x11.cpp:3379 #77 0x032e560a in x11EventSourceDispatch (s=0x8325800, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #78 0x05f445e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #79 0x05f482d8 in ?? () from /lib/libglib-2.0.so.0 #80 0x05f484b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #81 0x011275d5 in QEventDispatcherGlib::processEvents (this=0x83224a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #82 0x032e5135 in QGuiEventDispatcherGlib::processEvents (this=0x83224a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #83 0x010fa059 in QEventLoop::processEvents (this=0xbfb9bb94, flags=) at kernel/qeventloop.cpp:149 #84 0x010fa4aa in QEventLoop::exec (this=0xbfb9bb94, flags=...) at kernel/qeventloop.cpp:201 #85 0x010fe69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #86 0x03225577 in QApplication::exec () at kernel/qapplication.cpp:3579 #87 0x0765123b in kdemain (argc=1, argv=0x83056d0) at ../../../../apps/konsole/src/main.cpp:77 #88 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x8301001 "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8301012 "tarunyadav-laptop;1277986496;822895;1966_TIME7527624") at ../../kinit/kinit.cpp:717 #89 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209 #90 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402 #91 0x0804fe4f in main (argc=4, argv=0xbfb9c624, envp=0xbfb9c638) at ../../kinit/kinit.cpp:1845 I tried several times but each times the same thing happens. Reproducible: Always Steps to Reproduce: 1. open Konsole 2. go to top menu then go to Setting 3. click on configure shortcuts 4. at the bottom of new window there is a "print" button, click on it. 5. selcet pdf option for print and then click on "Print" Actual Results: Konsole trashes and bug comes. Expected Results: konsole must print the file in pdf format to destination path.as we did to print html page in web browser. 3 GB RAM, 320 HDD
I was working on 229384
(In reply to comment #1) > I was working on bug 229384
It works here on trunk. Did you select any print options or just hit Print after opening window?
it works for printing .ps file but crashes for .pdf option.
I cannot reproduce here on KDE trunk - Mandriva Linux Cooker on a P4-2.4GHz (x86-32).
If comment #4 is true, then it is a Qt bug.
[Comment from a bug reporter] Could QTBUG-8965 (http://bugreports.qt.nokia.com/browse/QTBUG-8965) be related ? There is some similar trace in there.
Try a recent Qt/KDE version - reopen if you can duplicate it again.