<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi everyone,<br>
<br>
With Gate 6.2 on OS X 10.9, I'm experiencing another Qt-related crash. I've already used the fix provided by Jérôme back in December (see<a href="http://article.gmane.org/gmane.comp.science.opengate.user/3434/match=jérôme+qt+os+x+10.9">http://article.gmane.org/gmane.comp.science.opengate.user/3434/match=jérôme+qt+os+x+10.9</a>).<br>
<br>
The crash happens after launching Gate with the --qt option and using the command /vis/drawVolume (or /vis/sceneHandler/attach).<br>
<br>
I've included the backtrace below:<br>
<br>
[Core-0] You are using Geant4 version 9.6.2<br>
Process 10362 stopped<br>
* thread #1: tid = 0x3ba302, 0x000000010084c10a libG4OpenGL.dylib`G4OpenGLQtViewer::isTouchableVisible(int) + 40, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2)<br>
frame #0: 0x000000010084c10a libG4OpenGL.dylib`G4OpenGLQtViewer::isTouchableVisible(int) + 40<br>
libG4OpenGL.dylib`G4OpenGLQtViewer::isTouchableVisible(int) + 40:<br>
-> 0x10084c10a: movq (%rcx), %rdx<br>
0x10084c10d: testq %rdx, %rdx<br>
0x10084c110: jne 0x10084c107 ; G4OpenGLQtViewer::isTouchableVisible(int) + 37<br>
0x10084c112: jmp 0x10084c120 ; G4OpenGLQtViewer::isTouchableVisible(int) + 62<br>
(lldb) bt<br>
* thread #1: tid = 0x3ba302, 0x000000010084c10a libG4OpenGL.dylib`G4OpenGLQtViewer::isTouchableVisible(int) + 40, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2)<br>
* frame #0: 0x000000010084c10a libG4OpenGL.dylib`G4OpenGLQtViewer::isTouchableVisible(int) + 40<br>
frame #1: 0x000000010082d1ef libG4OpenGL.dylib`G4OpenGLStoredViewer::DrawDisplayLists() + 371<br>
frame #2: 0x0000000100850c3d libG4OpenGL.dylib`G4OpenGLStoredQtViewer::ComputeView() + 217<br>
frame #3: 0x0000000100850da6 libG4OpenGL.dylib`G4OpenGLStoredQtViewer::paintGL() + 238<br>
frame #4: 0x00000001050b594f QtOpenGL`QGLWidget::glDraw() + 207<br>
frame #5: 0x0000000100850f0d libG4OpenGL.dylib`G4OpenGLStoredQtViewer::updateQWidget() + 33<br>
frame #6: 0x00000001008d9c11 libG4vis_management.dylib`G4VisCommandSceneHandlerAttach::SetNewValue(G4UIcommand*, G4String) + 387<br>
frame #7: 0x00000001028674da libG4intercoms.dylib`G4UIcommand::DoIt(G4String) + 2752<br>
frame #8: 0x000000010287a8e7 libG4intercoms.dylib`G4UImanager::ApplyCommand(char const*) + 1265<br>
frame #9: 0x00000001008b6532 libG4vis_management.dylib`G4VisCommandDrawVolume::SetNewValue(G4UIcommand*, G4String) + 158<br>
frame #10: 0x00000001028674da libG4intercoms.dylib`G4UIcommand::DoIt(G4String) + 2752<br>
frame #11: 0x000000010287a8e7 libG4intercoms.dylib`G4UImanager::ApplyCommand(char const*) + 1265<br>
frame #12: 0x0000000100a566e5 libG4interfaces.dylib`G4VBasicShell::ExecuteCommand(G4String const&) + 65<br>
frame #13: 0x0000000100a56e99 libG4interfaces.dylib`G4VBasicShell::ApplyShellCommand(G4String const&, bool&, bool&) + 1567<br>
frame #14: 0x0000000100a4f750 libG4interfaces.dylib`G4UIQt::CommandEnteredCallback() + 560<br>
frame #15: 0x0000000105e0ac5b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2299<br>
frame #16: 0x00000001055d6f98 QtGui`QLineEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 296<br>
frame #17: 0x0000000105e0ac5b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2299<br>
frame #18: 0x00000001055dcf63 QtGui`QLineControl::processKeyEvent(QKeyEvent*) + 467<br>
frame #19: 0x00000001055d4192 QtGui`QLineEdit::keyPressEvent(QKeyEvent*) + 34<br>
frame #20: 0x00000001052879a0 QtGui`QWidget::event(QEvent*) + 3376<br>
frame #21: 0x00000001055d3c57 QtGui`QLineEdit::event(QEvent*) + 519<br>
frame #22: 0x000000010523857c QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252<br>
frame #23: 0x000000010523a3d8 QtGui`QApplication::notify(QObject*, QEvent*) + 2728<br>
frame #24: 0x0000000105df30e5 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 117<br>
frame #25: 0x000000010523bdec QtGui`qt_sendSpontaneousEvent(QObject*, QEvent*) + 44<br>
frame #26: 0x00000001052acaba QtGui`QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) + 410<br>
frame #27: 0x00000001052ac592 QtGui`QKeyMapperPrivate::translateKeyEvent(QWidget*, OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, bool) + 1138<br>
frame #28: 0x00000001051e62fc QtGui`qt_dispatchKeyEvent(void*, QWidget*) + 252<br>
frame #29: 0x00000001051dbdba QtGui`-[QCocoaView keyDown:] + 266<br>
frame #30: 0x00007fff90be565b AppKit`-[NSWindow sendEvent:] + 1843<br>
frame #31: 0x00000001051dee2e QtGui`-[QCocoaWindow sendEvent:] + 110<br>
frame #32: 0x00007fff90b86c42 AppKit`-[NSApplication sendEvent:] + 3395<br>
frame #33: 0x00007fff909d6b89 AppKit`-[NSApplication run] + 646<br>
frame #34: 0x00000001051ec820 QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 528<br>
frame #35: 0x0000000105df03b7 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 487<br>
frame #36: 0x0000000105df3677 QtCore`QCoreApplication::exec() + 199<br>
frame #37: 0x0000000100a42a9f libG4interfaces.dylib`G4UIQt::SessionStart() + 271<br>
frame #38: 0x00000001000148e0 Gate`main(argc=1, argv=<unavailable>) + 3041 at <a href="http://Gate.cc">Gate.cc</a>:378<br>
(lldb) <br>
<br>
<br>
<br>
I realize this might be more of a Geant4 bug than anything, but if someone has experienced this and has a fix for it, I'd appreciate the help.<br>
<br>
Cheers,<br>
Marc<br>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>Marc</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>__________________________</div>
<div><br>
</div>
<div>Marc Chamberland, MSc</div>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)</div>
</div>
</span></div>
<br>
</body>
</html>