Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

xs_effects.pl bug #15

Closed
varnie opened this Issue · 13 comments

2 participants

varnie Shlomi Fish
varnie

Hi. Tried this program: https://github.com/PerlGameDev/SDL_Manual/blob/master/code_listings/xs_effects.pl and it failed:

varnie@localhost: ./xs_effects.pl
Had problems bootstrapping Inline module 'xs_pl_4067'

Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 207.
END failed--call queue aborted at (eval 50) line 207.

at ./xs_effects.pl line 16
BEGIN failed--compilation aborted at ./xs_effects.pl line 58.
*** glibc detected *** /usr/bin/perl: free(): invalid pointer: 0x0a120d54 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb7561ee2]
/usr/bin/perl(Perl_hv_undef_flags+0xd2)[0x80dc4d2]
/usr/bin/perl(Perl_sv_clear+0x74b)[0x80eec4b]
/usr/bin/perl(Perl_sv_free2+0x4b)[0x80ef09b]
/usr/bin/perl(Perl_gp_free+0x319)[0x807cd79]
/usr/bin/perl(Perl_sv_clear+0x8c9)[0x80eedc9]
/usr/bin/perl(Perl_sv_free2+0x4b)[0x80ef09b]
/usr/bin/perl(Perl_hv_free_ent+0x154)[0x80d87e4]
/usr/bin/perl[0x80d8ab8]
/usr/bin/perl(Perl_hv_undef_flags+0xbd)[0x80dc4bd]
/usr/bin/perl(Perl_sv_clear+0x74b)[0x80eec4b]
/usr/bin/perl(Perl_sv_free2+0x4b)[0x80ef09b]
/usr/bin/perl(Perl_gp_free+0x319)[0x807cd79]
/usr/bin/perl(Perl_sv_clear+0x8c9)[0x80eedc9]
/usr/bin/perl(Perl_sv_free2+0x4b)[0x80ef09b]
/usr/bin/perl(Perl_hv_free_ent+0x154)[0x80d87e4]
/usr/bin/perl[0x80d8ab8]
/usr/bin/perl(Perl_hv_undef_flags+0xbd)[0x80dc4bd]
/usr/bin/perl(Perl_sv_clear+0x74b)[0x80eec4b]
/usr/bin/perl(Perl_sv_free2+0x4b)[0x80ef09b]
/usr/bin/perl(perl_destruct+0x20a9)[0x8078389]
/usr/bin/perl(main+0xfb)[0x805e32b]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75054d3]
/usr/bin/perl[0x805e3a1]
======= Memory map: ========
08048000-081ad000 r-xp 00000000 08:06 11010065 /usr/bin/perl
081ad000-081ae000 r--p 00164000 08:06 11010065 /usr/bin/perl
081ae000-081b0000 rw-p 00165000 08:06 11010065 /usr/bin/perl
0a108000-0a5ef000 rw-p 00000000 00:00 0 [heap]
b670a000-b6726000 r-xp 00000000 08:06 9700047 /lib/i386-linux-gnu/libgcc_s.so.1
b6726000-b6727000 r--p 0001b000 08:06 9700047 /lib/i386-linux-gnu/libgcc_s.so.1
b6727000-b6728000 rw-p 0001c000 08:06 9700047 /lib/i386-linux-gnu/libgcc_s.so.1
b6740000-b6744000 r-xp 00000000 08:06 11283611 /usr/lib/perl/5.14.2/auto/Digest/MD5/MD5.so
b6744000-b6745000 r--p 00003000 08:06 11283611 /usr/lib/perl/5.14.2/auto/Digest/MD5/MD5.so
b6745000-b6746000 rw-p 00004000 08:06 11283611 /usr/lib/perl/5.14.2/auto/Digest/MD5/MD5.so
b6746000-b675e000 r-xp 00000000 08:06 11015387 /usr/lib/i386-linux-gnu/libSDL_gfx.so.13.9.1
b675e000-b675f000 r--p 00017000 08:06 11015387 /usr/lib/i386-linux-gnu/libSDL_gfx.so.13.9.1
b675f000-b6760000 rw-p 00018000 08:06 11015387 /usr/lib/i386-linux-gnu/libSDL_gfx.so.13.9.1
b6760000-b6761000 rw-p 00000000 00:00 0
b6762000-b6766000 r-xp 00000000 08:06 11273773 /usr/lib/perl5/auto/SDLx/Controller/State/State.so
b6766000-b6767000 r--p 00003000 08:06 11273773 /usr/lib/perl5/auto/SDLx/Controller/State/State.so
b6767000-b6768000 rw-p 00004000 08:06 11273773 /usr/lib/perl5/auto/SDLx/Controller/State/State.so
b6768000-b676d000 r-xp 00000000 08:06 11273769 /usr/lib/perl5/auto/SDLx/Controller/Interface/Interface.so
b676d000-b676e000 r--p 00004000 08:06 11273769 /usr/lib/perl5/auto/SDLx/Controller/Interface/Interface.so
b676e000-b676f000 rw-p 00005000 08:06 11273769 /usr/lib/perl5/auto/SDLx/Controller/Interface/Interface.so
b676f000-b6777000 r-xp 00000000 08:06 11283590 /usr/lib/perl/5.14.2/auto/Data/Dumper/Dumper.so
b6777000-b6778000 r--p 00007000 08:06 11283590 /usr/lib/perl/5.14.2/auto/Data/Dumper/Dumper.so
b6778000-b6779000 rw-p 00008000 08:06 11283590 /usr/lib/perl/5.14.2/auto/Data/Dumper/Dumper.so
b6779000-b6794000 r-xp 00000000 08:06 11286742 /usr/lib/perl5/auto/SDL/GFX/Primitives/Primitives.so
b6794000-b6795000 r--p 0001a000 08:06 11286742 /usr/lib/perl5/auto/SDL/GFX/Primitives/Primitives.so
b6795000-b6796000 rw-p 0001b000 08:06 11286742 /usr/lib/perl5/auto/SDL/GFX/Primitives/Primitives.so
b6796000-b67a1000 r-xp 00000000 08:06 11015221 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
b67a1000-b67a2000 r--p 0000a000 08:06 11015221 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
b67a2000-b67a5000 rw-p 0000b000 08:06 11015221 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
b67a5000-b67c9000 r-xp 00000000 08:06 9700063 /lib/i386-linux-gnu/liblzma.so.5.0.0
b67c9000-b67ca000 r--p 00024000 08:06 9700063 /lib/i386-linux-gnu/liblzma.so.5.0.0
b67ca000-b67cb000 rw-p 00025000 08:06 9700063 /lib/i386-linux-gnu/liblzma.so.5.0.0
b67cb000-b67f8000 r-xp 00000000 08:06 11024910 /usr/lib/i386-linux-gnu/libwebp.so.2.0.0
b67f8000-b67f9000 r--p 0002c000 08:06 11024910 /usr/lib/i386-linux-gnu/libwebp.so.2.0.0
b67f9000-b67fa000 rw-p 0002d000 08:06 11024910 /usr/lib/i386-linux-gnu/libwebp.so.2.0.0
b67fa000-b67fd000 rw-p 00000000 00:00 0
b67fd000-b686c000 r-xp 00000000 08:06 11015302 /usr/lib/i386-linux-gnu/libtiff.so.5.1.0
b686c000-b686d000 ---p 0006f000 08:06 11015302 /usr/lib/i386-linux-gnu/libtiff.so.5.1.0
b686d000-b686e000 r--p 0006f000 08:06 11015302 /usr/lib/i386-linux-gnu/libtiff.so.5.1.0
b686e000-b6870000 rw-p 00070000 08:06 11015302 /usr/lib/i386-linux-gnu/libtiff.so.5.1.0
b6870000-b68b5000 r-xp 00000000 08:06 11015223 /usr/lib/i386-linux-gnu/libjpeg.so.8.0.2
b68b5000-b68b6000 r--p 00044000 08:06 11015223 /usr/lib/i386-linux-gnu/libjpeg.so.8.0.2
b68b6000-b68b7000 rw-p 00045000 08:06 11015223 /usr/lib/i386-linux-gnu/libjpeg.so.8.0.2
b68b7000-b68c7000 rw-p 00000000 00:00 0
b68c7000-b68ee000 r-xp 00000000 08:06 9700113 /lib/i386-linux-gnu/libpng12.so.0.49.0
b68ee000-b68ef000 r--p 00026000 08:06 9700113 /lib/i386-linux-gnu/libpng12.so.0.49.0
b68ef000-b68f0000 rw-p 00027000 08:06 9700113 /lib/i386-linux-gnu/libpng12.so.0.49.0
b68f0000-b68fc000 r-xp 00000000 08:06 11024912 /usr/lib/i386-linux-gnu/libSDL_image-1.2.so.0.8.4
b68fc000-b68fd000 r--p 0000b000 08:06 11024912 /usr/lib/i386-linux-gnu/libSDL_image-1.2.so.0.8.4
b68fd000-b68fe000 rw-p 0000c000 08:06 11024912 /usr/lib/i386-linux-gnu/libSDL_image-1.2.so.0.8.4
b68fe000-b690e000 rw-p 00000000 00:00 0
b6911000-b6917000 r-xp 00000000 08:06 11273763 /usr/lib/perl5/auto/SDLx/Surface/Surface.so
b6917000-b6918000 r--p 00005000 08:06 11273763 /usr/lib/perl5/auto/SDLx/Surface/Surface.so
b6918000-b6919000 rw-p 00006000 08:06 11273763 /usr/lib/perl5/auto/SDLx/Surface/Surface.so
b6919000-b691f000 r-xp 00000000 08:06 11273766 /usr/lib/perl5/auto/SDLx/Validate/Validate.so
b691f000-b6920000 r--p 00005000 08:06 11273766 /usr/lib/perl5/auto/SDLx/Validate/Validate.so
b6920000-b6921000 rw-p 00006000 08:06 11273766 /usr/lib/perl5/auto/SDLx/Validate/Validate.so
b6921000-b6924000 r-xp 00000000 08:06 11286664 /usr/lib/perl5/auto/SDL/Color/Color.so
b6924000-b6925000 r--p 00002000 08:06 11286664 /usr/lib/perl5/auto/SDL/Color/Color.so
b6925000-b6926000 rw-p 00003000 08:06 11286664 /usr/lib/perl5/auto/SDL/Color/Color.so
b6926000-b692f000 r-xp 00000000 08:06 11286661 /usr/lib/perl5/auto/SDL/Image/Image.so
b692f000-b6930000 r--p 00008000 08:06 11286661 /usr/lib/perl5/auto/SDL/Image/Image.so
b6930000-b6931000 rw-p 00009000 08:06 11286661 /usr/lib/perl5/auto/SDL/Image/Image.so
b6931000-b6936000 r-xp 00000000 08:06 11286729 /usr/lib/perl5/auto/SDL/VideoInfo/VideoInfo.so
b6936000-b6937000 r--p 00004000 08:06 11286729 /usr/lib/perl5/auto/SDL/VideoInfo/VideoInfo.so
b6937000-b6938000 rw-p 00005000 08:06 11286729 /usr/lib/perl5/auto/SDL/VideoInfo/VideoInfo.so
b6938000-b693d000 r-xp 00000000 08:06 11286652 /usr/lib/perl5/auto/SDL/Surface/Surface.so
b693d000-b693e000 r--p 00004000 08:06 11286652 /usr/lib/perl5/auto/SDL/Surface/Surface.so
b693e000-b693f000 rw-p 00005000 08:06 11286652 /usr/lib/perl5/auto/SDL/Surface/Surface.so
b693f000-b6945000 r-xp 00000000 08:06 11286646 /usr/lib/perl5/auto/SDL/PixelFormat/PixelFormat.so
b6945000-b6946000 r--p 00005000 08:06 11286646 /usr/lib/perl5/auto/SDL/PixelFormat/PixelFormat.so
b6946000-b6947000 rw-p 00006000 08:06 11286646 /usr/lib/perl5/auto/SDL/PixelFormat/PixelFormat.so
b6947000-b694c000 r-xp 00000000 08:06 11286658 /usr/lib/perl5/auto/SDL/Events/Events.so
b694c000-b694d000 r--p 00005000 08:06 11286658 /usr/lib/perl5/auto/SDL/Events/Events.so
b694d000-b694e000 rw-p 00006000 08:06 11286658 /usr/lib/perl5/auto/SDL/Events/Events.so
b694e000-b6960000 r-xp 00000000 08:06 11286666 /usr/lib/perl5/auto/SDL/Event/Event.so
b6960000-b6961000 r--p 00011000 08:06 11286666 /usr/lib/perl5/auto/SDL/Event/Event.so
b6961000-b6962000 rw-p 00012000 08:06 11286666 /usr/lib/perl5/auto/SDL/Event/Event.so
b6962000-b6975000 r-xp 00000000 08:06 9716306 /lib/i386-linux-gnu/libresolv-2.15.so
b6975000-b6976000 r--p 00013000 08:06 9716306 /lib/i386-linux-gnu/libresolv-2.15.so
b6976000-b6977000 rw-p 00014000 08:06 9716306 /lib/i386-linux-gnu/libresolv-2.15.so
b6977000-b6979000 rw-p 00000000 00:00 0
b6979000-b697f000 r-xp 00000000 08:06 11015309 /usr/lib/i386-linux-gnu/libogg.so.0.8.0
b697f000-b6980000 r--p 00005000 08:06 11015309 /usr/lib/i386-linux-gnu/libogg.so.0.8.0
b6980000-b6981000 rw-p 00006000 08:06 11015309 /usr/lib/i386-linux-gnu/libogg.so.0.8.0
b6981000-b69aa000 r-xp 00000000 08:06 11015515 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b69aa000-b69ab000 ---p 00029000 08:06 11015515 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b69ab000-b69ac000 r--p 00029000 08:06 11015515 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b69ac000-b69ad000 rw-p 0002a000 08:06 11015515 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b69ad000-b6b13000 r-xp 00000000 08:06 11015517 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b6b13000-b6b24000 r--p 00165000 08:06 11015517 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b6b24000-b6b25000 rw-p 00176000 08:06 11015517 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b6b25000-b6b73000 r-xp 00000000 08:06 11014714 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6b73000-b6b74000 r--p 0004e000 08:06 11014714 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6b74000-b6b75000 rw-p 0004f000 08:06 11014714 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6b75000-b6b8b000 r-xp 00000000 08:06 9716312 /lib/i386-linux-gnu/libnsl-2.15.so
b6b8b000-b6b8c000 r--p 00015000 08:06 9716312 /lib/i386-linux-gnu/libnsl-2.15.so
b6b8c000-b6b8d000 rw-p 00016000 08:06 9716312 /lib/i386-linux-gnu/libnsl-2.15.so
b6b8d000-b6b8f000 rw-p 00000000 00:00 0
b6b8f000-b6b94000 r-xp 00000000 08:06 11014804 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6b94000-b6b95000 r--p 00004000 08:06 11014804 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6b95000-b6b96000 rw-p 00005000 08:06 11014804 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6b96000-b6c03000 r-xp 00000000 08:06 11015426 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6c03000-b6c05000 r--p 0006c000 08:06 11015426 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6c05000-b6c06000 rw-p 0006e000 08:06 11015426 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6c06000-b6c0a000 rw-p 00000000 00:00 0
b6c0a000-b6c12000 r-xp 00000000 08:06 9700153 /lib/i386-linux-gnu/libwrap.so.0.7.6
b6c12000-b6c13000 r--p 00007000 08:06 9700153 /lib/i386-linux-gnu/libwrap.so.0.7.6
b6c13000-b6c14000 rw-p 00008000 08:06 9700153 /lib/i386-linux-gnu/libwrap.so.0.7.6
b6c14000-b6c2b000 r-xp 00000000 08:06 9700156 /lib/i386-linux-gnu/libz.so.1.2.7
b6c2b000-b6c2c000 r--p 00016000 08:06 9700156 /lib/i386-linux-gnu/libz.so.1.2.7
b6c2c000-b6c2d000 rw-p 00017000 08:06 9700156 /lib/i386-linux-gnu/libz.so.1.2.7
b6c2d000-b6c49000 r-xp 00000000 08:06 9700139 /lib/i386-linux-gnu/libtinfo.so.5.9
b6c49000-b6c4b000 r--p 0001b000 08:06 9700139 /lib/i386-linux-gnu/libtinfo.so.5.9
b6c4b000-b6c4c000 rw-p 0001d000 08:06 9700139 /lib/i386-linux-gnu/libtinfo.so.5.9
b6c4c000-b6c7b000 r-xp 00000000 08:06 9700072 /lib/i386-linux-gnu/libncursesw.so.5.9
b6c7b000-b6c7c000 r--p 0002e000 08:06 9700072 /lib/i386-linux-gnu/libncursesw.so.5.9
b6c7c000-b6c7d000 rw-p 0002f000 08:06 9700072 /lib/i386-linux-gnu/libncursesw.so.5.9
b6c7d000-b6d61000 r-xp 00000000 08:06 9700130 /lib/i386-linux-gnu/libslang.so.2.2.4
b6d61000-b6d63000 r--p 000e3000 08:06 9700130 /lib/i386-linux-gnu/libslang.so.2.2.4
b6d63000-b6d71000 rw-p 000e5000 08:06 9700130 /lib/i386-linux-gnu/libslang.so.2.2.4
b6d71000-b6dac000 rw-p 00000000 00:00 0
b6dac000-b6dcc000 r-xp 00000000 08:06 11010643 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6dcc000-b6dcd000 r--p 0001f000 08:06 11010643 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6dcd000-b6dce000 rw-p 00020000 08:06 11010643 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6dce000-b6e16000 r-xp 00000000 08:06 9707715 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
b6e16000-b6e17000 r--p 00047000 08:06 9707715 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
b6e17000-b6e18000 rw-p 00048000 08:06 9707715 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
b6e18000-b6e20000 r-xp 00000000 08:06 11015227 /usr/lib/i386-linux-gnu/libjson.so.0.1.0
b6e20000-b6e21000 r--p 00007000 08:06 11015227 /usr/lib/i386-linux-gnu/libjson.so.0.1.0
b6e21000-b6e22000 rw-p 00008000 08:06 11015227 /usr/lib/i386-linux-gnu/libjson.so.0.1.0
b6e22000-b6e84000 r-xp 00000000 08:06 11014715 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.1.so
b6e84000-b6e85000 r--p 00061000 08:06 11014715 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.1.so
b6e85000-b6e86000 rw-p 00062000 08:06 11014715 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.1.so
b6e86000-b6f4c000 r-xp 00000000 08:06 11014896 /usr/lib/i386-linux-gnu/libcaca.so.0.99.18
b6f4c000-b6f4d000 r--p 000c5000 08:06 11014896 /usr/lib/i386-linux-gnu/libcaca.so.0.99.18
b6f4d000-b6f4e000 rw-p 000c6000 08:06 11014896 /usr/lib/i386-linux-gnu/libcaca.so.0.99.18
b6f4e000-b6f52000 rw-p 00000000 00:00 0
b6f52000-b6f62000 r-xp 00000000 08:06 11010716 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b6f62000-b6f63000 r--p 0000f000 08:06 11010716 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b6f63000-b6f64000 rw-p 00010000 08:06 11010716 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b6f64000-b7097000 r-xp 00000000 08:06 11010711 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b7097000-b7098000 r--p 00132000 08:06 11010711 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b7098000-b709b000 rw-p 00133000 08:06 11010711 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b709b000-b70e7000 r-xp 00000000 08:06 11015545 /usr/lib/i386-linux-gnu/libpulse.so.0.14.3
b70e7000-b70e8000 r--p 0004c000 08:06 11015545 /usr/lib/i386-linux-gnu/libpulse.so.0.14.3
b70e8000-b70e9000 rw-p 0004d000 08:06 11015545 /usr/lib/i386-linux-gnu/libpulse.so.0.14.3
b70e9000-b71d6000 r-xp 00000000 08:06 11013723 /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b71d6000-b71da000 r--p 000ec000 08:06 11013723 /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b71da000-b71db000 rw-p 000f0000 08:06 11013723 /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b71db000-b7247000 r-xp 00000000 08:06 11023911 /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4
b7247000-b7248000 ---p 0006c000 08:06 11023911 /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4Aborted (core dumped)

