2013/9/18 Vlad Bogolin <vladbogo...@gmail.com>:
>>  You really need a stack trace or debugging information of some sort to go
>> on.  You can also try to compile BRL-CAD as single-threaded to see if the
>> problem is specific to something Qt's doing or our parallelism. (cmake
>> -DBRLCAD_ENABLE_SMP=NO)
>>
> I've did a backtrace which leads to mged.c line 2540 (Tcl_Exit(exitcode)).
> I've also tried to run BRL-CAD as single-threaded but the behavior persists
> so the parallelism is not a problem.

As I've already said I've no solution but some hints on how this issue
could be handled:

Catching this segmentation fault in a debugger and looking at the
back-trace shows libX11 as the origin of the exception.  Now you could
look inside the source code of the X11 functions listed in the
back-trace to get an idea what happens there, e.g. here:
http://cgit.freedesktop.org/xorg/lib/libX11/tree

Next you could put break points where the resource is allocated
(NewDatabase) and destroyed (XrmDestroyDatabase).  In case of the Qt
display manager the database resource will be destroyed without
creating it before.  That's probable not optimal.

In the next step you should run the same with the ogl display manager
to see the right behavior.

Daniel

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to