Attempts to save a log file, eventually (after defining the elements to include) reach a confusing dialog about opening a file, and proceeding under the assumption that open really means save just causes QtSpim to crash.
From: Lodge, Kenneth [mailto:klodge@csu.edu.au]
Sent: Monday, June 13, 2011 5:32 PM
To: James Larus
Subject: FW: Dump form OS 10.6.7
Jim,
Even more info on QtSpim crash on saving a log file under Mac OS X, as below.
Regards,
Ken
Ken Lodge
Senior Lecturer in Computer Science
School of Computing and Mathematics
Charles Sturt University
Panorama Avenue
Bathurst NSW 2795
Australia
Phone: +61 2 6338 4885
Fax: +61 2 6338 4649
E-mail: klodge@csu.edu.au
www.csu.edu.au
YOU MUST READ THIS NOTICE
This email has been sent by Charles Sturt University (CSU) (ABN 83 878 708 551, CRICOS 00005F). This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. The views expressed in this email are not necessarily those of CSU. Email should be checked for viruses and defects before opening. CSU does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The Commonwealth Register of Institutions and Courses for Overseas Students (CRICOS) Provider Number for Charles Sturt University is 00005F (NSW) and 01947G (VIC).
From: Antolovich, Michael
Sent: Tuesday, 14 June 2011 10:23 AM
To: Lodge, Kenneth
Subject: Dump form OS 10.6.7
More info :-)
The following Crash report was generated after the following reproducible actions
1) Open QTSpim
2) Select "Save Log File" from the File Menu
3) Click "Registers" Checkbox
4) Click the […] box next to the "Save To File" Field.
5) Get an "Open File" Dialog box (instead of a "Save As…" Dialog box)
6) Close Dialog Box
7) Type in a File name and click "Ok"
The program then crashes with the following Crash report (NB crash also happens if I skip steps 4, 5, 6):
Process: QtSpim [7967]
Path: /Applications/QtSpim.app/Contents/MacOS/QtSpim
Identifier: com.yourcompany.QtSpim
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [586]
Date/Time: 2011-06-14 10:06:17.470 +1000
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Interval Since Last Report: 252579 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 70 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 7751D403-D2F3-4FF2-8816-CB6EC1F9F2E8
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 QtGui 0x0000000100565364 QTextEdit::document() const + 4
1 com.yourcompany.QtSpim 0x0000000100019158 QTextEdit::toPlainText() const + 30
2 com.yourcompany.QtSpim 0x000000010000ef33 pickFormat(QTextEdit, bool) + 53
3 com.yourcompany.QtSpim 0x000000010000f3c8 SpimView::file_SaveLogFile() + 1166
4 com.yourcompany.QtSpim 0x0000000100038a7d SpimView::qt_metacall(QMetaObject::Call, int, void) + 313
5 QtCore 0x0000000100ca5726 QMetaObject::activate(QObject, QMetaObject const, int, void) + 710
6 QtGui 0x00000001001246e1 QAction::triggered(bool) + 49
7 QtGui 0x0000000100125ac4 QAction::activate(QAction::ActionEvent) + 180
8 QtGui 0x00000001000dbb4a QMacInputContext::reset() + 44602
9 com.apple.AppKit 0x00007fff808eee9a -[NSApplication sendAction:to:from:] + 95
10 com.apple.AppKit 0x00007fff8091341e -[NSMenuItem _corePerformAction] + 365
11 com.apple.AppKit 0x00007fff80913188 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
12 com.apple.AppKit 0x00007fff80b97279 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
13 com.apple.AppKit 0x00007fff80a48f77 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 136
14 com.apple.AppKit 0x00007fff808f595c NSSLMMenuEventHandler + 321
15 com.apple.HIToolbox 0x00007fff836907f7 DispatchEventToHandlers(EventTargetRec, OpaqueEventRef, HandlerCallRec) + 1002
16 com.apple.HIToolbox 0x00007fff8368fd46 SendEventToEventTargetInternal(OpaqueEventRef, OpaqueEventTargetRef, HandlerCallRec) + 395
17 com.apple.HIToolbox 0x00007fff836ada81 SendEventToEventTarget + 45
18 com.apple.HIToolbox 0x00007fff836dcc35 SendHICommandEvent(unsigned int, HICommand const, unsigned int, unsigned int, unsigned char, void const, OpaqueEventTargetRef, OpaqueEventTargetRef, OpaqueEventRef) + 387
19 com.apple.HIToolbox 0x00007fff83709a0a SendMenuCommandWithContextAndModifiers + 56
20 com.apple.HIToolbox 0x00007fff837099c2 SendMenuItemSelectedEvent + 101
21 com.apple.HIToolbox 0x00007fff837098d2 FinishMenuSelection(SelectionData, MenuResult, MenuResult) + 150
22 com.apple.HIToolbox 0x00007fff836eac27 MenuSelectCore(MenuData, Point, double, unsigned int, OpaqueMenuRef, unsigned short) + 467
23 com.apple.HIToolbox 0x00007fff836ea37c _HandleMenuSelection2 + 453
24 com.apple.AppKit 0x00007fff807c67dd _NSHandleCarbonMenuEvent + 236
25 com.apple.AppKit 0x00007fff8079a317 _DPSNextEvent + 1921
26 com.apple.AppKit 0x00007fff807997a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
27 com.apple.AppKit 0x00007fff8075f48b -[NSApplication run] + 395
28 QtGui 0x00000001000e6344 QDesktopWidget::resizeEvent(QResizeEvent*) + 12708
29 QtCore 0x0000000100d78e54 QEventLoop::processEvents(QFlags<qeventloop::processeventsflag>) + 68
30 QtCore 0x0000000100d79174 QEventLoop::exec(QFlags<qeventloop::processeventsflag>) + 180
31 QtCore 0x0000000100d7a79c QCoreApplication::exec() + 188
32 com.yourcompany.QtSpim 0x0000000100002660 main + 250
33 com.yourcompany.QtSpim 0x00000001000022a2 _start + 224
34 com.yourcompany.QtSpim 0x00000001000021c1 start + 33</qeventloop::processeventsflag></qeventloop::processeventsflag>
Anonymous
Bug caused by change to type of underlying windows; subsequent dynamic casting returns null pointer that is dereferenced
Need to eliminate option to write HTML since PlainText does not support it.
Cleaned up dialog as well.