Crash when printing on Mac
Robert Helling
helling at lmu.de
Fri Jul 18 00:47:02 PDT 2014
Hi,
I was going to see what you guys have done wrt printing. But I don’t get there as subsurface crashes reliably when opening the print dialog. Just startup subsurface and hit Cmd-P. Relevant part of stack trace:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x00007fff7d88fd60 vtable for __cxxabiv1::__si_class_type_info + 16
1 subsurface 0x00000001000c8c60 PrintOptions::initSliderWithLabel(QSlider*, QLabel*, int) + 48 (printoptions.cpp:74)
2 subsurface 0x00000001000c86e4 PrintOptions::setup(options*) + 84 (printoptions.cpp:27)
3 subsurface 0x00000001000c8680 PrintOptions::PrintOptions(QWidget*, options*) + 208 (printoptions.cpp:13)
4 subsurface 0x00000001000c85a5 PrintOptions::PrintOptions(QWidget*, options*) + 37 (printoptions.cpp:13)
5 subsurface 0x00000001000c212b PrintDialog::PrintDialog(QWidget*, QFlags<Qt::WindowType>) + 379 (printdialog.cpp:25)
6 subsurface 0x00000001000c1f9d PrintDialog::PrintDialog(QWidget*, QFlags<Qt::WindowType>) + 29 (printdialog.cpp:66)
7 subsurface 0x000000010008f4fa MainWindow::on_actionPrint_triggered() + 74 (mainwindow.cpp:309)
8 subsurface 0x00000001001331a4 MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 260 (moc_mainwindow.cpp:161)
9 subsurface 0x00000001001337ee MainWindow::qt_metacall(QMetaObject::Call, int, void**) + 126 (moc_mainwindow.cpp:251)
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff7d88fd60
VM Regions Near 0x7fff7d88fd60:
__DATA 00007fff7d88e000-00007fff7d88f000 [ 4K] rw-/rwx SM=COW /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
--> __DATA 00007fff7d88f000-00007fff7d891000 [ 8K] rw-/rwx SM=COW /usr/lib/libc++abi.dylib
unused shlib __DATA 00007fff7d891000-00007fff7d8b1000 [ 128K] rw-/rwx SM=COW system shared lib __DATA not used by this process
Application Specific Information:
Performing @selector(qtDispatcherToQAction:) from sender NSMenuItem 0x10fb5ac50
Running in debugger did not point to anything obvious, maybe except the fact that line 3 of the stack trace is actually
initSliderWithLabel(ui.sliderPHeight, ui.valuePHeight, printOptions->profile_height);
where ui.sliderPHeight happens to be a NULL pointer. But the exception seems to be thrown before that is tried to be accessed.
Confused:
Robert
PS: Will file a bug as well
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
http://www.atdotde.de
Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515 BB44 0820 367C 36BC 0C1D and
DCED 37B6 251C 7861 270D 5613 95C7 9D32 9A8D 9B8F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140718/ac783b9c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140718/ac783b9c/attachment.sig>
More information about the subsurface
mailing list