Shlomi Fish
Collaborator

Hi,

xs_effects.pl appears to work perfectly well for me on Mageia Linux Cauldron (what will become Mageia Linux 4). I'm using perl-SDL-2.540.0-5.mga4. It seems like you have a compilation error related to Inline::C and, moreover, you are using perl-5.14.x which was end-of-lifed. Finally, you did not give a lot of details about your system information and settings.

Best regards,

-- Shlomi Fish

varnie

Hi. Sorry for so short description. Here's perl -V output:

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

Platform:
osname=linux, osvers=3.2.0-37-generic, archname=i686-linux-gnu-thread-multi-64int
uname='linux panlong 3.2.0-37-generic #58-ubuntu smp thu jan 24 15:28:10 utc 2013 i686 i686 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Dldflags= -Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=i686-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.14 -Darchlib=/usr/lib/perl/5.14 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.14.2 -Dsitearch=/usr/local/lib/perl/5.14.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.14.2 -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/i386-linux-gnu /lib/../lib /usr/lib/i386-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.5.14.2
gnulibc_version='2.15'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
DEBPKG:debian/arm_thread_stress_timeout - http://bugs.debian.org/501970 Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts
DEBPKG:debian/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
DEBPKG:debian/db_file_ver - http://bugs.debian.org/340047 Remove overly restrictive DB_File version check.
DEBPKG:debian/doc_info - Replace generic man(1) instructions with Debian-specific information.
DEBPKG:debian/enc2xs_inc - http://bugs.debian.org/290336 Tweak enc2xs to follow symlinks and ignore missing @INC directories.
DEBPKG:debian/errno_ver - http://bugs.debian.org/343351 Remove Errno version check due to upgrade problems with long-running processes.
DEBPKG:debian/libperl_embed_doc - http://bugs.debian.org/186778 Note that libperl-dev package is required for embedded linking
DEBPKG:fixes/respect_umask - Respect umask during installation
DEBPKG:debian/writable_site_dirs - Set umask approproately for site install directories
DEBPKG:debian/extutils_set_libperl_path - EU:MM: Set location of libperl.a to /usr/lib
DEBPKG:debian/no_packlist_perllocal - Don't install .packlist or perllocal.pod for perl or vendor
DEBPKG:debian/prefix_changes - Fiddle with PREFIX and variables written to the makefile
DEBPKG:debian/fakeroot - Postpone LD_LIBRARY_PATH evaluation to the binary targets.
DEBPKG:debian/instmodsh_doc - Debian policy doesn't install .packlist files for core or vendor.
DEBPKG:debian/ld_run_path - Remove standard libs from LD_RUN_PATH as per Debian policy.
DEBPKG:debian/libnet_config_path - Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
DEBPKG:debian/m68k_thread_stress - http://bugs.debian.org/517938 http://bugs.debian.org/495826 Disable some threads tests on m68k for now due to missing TLS.
DEBPKG:debian/mod_paths - Tweak @INC ordering for Debian
DEBPKG:debian/module_build_man_extensions - http://bugs.debian.org/479460 Adjust Module::Build manual page extensions for the Debian Perl policy
DEBPKG:debian/prune_libs - http://bugs.debian.org/128355 Prune the list of libraries wanted to what we actually need.
DEBPKG:fixes/net_smtp_docs - [rt.cpan.org #36038] http://bugs.debian.org/100195 Document the Net::SMTP 'Port' option
DEBPKG:debian/perlivp - http://bugs.debian.org/510895 Make perlivp skip include directories in /usr/local
DEBPKG:debian/cpanplus_definstalldirs - http://bugs.debian.org/533707 Configure CPANPLUS to use the site directories by default.
DEBPKG:debian/cpanplus_config_path - Save local versions of CPANPLUS::Config::System into /etc/perl.
DEBPKG:debian/deprecate-with-apt - http://bugs.debian.org/580034 Point users to Debian packages of deprecated core modules
DEBPKG:fixes/hurd-ccflags - [a190e64] http://bugs.debian.org/587901 [perl #92244] Make hints/gnu.sh append to $ccflags rather than overriding them
DEBPKG:debian/squelch-locale-warnings - http://bugs.debian.org/508764 Squelch locale warnings in Debian package maintainer scripts
DEBPKG:debian/skip-upstream-git-tests - Skip tests specific to the upstream Git repository
DEBPKG:fixes/extutils-cbuilder-cflags - [011e8fb] http://bugs.debian.org/624460 [perl #89478] Append CFLAGS and LDFLAGS to their Config.pm counterparts in EU::CBuilder
DEBPKG:fixes/module-build-home-directory - http://bugs.debian.org/624850 [rt.cpan.org #67893] Fix failing tilde test when run under a UID without a passwd entry
DEBPKG:debian/patchlevel - http://bugs.debian.org/567489 List packaged patches for 5.14.2-13ubuntu0.2 in patchlevel.h
DEBPKG:fixes/h2ph-multiarch - [e7ec705] http://bugs.debian.org/625808 [perl #90122] Make h2ph correctly search gcc include directories
DEBPKG:fixes/index-tainting - [3b36395] http://bugs.debian.org/291450 [perl #64804] RT 64804: tainting with index() of a constant
DEBPKG:fixes/document_makemaker_ccflags - http://bugs.debian.org/628522 [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
DEBPKG:fixes/sys-syslog-socket-timeout-kfreebsd.patch - http://bugs.debian.org/627821 [rt.cpan.org #69997] Use a socket timeout on GNU/kFreeBSD to catch ICMP port unreachable messages
DEBPKG:fixes/hurd-hints - http://bugs.debian.org/636609 Improve general GNU hints, needed for GNU/Hurd.
DEBPKG:fixes/pod_fixes - [7698aed] http://bugs.debian.org/637816 Fix typos in several pod/perl
.pod files
DEBPKG:debian/find_html2text - http://bugs.debian.org/640479 Configure CPAN::Distribution with correct name of html2text
DEBPKG:fixes/digest_eval_hole - http://bugs.debian.org/644108 Close the eval "require $module" security hole in Digest->new($algorithm)
DEBPKG:fixes/hurd-ndbm - [f0d0a20] [perl #102680] http://bugs.debian.org/645989 Add GNU/Hurd hints for NDBM_File
DEBPKG:fixes/sysconf.t-posix - [8040185] [perl #102888] http://bugs.debian.org/646016 Fix hang in ext/POSIX/t/sysconf.t on GNU/Hurd
DEBPKG:fixes/hurd-largefile - [1fda587] [perl #103014] http://bugs.debian.org/645790 enable LFS on GNU/Hurd
DEBPKG:debian/hurd_test_todo_syslog - http://bugs.debian.org/650093 Disable failing GNU/Hurd tests in cpan/Sys-Syslog/t/syslog.t
DEBPKG:fixes/hurd_skip_itimer_virtual - [rt.cpan.org #72754] http://bugs.debian.org/650094 Skip interval timer tests in Time::HiRes on GNU/Hurd
DEBPKG:debian/hurd_test_skip_sigdispatch - http://bugs.debian.org/650188 Disable failing GNU/Hurd tests op/sigdispatch.t
DEBPKG:debian/hurd_test_skip_stack - http://bugs.debian.org/650175 Disable failing GNU/Hurd tests dist/threads/t/stack.t
DEBPKG:debian/hurd_test_skip_pipe - http://bugs.debian.org/650187 Disable failing GNU/Hurd tests io/pipe.t
DEBPKG:debian/hurd_test_skip_io_pipe - http://bugs.debian.org/650096 Disable failing GNU/Hurd tests dist/IO/t/io_pipe.t
DEBPKG:fixes/manpage_name_CPAN - http://bugs.debian.org/650448 [rt.cpan.org #73396] cpan/CPAN: add NAME headings in modules with POD
DEBPKG:fixes/manpage_name_CPANPLUS - http://bugs.debian.org/650450 [rt.cpan.org #73398] cpan/CPANPLUS: add NAME headings in modules with POD
DEBPKG:fixes/manpage_name_Test-Harness - http://bugs.debian.org/650451 [rt.cpan.org #73399] cpan/Test-Harness: add NAME headings in modules with POD
DEBPKG:fixes/manpage_name_Term-UI - http://bugs.debian.org/650452 [rt.cpan.org #73400] cpan/Term-UI: add NAME headings in modules with POD
DEBPKG:fixes/podlators_ae_ligature_fallback - http://bugs.debian.org/652851 Fix the ASCII fallback string for AE
DEBPKG:fixes/fsf_postal_address - [de89470] Update references to the FSF's postal address
DEBPKG:fixes/cpan_module_pod_fixes - [perl #106870] [rt.cpan.org #73447] [rt.cpan.org #73446] Fix POD formatting in Term-Cap and Pod-Parser
DEBPKG:fixes/cgi_no_shellwords_pl - Use Text::ParseWords instead of shellwords.pl
DEBPKG:fixes/path_max_fallback - [perl #109262] http://bugs.debian.org/656869 Don't use _POSIX_PATH_MAX as a fallback PATH_MAX
DEBPKG:debian/makemaker-pasthru - http://bugs.debian.org/660195 [rt.cpan.org #28632] Make EU::MM pass LD through to recursive Makefile.PL invocations
DEBPKG:fixes/propagate_tainted_errors.patch - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663158 [perl #111654] properly propagate tainted errors
DEBPKG:debian/perl5db-x-terminal-emulator.patch - http://bugs.debian.org/668490 Invoke x-terminal-emulator rather than xterm in perl5db.pl
DEBPKG:fixes/socket_cache_propagate - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659075 [rt.cpan.org #61577] [perl #112736] sockdomain and socktype undef on newly accepted sockets
DEBPKG:fixes/ipc_open3 - [perl #114454] http://bugs.debian.org/683894 IPC::Open3::open3(..., '-') broken
DEBPKG:fixes/CVE-2012-5195 - avoid calling memset with a negative count
DEBPKG:fixes/CVE-2012-5526 - [PATCH 1/4] CR escaping for P3P header
DEBPKG:CVE-2013-1667.patch - [PATCH] Prevent premature hsplit() calls, and only trigger REHASH after hsplit()
Built under linux
Compiled at Mar 18 2013 18:58:27
@INC:
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl
.

perl -MSDL -E 'say $SDL::VERSION' gives me 2.54

uname -a output:
Linux localhost 3.5.0-43-generic #66-Ubuntu SMP Wed Oct 23 17:33:43 UTC 2013 i686 i686 i686 GNU/Linux

What else information should I add? Write back, and I'll provide it. Thank you.

Shlomi Fish
Collaborator

It seems like you're using Ubuntu. Which version of Ubuntu are you using and is it up-to-date? What is your hardware?

varnie

yes, I am running Ubuntu 12.10. It ls almost the last one release (while the next (lastest) release is 13.10).

my hardware:
processor: Intel Core 2 Duo E6600
motherboard: Asus P5B Deluxe
video card: NVIDIA GeForce 7900 GS
memory: 4GB

Shlomi Fish
Collaborator

@varnie : OK, an update - I downloaded, installed, and updated a new Ubuntu 12.10 VM in VirtualBox, and after installing all the dependencies, I was able to reproduce your problem. This search - https://www.google.com/search?q=%22Had%20problems%20bootstrapping%20Inline%20module%22%20ubuntu - indicates it may be a bigger problem with this version of Ubuntu. Upgrading Inline and Inline::C using local::lib did not help with that.

Regards,

-- Shlomi Fish

Shlomi Fish
Collaborator

@varnie : another update - I was able to reproduce the problem in an Ubuntu 13.10 i586 VM (getting the same crash). However, the program runs fine inside a Mageia Linux Cauldron i586 VM (after I installed all dependencies). I am going to try a Debian i386 VM next (both stable and testing).

Shlomi Fish
Collaborator

@varnie : another update - this bug happens in Debian Stable 7.2.0 i586 too.

Shlomi Fish
Collaborator

@varnie : I am now able to reproduce this bug in a Debian Testing i586 VM ( jessie ) although in this case, I don't get the stack trace and instead the perl process hangs there while consuming 100% of CPU.

Shlomi Fish
Collaborator

@varnie : I now tested with a vanilla perl-5.18.1 installed using perlbrew on my Debian Testing i586 VM, and it ran the xs_effects.pl program fine. So this seems likely to be a bug with the Debian/Ubuntu perl.

varnie

Good news:
I have installed perlbrew on my Ubuntu 12.10 system and switched to perl 5.19.6 version (no-threads version), then I installed cpanm and all the required perl modules for that program. I managed to run the xs_effects.pl proggy with perl 5.19.6 on my Ubuntu 12.10, finally!

Shlomi Fish
Collaborator

@varnie : I'm glad to hear things worked out for you eventually. I reported the bug to the Debian bug tracker here - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730549 - and there's some investigation in progress. Can I close this issue here?

varnie

Hi, Shlomi Fish. You can close the issue, of course. Thank you.

Shlomi Fish
Collaborator

@varnie : closing then. Thanks!

Shlomi Fish shlomif closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.