<div dir="ltr"><div><div><div>Hi,<br><br></div>could you reproduce it with "transforms" example from G4 ? it is a minimal visualisation example with no physics... <br>If you have the same problem with it, it is a G4 bug.<br>
<br></div>Keep me updated.<br><br></div>best regards,<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-09 18:06 GMT+02:00 Marc Chamberland <span dir="ltr"><<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank">MarcChamberland@cmail.carleton.ca</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
This might be more of a Geant4 problem than strictly a Gate one, but if someone can help, I'd appreciate it.<br>
<br>
Some time ago, I reported a crash, but it wasn't reproduceable by the Gate team (<a href="http://article.gmane.org/gmane.comp.science.opengate.user/3770/match=qt+crash" target="_blank">http://article.gmane.org/gmane.comp.science.opengate.user/3770/match=qt+crash</a>). After re-installing everything on my system, I could not reproduce it either. Instead, I experience a different crash now.<br>
<br>
This crash happens when I launch Gate with the --qt option and then run the following minimum macro:<br>
<br>
/vis/open OGLSQt<br>
/vis/drawVolume<br>
/vis/scene/add/axes<br>
<br>
I'm using Geant4.9.6.p03 and Qt 4.8.6 installed with Macports on OS X 10.9.2.<br>
<br>
The backtrace is included below.<br>
<br>
<br>
Marc<br>
<br>
<br>
<br>
__________________________<br>
<br>
Marc Chamberland, MSc<br>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)<br>
<br>
<br>
<br>
[~/opengate-install/bin] Marc$ lldb ./Gate<br>
Current executable set to './Gate' (x86_64).<br>
(lldb) r --qt<br>
Process 84195 launched: './Gate' (x86_64)<br>
[G4]<br>
[G4] *************************************************************<br>
[G4] Geant4 version Name: geant4-09-06-patch-03 (14-March-2014)<br>
[G4] Copyright : Geant4 Collaboration<br>
[G4] Reference : NIM A 506 (2003), 250-303<br>
[G4] WWW : <a href="http://cern.ch/geant4" target="_blank">http://cern.ch/geant4</a><br>
[G4] *************************************************************<br>
[G4]<br>
[Core-0] Initialization of geometry<br>
[Core-0] Initialization of physics<br>
[Core-0] Initialization of actors<br>
[G4] Available UI session types: [ Qt, GAG, tcsh, csh ]<br>
[Core-0]<br>
[Core-0] **********************************************************************<br>
[Core-0] GATE version name: beta_gate_v7.0<br>
[Core-0] Copyright : OpenGATE Collaboration<br>
[Core-0] Reference : Phys. Med. Biol. 49 (2004) 4543-4561<br>
[Core-0] Reference : Phys. Med. Biol. 56 (2011) 881-901<br>
[Core-0] WWW : <a href="http://www.opengatecollaboration.org" target="_blank">http://www.opengatecollaboration.org</a><br>
[Core-0] **********************************************************************<br>
[Core-0]<br>
[Core-0] You are using Geant4 version 9.6.3<br>
Process 84195 stopped<br>
* thread #1: tid = 0x310a36, 0x0000000100841284 libG4OpenGL.dylib`G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 54, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1)<br>
frame #0: 0x0000000100841284 libG4OpenGL.dylib`G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 54<br>
libG4OpenGL.dylib`G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 54:<br>
-> 0x100841284: movq (%rcx), %rdx<br>
0x100841287: testq %rdx, %rdx<br>
0x10084128a: jne 0x100841281 ; G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 51<br>
0x10084128c: jmp 0x10084129a ; G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 76<br>
(lldb) bt<br>
* thread #1: tid = 0x310a36, 0x0000000100841284 libG4OpenGL.dylib`G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 54, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1)<br>
* frame #0: 0x0000000100841284 libG4OpenGL.dylib`G4OpenGLQtViewer::getOldTreeWidgetItem(int) + 54<br>
frame #1: 0x0000000100840bb3 libG4OpenGL.dylib`G4OpenGLQtViewer::changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement(QTreeWidgetItem*) + 69<br>
frame #2: 0x000000010083f09c libG4OpenGL.dylib`G4OpenGLQtViewer::createTreeWidgetItem(std::__1::vector<G4PhysicalVolumeModel::G4PhysicalVolumeNodeID, std::__1::allocator<G4PhysicalVolumeModel::G4PhysicalVolumeNodeID> > const&, QString const&, int, int, QString const&, Qt::CheckState, QTreeWidgetItem*, G4Colour const&) + 1676<br>
frame #3: 0x0000000100841e7b libG4OpenGL.dylib`G4OpenGLQtViewer::addNonPVSceneTreeElement(G4String const&, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, G4Visible const&) + 1027<br>
frame #4: 0x0000000100846034 libG4OpenGL.dylib`G4OpenGLStoredQtSceneHandler::ExtraPOProcessing(G4Visible const&, unsigned long) + 490<br>
frame #5: 0x0000000100825ca5 libG4OpenGL.dylib`G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&) + 2619<br>
frame #6: 0x0000000100826114 libG4OpenGL.dylib`G4OpenGLStoredSceneHandler::AddPrimitive(G4Polyhedron const&) + 22<br>
frame #7: 0x000000010096fbaa libG4modeling.dylib`G4ArrowModel::DescribeYourselfTo(G4VGraphicsScene&) + 168<br>
frame #8: 0x000000010097d8f2 libG4modeling.dylib`G4AxesModel::DescribeYourselfTo(G4VGraphicsScene&) + 34<br>
frame #9: 0x000000010089f980 libG4vis_management.dylib`G4VSceneHandler::ProcessScene() + 312<br>
frame #10: 0x00000001008275c5 libG4OpenGL.dylib`G4OpenGLSceneHandler::ProcessScene() + 21<br>
frame #11: 0x0000000100846bb7 libG4OpenGL.dylib`G4OpenGLStoredQtViewer::ComputeView() + 83<br>
frame #12: 0x0000000100846da6 libG4OpenGL.dylib`G4OpenGLStoredQtViewer::paintGL() + 238<br>
frame #13: 0x00000001051352bf QtOpenGL`QGLWidget::glDraw() + 207<br>
frame #14: 0x0000000100846f0d libG4OpenGL.dylib`G4OpenGLStoredQtViewer::updateQWidget() + 33<br>
frame #15: 0x00000001008b9791 libG4vis_management.dylib`G4VisCommandSceneNotifyHandlers::SetNewValue(G4UIcommand*, G4String) + 1671<br>
frame #16: 0x000000010285b3ea libG4intercoms.dylib`G4UIcommand::DoIt(G4String) + 2752<br>
frame #17: 0x000000010286e887 libG4intercoms.dylib`G4UImanager::ApplyCommand(char const*) + 1265<br>
frame #18: 0x00000001008a31ea libG4vis_management.dylib`G4VVisCommand::UpdateVisManagerScene(G4String const&) + 320<br>
frame #19: 0x00000001008bc644 libG4vis_management.dylib`G4VisCommandSceneAddAxes::SetNewValue(G4UIcommand*, G4String) + 1126<br>
frame #20: 0x000000010285b3ea libG4intercoms.dylib`G4UIcommand::DoIt(G4String) + 2752<br>
frame #21: 0x000000010286e887 libG4intercoms.dylib`G4UImanager::ApplyCommand(char const*) + 1265<br>
frame #22: 0x0000000100a4c585 libG4interfaces.dylib`G4VBasicShell::ExecuteCommand(G4String const&) + 65<br>
frame #23: 0x0000000100a4cd39 libG4interfaces.dylib`G4VBasicShell::ApplyShellCommand(G4String const&, bool&, bool&) + 1567<br>
frame #24: 0x0000000100a455f0 libG4interfaces.dylib`G4UIQt::CommandEnteredCallback() + 560<br>
frame #25: 0x0000000105ea2e7d QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1693<br>
frame #26: 0x0000000105673591 QtGui`QLineEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 257<br>
frame #27: 0x0000000105ea2e7d QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1693<br>
frame #28: 0x000000010567960a QtGui`QLineControl::processKeyEvent(QKeyEvent*) + 554<br>
frame #29: 0x00000001056708c2 QtGui`QLineEdit::keyPressEvent(QKeyEvent*) + 34<br>
frame #30: 0x0000000105309d87 QtGui`QWidget::event(QEvent*) + 4231<br>
frame #31: 0x0000000105670388 QtGui`QLineEdit::event(QEvent*) + 552<br>
frame #32: 0x00000001052ba79c QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252<br>
frame #33: 0x00000001052bd49f QtGui`QApplication::notify(QObject*, QEvent*) + 6431<br>
frame #34: 0x0000000105e8af96 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118<br>
frame #35: 0x00000001052be04d QtGui`qt_sendSpontaneousEvent(QObject*, QEvent*) + 45<br>
frame #36: 0x000000010532ea71 QtGui`QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) + 401<br>
frame #37: 0x000000010532e528 QtGui`QKeyMapperPrivate::translateKeyEvent(QWidget*, OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, bool) + 1128<br>
frame #38: 0x00000001052685e4 QtGui`qt_dispatchKeyEvent(void*, QWidget*) + 244<br>
frame #39: 0x000000010525ddf1 QtGui`-[QCocoaView keyDown:] + 257<br>
frame #40: 0x00007fff8de8365b AppKit`-[NSWindow sendEvent:] + 1843<br>
frame #41: 0x0000000105260f21 QtGui`-[QCocoaWindow sendEvent:] + 113<br>
frame #42: 0x00007fff8de24c42 AppKit`-[NSApplication sendEvent:] + 3395<br>
frame #43: 0x0000000105265d2e QtGui`-[QNSApplication sendEvent:] + 78<br>
frame #44: 0x00007fff8dc74b89 AppKit`-[NSApplication run] + 646<br>
frame #45: 0x000000010526e7d0 QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 528<br>
frame #46: 0x0000000105e8832d QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 477<br>
frame #47: 0x0000000105e8b547 QtCore`QCoreApplication::exec() + 199<br>
frame #48: 0x0000000100a3893f libG4interfaces.dylib`G4UIQt::SessionStart() + 271<br>
frame #49: 0x0000000100014e10 Gate`main(argc=1, argv=<unavailable>) + 3041 at Gate.cc:378<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jérôme Suhard<br></div>
</div>