QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • 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

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)
  1. new drawing
  2. add new layer
  3. save as DWG
  4. 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	

Closed by  Andrew
29.09.2011 13:50
Reason for closing:  Fixed
Anonymous Submitter commented on 28.09.2011 09:35
  • right after the start. tried to open a file by menu "open recent files"
Thread [1] 29242 (Suspended : Signal : SIGPIPE:Broken pipe)	
	__kernel_vsyscall() at 0xffffe424	
	send() at 0xb517e5b8	
	0xacd488b2	
	httpFlushWrite() at 0xacd48c21	
	0xacd4acb8	
	cupsSendRequest() at 0xacd61470	
	cupsDoIORequest() at 0xacd61bc7	
	cupsDoRequest() at 0xacd61f0b	
	0xacd40d7f	
	cupsGetDests2() at 0xacd425d5	
	cupsGetDests() at 0xacd429a3	
	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	
	0xa9a35da5	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::ecmaInclude() at RScriptHandlerEcma.cpp:1,026 0x87cf7ef	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa9a3a31b	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::ecmaInclude() at RScriptHandlerEcma.cpp:1,026 0x87cf7ef	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa9b42684	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:754 0x87cd87e	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:750 0x87cd762	
	RScriptHandlerEcma::createActionDocumentLevel() at RScriptHandlerEcma.cpp:841 0x87cdee1	
	RGuiAction::slotTrigger() at RGuiAction.cpp:621 0x8f5e42a	
	RGuiAction::qt_metacall() at moc_RGuiAction.cpp:86 0x8fa99fd	
	QMetaObject::metacall() at 0xb5478c83	
	QMetaObject::activate() at 0xb5489134	
	QAction::triggered() at 0xb5869d99	
	QAction::activate() at 0xb586b48f	
	QToolButton::nextCheckState() at 0xb5da52b2	
	0xb5cbb61f	
	QAbstractButton::mouseReleaseEvent() at 0xb5cbb8dc	
	QToolButton::mouseReleaseEvent() at 0xb5da53ac	
	QWidget::event() at 0xb58da629	
	QAbstractButton::event() at 0xb5cba7bf	
	QToolButton::event() at 0xb5da82ae	
	QApplicationPrivate::notify_helper() at 0xb5871d7c	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4aef509	
	0xb4aefd10	
	g_main_context_iteration() at 0xb4aeffce	
	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	
	0xb083e26f	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:754 0x87cd87e	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:750 0x87cd762	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8f8b212	
	main() at main.cpp:204 0x87c725c	

Admin
Andrew commented on 29.09.2011 07:46
Admin
Andrew commented on 29.09.2011 07:59

Potential fix in r19078 (catch and ignore signal SIGPIPE)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing