Discussion:
How to Resolve an Inline::C problem on Ubuntu 12.10 x86-64 -
Shlomi Fish
2013-11-26 07:17:58 UTC
Permalink
Hi all,

on https://github.com/PerlGameDev/SDL_Manual/issues/15 , we are running into a
problem with Inline::C and Inline that affects a program written for
SDL_Manual. It happens with Ubuntu 12.10 x86-64 on perl-5.14.x . I could find
previous mentions of this problem on Google, but no solution as far as I could
see.

Can anyone help with it?

The output is:

[QUOTE]
***@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)


[/QUOTE]


Regards,

-- Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://shlom.in/sussman

Flock aims to be the browser for the social web, but I found it to be the
completely anti-social browser.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
Shlomi Fish
2013-11-26 07:24:22 UTC
Permalink
Hi all,

On Tue, 26 Nov 2013 09:17:58 +0200
Post by Shlomi Fish
Hi all,
on https://github.com/PerlGameDev/SDL_Manual/issues/15 , we are running into a
problem with Inline::C and Inline that affects a program written for
SDL_Manual. It happens with Ubuntu 12.10 x86-64 on perl-5.14.x . I could find
previous mentions of this problem on Google, but no solution as far as I could
see.
Can anyone help with it?
just a correction - this is on i386 (32-bit) - not on x86-64 (64-bit).

Regards,

Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Beginners Site for the Vim text editor - http://vim.begin-site.org/

* Backward compatibility is your worst enemy.
* Backward compatibility is your users’ best friend.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
s***@public.gmane.org
2013-11-26 12:16:33 UTC
Permalink
-----Original Message-----
From: Shlomi Fish
Post by Shlomi Fish
Post by Shlomi Fish
Hi all,
on https://github.com/PerlGameDev/SDL_Manual/issues/15 , we are running into a
problem with Inline::C and Inline that affects a program written for
SDL_Manual. It happens with Ubuntu 12.10 x86-64 on perl-5.14.x . I could find
previous mentions of this problem on Google, but no solution as far as I could
see.
Can anyone help with it?
just a correction - this is on i386 (32-bit) - not on x86-64 (64-bit).
I don't see anything there that really suggests that the problem has
anything to do with Inline::C.
By the same token I don't see anything there that conclusively indicates
that it's not the fault of Inline:: C :-)

One thing you could try is recompiling the script with the config option
BUILD_NOISY=>1, and keep an eye out for any compiler warnings that might
help pinpoint the problem.

Googling for "*** glibc detected *** /usr/bin/perl: free(): invalid pointer"
turns up a few hits - none of which helped me understand what might be
happening.

Cheers,
Rob

Loading...