Skip to content

Commit

Permalink
add our own patch.exe, disable OpenGL
Browse files Browse the repository at this point in the history
Updates #74
  • Loading branch information
shawnlaffan committed Apr 20, 2023
1 parent 88187a2 commit 409d29b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion share/64bit-5.36.0.1.pp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
tiff => 'file:///z:/extlib/_out/64bit_tiff-4.5.0-bin_20230302.zip',
xz => 'file:///z:/extlib/_out/64bit_xz-5.2.4-bin_20230302.zip',
zlib => 'file:///z:/extlib/_out/64bit_zlib-1.2.11-bin_20230302.zip',
patch => 'file:///z:/extlib/_out/64bit_patch-2.7.5-bin_20230420.zip',


},
Expand Down Expand Up @@ -295,7 +296,9 @@
##{ module=>'http://chorny.net/strawberry/Imager-1.006.zip', ignore_testfailure=>1 }, #https://rt.cpan.org/Ticket/Display.html?id=124001
{ module=>'Imager', ignore_testfailure=>1 }, #https://rt.cpan.org/Ticket/Display.html?id=124001
qw/ Imager-File-GIF Imager-File-JPEG Imager-File-PNG Imager-File-TIFF Imager-Font-FT2 Imager-Font-W32 /,
{ module=>'OpenGL', ignore_testfailure=>1 },
# Disable for now - tests fail when run under gmake but pass under prove.

This comment has been minimized.

Copy link
@mohawk2

mohawk2 Apr 24, 2023

Could you open an issue on OpenGL with what the failure is?

This comment has been minimized.

Copy link
@shawnlaffan

shawnlaffan Apr 24, 2023

Author Contributor

Can do. Is the official repo still the one on sourceforge?

And to save time, the tests under gmake test opens a window which does not respond. The test then crashes when the window is closed by the system. Running prove -v passes. Looking at the Makefile, gmake test calls perl test.pl before it runs the tests under t/.

This comment has been minimized.

Copy link
@shawnlaffan

shawnlaffan Apr 24, 2023

Author Contributor

Running under gdb gives this at the end:

<snip>
Setting window close to trigger return from mainloop (freeglut).
Entering glutMainLoop

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ffe3684853d in ?? ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll

This comment has been minimized.

Copy link
@mohawk2

mohawk2 Apr 25, 2023

No, the one we're using is on https://github.com/Perl-GPU/pogl (although I have yet to make an actual release from there).

As with the PDL issue, could you rebuild OpenGL with OPTIMIZE=-g and give a stack-trace with bt to track this down?

This comment has been minimized.

Copy link
@shawnlaffan

shawnlaffan Apr 25, 2023

Author Contributor

Backtrace after building from https://github.com/Perl-GPU/pogl and using OPTIMIZE=-g:

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ffe3af9853d in ?? ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
(gdb) bt
#0  0x00007ffe3af9853d in ?? ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
#1  0x00007ffe3af6c133 in ?? ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
#2  0x00007ffe3b201f79 in igxelpicd64!DrvValidateVersion ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
#3  0x00007ffe3b1f7bb2 in igxelpicd64!DrvValidateVersion ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
#4  0x00007ffe3b1f8cee in igxelpicd64!DrvValidateVersion ()
   from C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f4e2087fb68fa9c1\igxelpicd64.dll
#5  0x00007ffebe897504 in glDrawElements () from C:\WINDOWS\SYSTEM32\opengl32.dll
#6  0x00007ffe9f2d782e in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#7  0x00007ffe9f2d75d8 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#8  0x00007ffe9f2e3806 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#9  0x00007ffe9f2e3942 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#10 0x00007ffe906d1cb4 in boot_OpenGL ()
   from C:\Users\user\AppData\Local\Temp\0eAB29b4oy\blib\arch\auto\OpenGL\OpenGL.xs.dll
#11 0x00007ffe9f4568f2 in perl536!Perl_clear_defarray () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#12 0x00007ffe9f4a90a2 in perl536!Perl_runops_standard ()
   from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#13 0x00007ffe9f431b5f in perl536!Perl_sv_vcatpvf_mg () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#14 0x00007ffe9f4a90a2 in perl536!Perl_runops_standard ()
   from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#15 0x00007ffe9f460b17 in perl536!Perl_call_sv () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#16 0x00007ffe906bf697 in boot_OpenGL ()
   from C:\Users\user\AppData\Local\Temp\0eAB29b4oy\blib\arch\auto\OpenGL\OpenGL.xs.dll
#17 0x00007ffe9f2d3f11 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#18 0x00007ffe9f2dedf6 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#19 0x00007ffe9f2df509 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#20 0x00007ffe9f2dee79 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#21 0x00007ffe9f2e14c2 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#22 0x00007ffe9f2deec4 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#23 0x00007ffe9f2df54d in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#24 0x00007ffe9f2df5e6 in ?? () from C:\user\strawberry\sp536_20230420a\c\bin\libfreeglut__.dll
#25 0x00007ffe906c5a4e in boot_OpenGL ()
   from C:\Users\user\AppData\Local\Temp\0eAB29b4oy\blib\arch\auto\OpenGL\OpenGL.xs.dll
#26 0x00007ffe9f4568f2 in perl536!Perl_clear_defarray () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#27 0x00007ffe9f4a90a2 in perl536!Perl_runops_standard ()
   from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#28 0x00007ffe9f4672a8 in perl_run () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#29 0x00007ffe9f4b85f0 in perl536!RunPerl () from C:\user\strawberry\sp536_20230420a\perl\bin\perl536.dll
#30 0x00007ff715b1142a in ?? ()
#31 0x00007ff715b1113d in ?? ()
#32 0x00007fff03ff269d in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#33 0x00007fff0504a9f8 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#34 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

This comment has been minimized.

Copy link
@mohawk2

mohawk2 Apr 26, 2023

Thank you. My eye is drawn to boot_OpenGL. There's no debugging symbols there, so please rebuild it with -g as mentioned before. Then we'll know what bad FreeGLUT call it's making that's probably causing this.

# There have also been no updates since 2016 and local installs work quickly.
# { module=>'OpenGL', ignore_testfailure=>1 },

# XML/SOAP webservices
'Log::Report',
Expand Down

0 comments on commit 409d29b

Please sign in to comment.