Bug#886496: libopengl-perl: glutTimerFunc: Segmentation fault

2019-01-22 Thread Thomas Kremer
tag 886496 patch thanks. On 07.01.2019 18:50, Bernhard Übelacker wrote: > Dear Maintainer, > I tried to have a look at this segfault. > > It seems this is a case of pointer truncation. Thanks for finding the problem! Now that I knew where to look, I made a patch to store the pointer in a separ

Bug#886496: libopengl-perl: glutTimerFunc: Segmentation fault

2019-01-07 Thread Bernhard Übelacker
Dear Maintainer, I tried to have a look at this segfault. It seems this is a case of pointer truncation. In following location [1] a pointer gets casted to int (pogl_glut.xs:1021) and stored in freeglut_callbacks.c:115 into field ID of a SFG_Timer struct. This leads later [2] to the crash when i

Bug#886496: libopengl-perl: glutTimerFunc: Segmentation fault

2018-01-18 Thread Salvatore Bonaccorso
Hi On Sat, Jan 06, 2018 at 08:25:28PM +0100, Thomas Kremer wrote: > Package: libopengl-perl > Version: 0.6704+dfsg-2+b2 > Severity: normal > > Dear Maintainers, > > I'm getting a segmentation fault whenever a handler that was set with > glutTimerFunc() is supposed to be executed. > > Minimal ex

Bug#886496: libopengl-perl: glutTimerFunc: Segmentation fault

2018-01-06 Thread Thomas Kremer
Package: libopengl-perl Version: 0.6704+dfsg-2+b2 Severity: normal Dear Maintainers, I'm getting a segmentation fault whenever a handler that was set with glutTimerFunc() is supposed to be executed. Minimal example: $ perl -e 'use OpenGL ":all"; glutInit(); glutCreateWindow("title"); glutTimerF