On Tue, May 24, 2011 at 11:46 AM, Clifford Yapp <[email protected]> wrote:

>

> > After that, the build went fine. But still, mged seg fault's.
>
> Erik suggested this may be OpenGL related - try re-building with
> -DBRLCAD-ENABLE_OPENGL=OFF and see if that works.
>

Indeed, disabling OpenGL solved the problem. Thanks!

On Tue, May 24, 2011 at 12:58 PM, Christopher Sean Morrison
<[email protected]>wrote:

>
> On May 24, 2011, at 9:16 AM, Guilherme Kunigami wrote:
>
> After that, the build went fine. But still, mged seg fault's. To make sure
> I'm using the right versions of Tcl and Tk I did:
>
> [snip]
>
> Can you provide a stack trace of the segfault?  You can run the binary
> within gdb just by prefixing whatever command you're running that segfaults
> with "gdb --args", then tell gdb to "run".  Example:
>
> gdb --args /usr/brlcad/bin/mged test.g
> run
> backtrace
>

I re-enabled OpenGL and built in debug mode. The result of the backtrace of
the command you suggest is the following: http://pastebin.com/LU46ps29

Hope it helps!

Thanks,


> The only strange thing is that neither Cocoa nor Carbon were found. I have
> no idea on how to tell cmake where to find such libraries. (I'm not sure if
> these missing dependencies are the cause of the problem, though).
>
> Any ideas?
>
>
> That backtrace should spell out why it's crashing.  OpenGL and/or X11 are
> the most likely causes but why and how to fix aren't apparent without a
> trace.
>
> Cheers!
> Sean
>
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> BRL-CAD Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-users
>
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to