FS#19412 - [irssi] crashes with testing/perl

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Monday, 10 May 2010, 20:20 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 12 May 2010, 23:37 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ionut Biru (wonder)
Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

extra/irssi crashes in glibc with testing/perl. Rebuilding fixed the problem for me.

10:36 *** glibc detected *** irssi: realloc(): invalid pointer: 0x08c8a80c ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c4f1)[0xb71fe4f1]
/lib/libc.so.6(realloc+0x2ad)[0xb720321d]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_safesysrealloc+0x47)[0xb767cf87]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_markstack_grow+0x6c)[0xb76cb96c]
irssi(irssi_callXS+0x70)[0x80e88a0]
/usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.so(boot_Irssi+0x2bb)[0xb6f037ab]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_pp_entersub+0x4a8)[0xb769f2f8]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_runops_standard+0x32)[0xb7696382]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_call_sv+0x3fa)[0xb76321aa]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_call_list+0x29c)[0xb763281c]
/usr/lib/perl5/core_perl/CORE/libperl.so(+0x26d0e)[0xb761bd0e]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_newATTRSUB+0xcb0)[0xb7629620]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_utilize+0x290)[0xb7629ea0]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_yyparse+0x2e12)[0xb765f932]
/usr/lib/perl5/core_perl/CORE/libperl.so(+0xdab22)[0xb76cfb22]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_pp_entereval+0x4bc)[0xb76dc62c]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_runops_standard+0x32)[0xb7696382]
/usr/lib/perl5/core_perl/CORE/libperl.so(+0xda72e)[0xb76cf72e]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_runops_standard+0x32)[0xb7696382]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_call_sv+0x195)[0xb7631f45]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_call_pv+0x44)[0xb7632494]
irssi[0x80e5922]
irssi[0x80e6131]
irssi[0x80ddf5e]
irssi(signal_emit+0x4c)[0x80de54c]
irssi(main+0x1b9)[0x806f3f9]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb71a8b96]
irssi[0x8059c41]
======= Memory map: ========
08048000-08103000 r-xp 00000000 08:11 836532 /usr/bin/irssi
08103000-0810c000 rw-p 000bb000 08:11 836532 /usr/bin/irssi
08c25000-08e33000 rw-p 00000000 00:00 0 [heap]
b6eb4000-b6ecf000 r-xp 00000000 08:11 295821 /usr/lib/libgcc_s.so.1
b6ecf000-b6ed0000 rw-p 0001a000 08:11 295821 /usr/lib/libgcc_s.so.1
b6eea000-b6f14000 r-xp 00000000 08:11 588093 /usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.so
b6f14000-b6f15000 rw-p 0002a000 08:11 588093 /usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.so
b6f15000-b70c6000 r--p 00000000 08:11 482150 /usr/lib/locale/locale-archive
b70c6000-b70d0000 r-xp 00000000 08:11 508462 /lib/libnss_files-2.11.1.so
b70d0000-b70d1000 r--p 00009000 08:11 508462 /lib/libnss_files-2.11.1.so
b70d1000-b70d2000 rw-p 0000a000 08:11 508462 /lib/libnss_files-2.11.1.so
b70d2000-b70d4000 rw-p 00000000 00:00 0
b70d4000-b70e8000 r-xp 00000000 08:11 295452 /usr/lib/libz.so.1.2.5
b70e8000-b70e9000 rw-p 00014000 08:11 295452 /usr/lib/libz.so.1.2.5
b70e9000-b711b000 r-xp 00000000 08:11 505934 /lib/libpcre.so.0.0.1
b711b000-b711c000 rw-p 00031000 08:11 505934 /lib/libpcre.so.0.0.1
b711c000-b711e000 r-xp 00000000 08:11 507902 /lib/libutil-2.11.1.so
b711e000-b711f000 r--p 00001000 08:11 507902 /lib/libutil-2.11.1.so
b711f000-b7120000 rw-p 00002000 08:11 507902 /lib/libutil-2.11.1.so
b7120000-b7128000 r-xp 00000000 08:11 507903 /lib/libcrypt-2.11.1.so
b7128000-b7129000 r--p 00007000 08:11 507903 /lib/libcrypt-2.11.1.so
b7129000-b712a000 rw-p 00008000 08:11 507903 /lib/libcrypt-2.11.1.so
b712a000-b7151000 rw-p 00000000 00:00 0
b7151000-b7174000 r-xp 00000000 08:11 505945 /lib/libm-2.11.1.so
b7174000-b7175000 r--p 00022000 08:11 505945 /lib/libm-2.11.1.so
b7175000-b7176000 rw-p 00023000 08:11 505945 /lib/libm-2.11.1.so
b7176000-b7177000 rw-p 00000000 00:00 0
b7177000-b7179000 r-xp 00000000 08:11 505944 /lib/libdl-2.11.1.so
b7179000-b717a000 r--p 00001000 08:11 505944 /lib/libdl-2.11.1.so
b717a000-b717b000 rw-p 00002000 08:11 505944 /lib/libdl-2.11.1.so
b717b000-b718e000 r-xp 00000000 08:11 505951 /lib/libnsl-2.11.1.so
b718e000-b718f000 r--p 00012000 08:11 505951 /lib/libnsl-2.11.1.so
b718f000-b7190000 rw-p 00013000 08:11 505951 /lib/libnsl-2.11.1.so
b7190000-b7192000 rw-p 00000000 00:00 0
b7192000-b72d7000 r-xp 00000000 08:11 508459 /lib/libc-2.11.1.so
b72d7000-b72d8000 ---p 00145000 08:11 508459 /lib/libc-2.11.1.so
b72d8000-b72da000 r--p 00145000 08:11 508459 /lib/libc-2.11.1.so
b72da000-b72db000 rw-p 00147000 08:11 508459 /lib/libc-2.11.1.so
b72db000-b72de000 rw-p 00000000 00:00 0
b72de000-b7326000 r-xp 00000000 08:11 530279 /lib/libncursesw.so.5.7
b7326000-b7329000 rw-p 00048000 08:11 530279 /lib/libncursesw.so.5.7
b7329000-b748e000 r-xp 00000000 08:11 479957 /usr/lib/libcrypto.so.1.0.0
b748e000-b74a2000 rw-p 00165000 08:11 479957 /usr/lib/libcrypto.so.1.0.0
b74a2000-b74a5000 rw-p 00000000 00:00 0
b74a5000-b74f2000 r-xp 00000000 08:11 479962 /usr/lib/libssl.so.1.0.0
b74f2000-b74f6000 rw-p 0004c000 08:11 479962 /usr/lib/libssl.so.1.0.0
b74f6000-b74f7000 rw-p 00000000 00:00 0
b74f7000-b75be000 r-xp 00000000 08:11 476014 /usr/lib/libglib-2.0.so.0.2400.1
b75be000-b75bf000 rw-p 000c6000 08:11 476014 /usr/lib/libglib-2.0.so.0.2400.1
b75bf000-b75c1000 r-xp 00000000 08:11 475998 /usr/lib/libgmodule-2.0.so.0.2400.1
b75c1000-b75c2000 rw-p 00002000 08:11 475998 /usr/lib/libgmodule-2.0.so.0.2400.1
b75c2000-b75d7000 r-xp 00000000 08:11 505925 /lib/libpthread-2.11.1.so
b75d7000-b75d8000 r--p 00014000 08:11 505925 /lib/libpthread-2.11.1.so
b75d8000-b75d9000 rw-p 00015000 08:11 505925 /lib/libpthread-2.11.1.so
b75d9000-b75db000 rw-p 00000000 00:00 0
b75f0000-b75f1000 rw-p 00000000 00:00 0
b75f1000-b75f3000 r-xp 00000000 08:11 481851 /usr/lib/gconv/CP1252.so
b75f3000-b75f4000 r--p 00001000 08:11 481851 /usr/lib/gconv/CP1252.so
b75f4000-b75f5000 rw-p 00002000 08:11 481851 /usr/lib/gconv/CP1252.so
b75f5000-b7747000 r-xp 00000000 08:11 499674 /usr/lib/perl5/core_perl/CORE/libperl.so
b7747000-b774c000 rw-p 00151000 08:11 499674 /usr/lib/perl5/core_perl/CORE/libperl.so
b774c000-b774d000 rw-p 00000000 00:00 0
b774d000-b774e000 r-xp 00000000 00:00 0 [vdso]
b774e000-b776a000 r-xp 00000000 08:11 505959 /lib/ld-2.11.1.so
b776a000-b776b000 r--p 0001b000 08:11 505959 /lib/ld-2.11.1.so
b776b000-b776c000 rw-p 0001c000 08:11 505959 /lib/ld-2.11.1.so
bf83e000-bf853000 rw-p 00000000 00:00 0 [stack]
Aborted
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 12 May 2010, 23:37 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Monday, 10 May 2010, 21:59 GMT
irssi works for me using perl from testing
Comment by Tom Killian (tomk) - Monday, 10 May 2010, 22:19 GMT
I'm getting the same error as Dave. I haven't rebuilt yet - downgraded perl for now to get irssi going again.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 11 May 2010, 02:28 GMT
Same issue here - rebuild of irssi gets it working again.
Comment by Ionut Biru (wonder) - Tuesday, 11 May 2010, 12:30 GMT
ok, new version in testing. let me know if is fixed
Comment by Dave Reisner (falconindy) - Tuesday, 11 May 2010, 14:24 GMT
-2 works here.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 11 May 2010, 15:53 GMT
works here.
Comment by Dan McGee (toofishes) - Wednesday, 12 May 2010, 22:44 GMT
If this *links* to libperl, why the heck doesn't it depend on it?

$ ldd /usr/bin/irssi | grep perl
libperl.so => /usr/lib/perl5/core_perl/CORE/libperl.so (0xb75fd000)
Comment by Ionut Biru (wonder) - Wednesday, 12 May 2010, 22:52 GMT
because namcap interprets optdepends as depends and doesn't scream.
Comment by Dave Reisner (falconindy) - Wednesday, 12 May 2010, 22:52 GMT
For the same reason it doesn't depend on ncurses?

(the answer is: i have no idea, but hopefully someone else does)
Comment by Ionut Biru (wonder) - Wednesday, 12 May 2010, 22:55 GMT
yes, Dave spots another reason. if i remember well namcap ignores dependencies from base group.

****Starting namcap log****
irssi W: Referenced library 'libperl.so' is an uninstalled dependency
irssi W: Dependency included and not needed ('perl')
Comment by Dan McGee (toofishes) - Wednesday, 12 May 2010, 23:28 GMT
For something like this (not a script), we should probably depend explicitly on it so it at least tweaks our eyes when we need to do rebuilds on shared libraries.

Loading...