Login  Register

Re: Two issues: a random seg fault and an ArrayOutOfBoundException when painting GLJPanel

Posted by Cyrille on Jul 19, 2010; 4:04pm
URL: https://forum.jogamp.org/Two-issues-a-random-seg-fault-and-an-ArrayOutOfBoundException-when-painting-GLJPanel-tp977027p978913.html

Hi,

For the first issue (the segmentation fault): I would be glad to attach a debugger in order to catch the seg fault and maybe learn more about what happens. Unfortunately, I am completely noob with Ant.

I have checked out the whole source tree of both gluegen and jogl as told here http://jogamp.org/jogl/doc/HowToBuild.html.
My questions are:
- is there a chance that I can attach a debugger to the java process in order to debug the C or C++ code within the guilty libnative_x11.so? If yes, which debugger should I use? I used to pratice GDB in the good old days but that's all.
- assuming someone answered "Yes!" to the first question, how can I build Jogl with debug symbols enabled? I tried to guess it by reading the bunch of xml files within the build folder but, well, I have to admit I understood barely nothing.

Any help to tell me how I could look into it is appreciated! This crash is driving me nuts (and over and above, prevents my application from being usable)...

Thanks,
Cyrille