Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lzip test failure on Win32 #2

Closed
pmqs opened this issue Nov 24, 2019 · 1 comment
Closed

lzip test failure on Win32 #2

pmqs opened this issue Nov 24, 2019 · 1 comment

Comments

@pmqs
Copy link
Owner

@pmqs pmqs commented Nov 24, 2019

Seeing failures on Win32 for the lzip test harness files with 2.091. These tests worked in 2.090, so the memory leak fixes in https://github.com/pmqs/Compress-Raw-Lzma are prime candidates for the source of the problem.

Examples

https://ci.appveyor.com/project/pmqs/io-compress-lzma/builds/29074982
http://www.cpantesters.org/cpan/report/a9cfeaba-6c52-1014-8029-51b869282b67

Attempt to debug with gdb on Win32 suggests this stack trace. Problem is the code doesn't touch Perl_drand48_r, so probably a red herring.

Thread 1 received signal SIGSEGV, Segmentation fault.
0x000000006fd97a97 in perl530!Perl_drand48_r () from C:\Strawberry\perl\bin\perl530.dll
(gdb) bt
#0  0x000000006fd97a97 in perl530!Perl_drand48_r () from C:\Strawberry\perl\bin\perl530.dll
pmqs/IO-Compress-Lzma#1  0x000000006454175d in ?? () from C:\Strawberry\perl\site\lib\auto\Compress\Raw\Lzma\Lzma.xs.dll
pmqs/IO-Compress-Lzma#2  0x0000000064548468 in ?? () from C:\Strawberry\perl\site\lib\auto\Compress\Raw\Lzma\Lzma.xs.dll
#3  0x000000006fd2e002 in perl530!Perl_clear_defarray () from C:\Strawberry\perl\bin\perl530.dll
#4  0x000000006fd3c7aa in perl530!Perl_call_sv () from C:\Strawberry\perl\bin\perl530.dll
#5  0x000000006fccf74c in perl530!Perl_newRV_noinc () from C:\Strawberry\perl\bin\perl530.dll
#6  0x000000006fccfe71 in perl530!Perl_sv_clear () from C:\Strawberry\perl\bin\perl530.dll
#7  0x000000006fcd04a3 in perl530!Perl_sv_free2 () from C:\Strawberry\perl\bin\perl530.dll
#8  0x000000006fd32cbd in perl530!Perl_gp_free () from C:\Strawberry\perl\bin\perl530.dll
#9  0x000000006fcd027f in perl530!Perl_sv_clear () from C:\Strawberry\perl\bin\perl530.dll
#10 0x000000006fcd04a3 in perl530!Perl_sv_free2 () from C:\Strawberry\perl\bin\perl530.dll
#11 0x000000006fd89f10 in perl530!Perl_leave_scope () from C:\Strawberry\perl\bin\perl530.dll
#12 0x000000006fd0a6dc in perl530!Perl_caller_cx () from C:\Strawberry\perl\bin\perl530.dll
#13 0x000000006fd87d66 in perl530!Perl_runops_standard () from C:\Strawberry\perl\bin\perl530.dll
#14 0x000000006fd445b7 in perl_run () from C:\Strawberry\perl\bin\perl530.dll
#15 0x000000006fd9aea8 in perl530!RunPerl () from C:\Strawberry\perl\bin\perl530.dll
#16 0x00000000004013c7 in ?? ()
@pmqs pmqs transferred this issue from pmqs/IO-Compress-Lzma Nov 26, 2019
@pmqs pmqs closed this in 2cf13f9 Dec 1, 2019
@pmqs

This comment has been minimized.

Copy link
Owner Author

@pmqs pmqs commented Dec 1, 2019

Fixed in 2cf13f9

pmqs added a commit that referenced this issue Dec 7, 2019
clrpackages pushed a commit to clearlinux-pkgs/perl-Compress-Raw-Lzma that referenced this issue Dec 10, 2019
  2.093 7 December 2019

      * Lzma.xs -- add allocator to lzma_properties_decode
        Fixes chach on Windows.
        Issue pmqs/Compress-Raw-Lzma#2
        155b1730163301f59260316b2c011ec41ff4e378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.