Login  Register

Re: segfaults, working version?

Posted by notzed on Jun 22, 2010; 5:49am
URL: https://forum.jogamp.org/Re-segfaults-working-version-tp911744p913447.html

Hi Michael,

I deleted the original message on nabble forgetting this is a mailing list ... The crashes were all down to some rather embarrassing (mis)use of Buffer objects and a few pokes later I got my stuff to run.  My patience had prematurely run out it seems ...

No crashes anymore, but the Mandelbrot isn't really working still - colourmap seems to be off, and usually all black.  So it might just be a java-side issue.  I've made a bit of a pigs breakfast of the source, but if you would find it useful I can probably clean it up a bit to make another `hello world' example (if you don't have it converted already).

Thanks for the other info, not using jogl yet but will eventually.

 !Z

Michael Bien wrote
Hi Michael :)

comments inline...

On 06/21/2010 02:19 PM, notzed [via jogamp] wrote:
> All,
>
> I was moving some stuff to a different machine and downloaded a
> different jogl/etc than last time because I can't remember where I got
> the other one (and that was x64 so I couldn't use it) ...  Anyway, it
> has the nicer object based api, so I converted the minimal code I have
> over to use it.
>
> But .. it just crashes pretty consistently when executing some simple
> kernels with "Java Result 139".
could you provide a testcase so I could try to reproduce the crashes?
Small as possible so we can add it to the unit tests... would be cool.

if you are using JOGL:
please call GLProfile.initSingleton() before doing any UI work. This
changed recently to enable some threading optimizations. We try to get
rid of this workaround somehow.

[...]