Menu

#23 test.pl early exit crashes perl in SPP 5.24.01 64bit

POGL 0.xx
fixed-in-git
Mithaldu
None
9
2016-10-08
2016-09-25
No

I just tried building on the latest Strawberry Perl Portable with PDL

http://strawberryperl.com/download/5.24.0.1/strawberry-perl-5.24.0.1-64bit-PDL.zip

and tests PASS but if I click in the test.pl window and exit the test
early I get a crash in the perl interpreter with this output in the
popup window:

Problem signature:
Problem Event Name: APPCRASH
Application Name: perl.exe
Application Version: 5.24.0.1
Application Timestamp: 57323a0d
Fault Module Name: StackHash_b733
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: 80000026
Exception Offset: 0000000000000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: b733
Additional Information 2: b733f2d5de516f342d53a3183a801dde
Additional Information 3: 1b06
Additional Information 4: 1b06bc002a77e64d523a6fc9af58f406

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Perl does not crash in the cygwin case. The perl -V for this
is http://strawberryperl.com/release-notes/5.24.0.1-64bit.html

--Chris

Discussion

  • Mithaldu

    Mithaldu - 2016-09-25

    With the 6704_07 version the command line logging yields this output directly before the crash:

    'q' or [Esc] to quit; OpenGL window must have focus for input.
    
    Setting window close to trigger return from mainloop.
    Starting cleanup ...
    Destroying window.
    Cleanup completed.
    FreeGLUT returned from MainLoop
    

    The last line is the very last line to happen in the script. As such the crash happens extremely late, and sometimes even in Perl's own cleanup phase. However the q button triggers an exit(0), so how we even get to the point where that last line gets printed is questionable.

    Additionally, when running in the debugger, the crash happens immediately on the exit, and the "returned" message is never printed.

    I strongly suspect concurrency issues here.

     
  • Chris Marshall

    Chris Marshall - 2016-10-08
    • status: open --> fixed-in-git
    • assigned_to: Mithaldu
     

Log in to post a comment.

MongoDB Logo MongoDB