Fritzing crashes under Lion when modifying a resistor value
Hi Fritzing folks,
I am just starting to use your software, and I found a crash when I modify a resistor value by entering it manually with the keyboard. To produce the crash, I open the application, drag a resistor onto the work area, then select the resistance value and type in some number, and hit return. It crashes 100% of the time if I do that.
Here's the call stack for the thread that crashes. I didn't put the entire log, if you need more info I am happy to provide it. I am using the current version of Fritzing, downloaded today.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Regions Near 0x8:
-->
__TEXT 0000000100000000-000000010060d000 [ 6196K] r-x/rwx SM=COW /Applications/Fritzing/Fritzing.app/Contents/MacOS/Fritzing
Application Specific Information:
objc[8928]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x0000000100882937 QWidget::window() const + 7
1 QtGui 0x00000001007e5395 QMacInputContext::reset() + 9461
2 com.apple.AppKit 0x00007fff85943ad2 -[NSWindow sendEvent:] + 7404
3 QtGui 0x00000001007eb251 QMacInputContext::reset() + 33713
4 com.apple.AppKit 0x00007fff858dbf19 -[NSApplication sendEvent:] + 5665
5 QtGui 0x00000001007ee92a QMacInputContext::reset() + 47754
6 com.apple.AppKit 0x00007fff8587242b -[NSApplication run] + 548
7 QtGui 0x00000001007f8614 QDesktopWidget::resizeEvent(QResizeEvent*) + 12724
8 QtCore 0x00000001014a7b34 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
9 QtCore 0x00000001014a7e54 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
10 QtCore 0x00000001014a947c QCoreApplication::exec() + 188
11 org.fritzing.Fritzing 0x000000010003f7e7 main + 135
12 org.fritzing.Fritzing 0x0000000100004c74 start + 52
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000000000b0 rbx: 0x0000000107bbe6f0 rcx: 0x000000000006fb80 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x000000010f400000 rbp: 0x00007fff5fbff3e0 rsp: 0x00007fff5fbff3e0
r8: 0x0000000000000005 r9: 0x000000010f43fdf0 r10: 0x000000001db325b6 r11: 0x000000005327f75b
r12: 0x00007fff832ef04c r13: 0x0000000107bdf420 r14: 0x0000000107bbe6f0 r15: 0x000000010f430200
rip: 0x0000000100882937 rfl: 0x0000000000010246 cr2: 0x0000000000000008
Hi Mrobin,
Sorry for the crash. This has been fixed and will be shipped with the next release. In the meantime, there are several possible workarounds:
- go back to version 0.6.2
- build fritzing from the latest source (something of an effort)
- save the sketch and change the resistance in the fz file (which is just an xml file)
HTH,
- j
Post a Reply
Please login to post a reply.
