- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System Linux (All / Other)
- Severity Medium
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 18.08.2011
Last edited by Andrew - 29.09.2011
Opened by Anonymous Submitter - 18.08.2011
Last edited by Andrew - 29.09.2011
FS#183 - Linux CUPS: QPrinter::init() causes SIGPIPE:Broken pipe
- not reproduceable
- Linux vostro 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 i686 i686 i386 GNU/Linux
- openSUSE 11.4 (i586)
- new drawing
- add new layer
- save as DWG
- File → Drawing Preferences → crash
/home/martin/workspace/rsframework/debug/qcad-bin [23943] Thread [8] 23992 (Suspended : Container) __kernel_vsyscall() at 0xffffe424 poll() at 0xb4f9703e g_poll() at 0xb4b010bb 0xb4af0c46 g_main_context_iteration() at 0xb4af0fce QEventDispatcherGlib::processEvents() at 0xb54a2741 QEventLoop::processEvents() at 0xb547131d QEventLoop::exec() at 0xb54715aa QThread::exec() at 0xb535e8ed 0xb544da4b 0xb5361b52 start_thread() at 0xb5177b05 clone() at 0xb4fa1d5e Thread [7] 23954 (Suspended : Container) Thread [6] 23953 (Suspended : Container) Thread [5] 23952 (Suspended : Container) Thread [3] 23950 (Suspended : Container) Thread [2] 23946 (Suspended : Container) Thread [1] 23943 (Suspended : Signal : SIGPIPE:Broken pipe) __kernel_vsyscall() at 0xffffe424 send() at 0xb517f5b8 0xacd498b2 httpFlushWrite() at 0xacd49c21 0xacd4bcb8 cupsSendRequest() at 0xacd62470 cupsDoIORequest() at 0xacd62bc7 cupsDoRequest() at 0xacd62f0b 0xacd41d7f cupsGetDests2() at 0xacd435d5 cupsGetDests() at 0xacd439a3 0xb5ad5153 0xb5a12133 0xb5a28344 0xb5a2b78c QPrinter::init() at 0xb5a2d4ee QPrinter::QPrinter() at 0xb5a2f01f QtScriptShell_QPrinter::QtScriptShell_QPrinter() at 0xb02c9e29 qtscript_QPrinter_static_call() at 0xafe863ba 0xb6bd7f88 0xb6ac7c97 0xb6a91114 0xa7b3a4fd 0xb6a44262 0xb6a445f7 0xb6bb0f92 QScriptEngine::evaluate() at 0xb6bba46f RScriptHandlerEcma::ecmaInclude() at RScriptHandlerEcma.cpp:1,015 0x8799f2d 0xb6bd813c 0xb6ac1f68 0xb6a9164c 0xa7b8e0f6 0xb6a44262 0xb6a445f7 0xb6bb0f92 QScriptEngine::evaluate() at 0xb6bba46f RScriptHandlerEcma::ecmaInclude() at RScriptHandlerEcma.cpp:1,015 0x8799f2d 0xb6bd813c 0xb6ac1f68 0xb6a9164c 0xa7b91f81 0xb6a44262 0xb6a445f7 0xb6bb0f92 QScriptEngine::evaluate() at 0xb6bba46f RScriptHandlerEcma::ecmaInclude() at RScriptHandlerEcma.cpp:1,015 0x8799f2d 0xb6bd813c 0xb6ac1f68 0xb6a9164c 0xa7b91c9f 0xb6a44262 0xb6a466c9 0xb6a8db4a 0xa7b9465c 0xb6a423e3 0xb6af06e0 0xb6ac201e QScriptValue::call() at 0xb6bd2e67 REcmaShellActionAdapter::beginEvent() at REcmaShellActionAdapter.cpp:149 0x8c5981a RDocumentInterface::setCurrentAction() at RDocumentInterface.cpp:290 0x8ef0094 RScriptHandlerEcma::createActionDocumentLevel() at RScriptHandlerEcma.cpp:858 0x8798950 RGuiAction::slotTrigger() at RGuiAction.cpp:607 0x8f0e11f RGuiAction::qt_metacall() at moc_RGuiAction.cpp:86 0x8f58cb1 QMetaObject::metacall() at 0xb5478c83 QMetaObject::activate() at 0xb5489134 QAction::triggered() at 0xb5869d99 QAction::activate() at 0xb586b48f 0xb5d550c0 0xb5d5b485 QMenu::mouseReleaseEvent() at 0xb5d5d65d QtScriptShell_QMenu::mouseReleaseEvent() at 0xb0272feb QWidget::event() at 0xb58da629 QMenu::event() at 0xb5d5aec4 QtScriptShell_QMenu::event() at 0xb027621b QApplicationPrivate::notify_helper() at 0xb5871d7c QApplication::notify() at 0xb58772c4 QCoreApplication::notifyInternal() at 0xb547215b QApplicationPrivate::sendMouseEvent() at 0xb5875152 0xb59068fc QApplication::x11ProcessEvent() at 0xb5905d26 0xb5932f04 g_main_context_dispatch() at 0xb4af0509 0xb4af0d10 g_main_context_iteration() at 0xb4af0fce QEventDispatcherGlib::processEvents() at 0xb54a2741 0xb5932a55 QEventLoop::processEvents() at 0xb547131d QEventLoop::exec() at 0xb54715aa QCoreApplication::exec() at 0xb5473701 qtscript_QCoreApplication_static_call() at 0xb08dc4b7 0xb6bd813c 0xb6ac1f68 0xb6a9164c 0xb100d9e9 0xb6a44262 0xb6a445f7 0xb6bb0f92 QScriptEngine::evaluate() at 0xb6bba46f RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:743 0x8797fbc RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:739 0x8797ea0 RScriptHandler::init() at RScriptHandler.cpp:31 0x8f3a8ca main() at main.cpp:176 0x8792007
Some interesting insights about SIGPIPE:
http://www.cocoabuilder.com/archive/cocoa/3524-sigpipe-deep-in-cups.html
Potential fix in r19078 (catch and ignore signal SIGPIPE)