Hi,
First of all thanks for the hints.
>
> > 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.
>
I have added breakpoints to XrmGetFileDatabase, XrmGetStringDatabase,
XrmDestroyDatabase and I found out that XrmGetFileDatabase and
XrmGetStringDatabase are called when mged starts before selecting the new
dm. When the dm is selected there are no occurrences of any of these
function (this happens for all the dm's not just the Qt one) and then when
closing mged XrmDestroyDatabase is called and when using Qt it gets a
segfault so the resource is created then destroyed somewhere else and then
the segfault occurs.
Cheers,
Vlad
------------------------------------------------------------------------------
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