[Ipe-discuss] Ipe 7.0.9 on OSX 10.6.2 Segmentation fault

ybrise ybrise at inf.ethz.ch
Tue Dec 15 13:06:46 CET 2009


Hi, it's me again.

With the update to 7.0.10 I've tried again, and the problem has miraculously
vanished. I didn't do extensive testing yet, but at least Ipe doesn't crash
right away. So, for me, the answer to my previous post has become obsolete.

Thanks & Gruss,
Yves.


ybrise wrote:
> 
> Hi.
> 
> I've built Ipe7.0.9 on OSX 10.6.2 and I experience crash (segmentation
> fault) right after startup. The window shows and immediately disappears
> again. I've installed most required components with MacPorts, and I'm
> using the 64 bit CocoaQT 4.6. The only thing I really didn't bother to
> look at is the fontmapping stuff. It doesn't seem to me that this could be
> the culprit. The stacktrace is attached. I'm hoping that somebody can
> explain.
> 
> @Otfried: Thank you very much for this wonderful/useful program. I've been
> a regular user. And by the way, I also enjoyed your Mittagsseminar talk
> about lines pinning lines in Zürich this June.
> 
> Gruss,
> Yves.
> 
> 
> 
> Process:         ipe [8947]
> Path:            /usr/local/bin/ipe
> Identifier:      ipe
> Version:         ??? (???)
> Code Type:       X86-64 (Native)
> Parent Process:  bash [8944]
> 
> Date/Time:       2009-12-03 21:41:06.904 +0100
> OS Version:      Mac OS X 10.6.2 (10C540)
> Report Version:  6
> 
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000048
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
> 
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   libcairo.2.dylib              	0x000000010118ed16
> cairo_matrix_transform_point + 16
> 1   libcairo.2.dylib              	0x0000000101186615 cairo_move_to + 46
> 2   libipe.so                     	0x00000001000f3221
> ipe::Painter::moveTo(ipe::Vector const&) + 113 (ipepainter.cpp:158)
> 3   ipe                           	0x000000010000284e
> PathView::paintEvent(QPaintEvent*) + 606 (appui.cpp:221)
> 4   QtGui                         	0x000000010057cfee
> QWidget::event(QEvent*) + 2094
> 5   ipe                           	0x000000010000d7aa
> PathView::event(QEvent*) + 42 (appui.cpp:294)
> 6   QtGui                         	0x0000000100524d1d
> QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
> 7   QtGui                         	0x0000000100529474
> QApplication::notify(QObject*, QEvent*) + 1284
> 8   QtCore                        	0x000000010020a95c
> QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
> 9   QtGui                         	0x0000000100523fac
> qt_sendSpontaneousEvent(QObject*, QEvent*) + 44
> 10  QtGui                         	0x00000001004d5a3a -[QCocoaView
> drawRect:] + 954
> 11  com.apple.AppKit              	0x00007fff81e5afae -[NSView
> _drawRect:clip:] + 3390
> 12  com.apple.AppKit              	0x00007fff81e59c21 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
> 13  com.apple.AppKit              	0x00007fff81e59f8b -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 14  com.apple.AppKit              	0x00007fff81e59f8b -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 15  com.apple.AppKit              	0x00007fff81e582f3 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 767
> 16  com.apple.AppKit              	0x00007fff81e591bf -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 4555
> 17  com.apple.AppKit              	0x00007fff81e591bf -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 4555
> 18  com.apple.AppKit              	0x00007fff81e591bf -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 4555
> 19  com.apple.AppKit              	0x00007fff81e57e17 -[NSThemeFrame
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 254
> 20  com.apple.AppKit              	0x00007fff81e546bf -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] +
> 2683
> 21  com.apple.AppKit              	0x00007fff81dcdf37 -[NSView
> displayIfNeeded] + 969
> 22  com.apple.AppKit              	0x00007fff81dc8dde
> _handleWindowNeedsDisplay + 678
> 23  com.apple.CoreFoundation      	0x00007fff8783e427
> __CFRunLoopDoObservers + 519
> 24  com.apple.CoreFoundation      	0x00007fff8781a2d4 __CFRunLoopRun + 468
> 25  com.apple.CoreFoundation      	0x00007fff87819c2f CFRunLoopRunSpecific
> + 575
> 26  com.apple.HIToolbox           	0x00007fff8167fa4e
> RunCurrentEventLoopInMode + 333
> 27  com.apple.HIToolbox           	0x00007fff8167f7b1
> ReceiveNextEventCommon + 148
> 28  com.apple.HIToolbox           	0x00007fff8167f70c
> BlockUntilNextEventMatchingListInMode + 59
> 29  com.apple.AppKit              	0x00007fff81d9e1f2 _DPSNextEvent + 708
> 30  com.apple.AppKit              	0x00007fff81d9db41 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
> 31  com.apple.AppKit              	0x00007fff81d63747 -[NSApplication run]
> + 395
> 32  QtGui                         	0x00000001004e431e
> QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> + 1502
> 33  QtCore                        	0x00000001002e2414
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
> 34  QtCore                        	0x00000001002e2724
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
> 35  QtCore                        	0x00000001002e3d4c
> QCoreApplication::exec() + 188
> 36  libipeui.so                   	0x0000000100182569
> ipeui_mainloop(lua_State*) + 9 (ipeui.cpp:1288)
> 37  libipelua.so                  	0x0000000100091a82 luaD_precall + 322
> 38  libipelua.so                  	0x000000010009c675 luaV_execute + 3925
> 39  libipelua.so                  	0x0000000100091f1d luaD_call + 173
> 40  libipelua.so                  	0x000000010008d21f lua_call + 47
> 41  ipe                           	0x000000010001a6fa ll_require + 490
> 42  libipelua.so                  	0x0000000100091a82 luaD_precall + 322
> 43  libipelua.so                  	0x000000010009c675 luaV_execute + 3925
> 44  libipelua.so                  	0x0000000100091f1d luaD_call + 173
> 45  libipelua.so                  	0x00000001000915c7 luaD_rawrunprotected
> + 103
> 46  libipelua.so                  	0x0000000100091640 luaD_pcall + 80
> 47  libipelua.so                  	0x000000010008d067 lua_pcall + 87
> 48  ipe                           	0x000000010000124d main + 925
> (main.cpp:167)
> 49  ipe                           	0x0000000100000d64 start + 52
> 
> Thread 1:  Dispatch queue: com.apple.libdispatch-manager
> 0   libSystem.B.dylib             	0x00007fff8001cbba kevent + 10
> 1   libSystem.B.dylib             	0x00007fff8001ea85 _dispatch_mgr_invoke
> + 154
> 2   libSystem.B.dylib             	0x00007fff8001e75c
> _dispatch_queue_invoke + 185
> 3   libSystem.B.dylib             	0x00007fff8001e286
> _dispatch_worker_thread2 + 244
> 4   libSystem.B.dylib             	0x00007fff8001dbb8 _pthread_wqthread +
> 353
> 5   libSystem.B.dylib             	0x00007fff8001da55 start_wqthread + 13
> 
> Thread 2:
> 0   libSystem.B.dylib             	0x00007fff8001d9da __workq_kernreturn +
> 10
> 1   libSystem.B.dylib             	0x00007fff8001ddec _pthread_wqthread +
> 917
> 2   libSystem.B.dylib             	0x00007fff8001da55 start_wqthread + 13
> 
> Thread 0 crashed with X86 Thread State (64-bit):
>   rax: 0x0000000000000000  rbx: 0x000000010115edc0  rcx:
> 0x00007fff5fbfb618  rdx: 0x00007fff5fbfb580
>   rdi: 0x0000000000000040  rsi: 0x00007fff5fbfb588  rbp:
> 0x00007fff5fbfb560  rsp: 0x00007fff5fbfb560
>    r8: 0x0000000101bfc0a0   r9: 0x0000000101bfc0a4  r10:
> 0x00000001011ebf3f  r11: 0x00000001011865e7
>   r12: 0x00007fff5fbfb7f0  r13: 0x000000010115edc0  r14:
> 0x0000000101913240  r15: 0x00007fff5fbfbf60
>   rip: 0x000000010118ed16  rfl: 0x0000000000010202  cr2:
> 0x0000000000000048
> 

-- 
View this message in context: http://old.nabble.com/Ipe-7.0.9-on-OSX-10.6.2-Segmentation-fault-tp26633108p26793799.html
Sent from the Ipe - General mailing list archive at Nabble.com.




More information about the Ipe-discuss mailing list