[Assp-test] 2.3.3 keeps crashing

2014-01-22 Thread Michelle Dupuis
I saw yesterday that someone else had the same problem.  I managed to capture a 
traceback (below) - hopefully that helps diagnose the problems.

# *** stack smashing detected ***: /usr/bin/perl /usr/local/assp/assp.pl 
MainLoop - next: Tue Jan 21 18:23:15 2014 terminated
=== Backtrace: =
/lib64/libc.so.6(__fortify_fail+0x37)[0x37a9d01d47]
/lib64/libc.so.6(__fortify_fail+0x0)[0x37a9d01d10]
/usr/lib64/perl5/CORE/libperl.so[0x3aad310635]
/usr/lib64/perl5/CORE/libperl.so(Perl_to_utf8_fold+0x22)[0x3aad310662]
/usr/lib64/perl5/CORE/libperl.so(Perl_ibcmp_utf8+0x1f4)[0x3aad3108f4]
/usr/lib64/perl5/CORE/libperl.so[0x3aad30433f]
/usr/lib64/perl5/CORE/libperl.so(Perl_regexec_flags+0xfd5)[0x3aad30cb65]
/usr/lib64/perl5/CORE/libperl.so(Perl_pp_match+0x2ed)[0x3aad2aaf3d]
/usr/lib64/perl5/CORE/libperl.so(Perl_runops_standard+0x16)[0x3aad2a4b06]
/usr/lib64/perl5/CORE/libperl.so(Perl_call_sv+0x4cf)[0x3aad24c5df]
/usr/local/lib64/perl5/auto/threads/threads.so(+0x69f9)[0x7f0f567c79f9]
/lib64/libpthread.so.0[0x37aa007851]
/lib64/libc.so.6(clone+0x6d)[0x37a9ce811d]
=== Memory map: 
0040-00402000 r-xp  08:02 402554 
/usr/bin/perl
00601000-00603000 rw-p 1000 08:02 402554 
/usr/bin/perl
01dff000-178db000 rw-p  00:00 0  [heap]
3495c0-3495c16000 r-xp  08:02 1438858
/lib64/libnsl-2.12.so
3495c16000-3495e15000 ---p 00016000 08:02 1438858
/lib64/libnsl-2.12.so
3495e15000-3495e16000 r--p 00015000 08:02 1438858
/lib64/libnsl-2.12.so
3495e16000-3495e17000 rw-p 00016000 08:02 1438858
/lib64/libnsl-2.12.so
3495e17000-3495e19000 rw-p  00:00 0
37a940-37a942 r-xp  08:02 1438424
/lib64/ld-2.12.so
37a961f000-37a962 r--p 0001f000 08:02 1438424
/lib64/ld-2.12.so
37a962-37a9621000 rw-p 0002 08:02 1438424
/lib64/ld-2.12.so
37a9621000-37a9622000 rw-p  00:00 0
37a980-37a9802000 r-xp  08:02 1438457
/lib64/libdl-2.12.so
37a9802000-37a9a02000 ---p 2000 08:02 1438457
/lib64/libdl-2.12.so
37a9a02000-37a9a03000 r--p 2000 08:02 1438457
/lib64/libdl-2.12.so
37a9a03000-37a9a04000 rw-p 3000 08:02 1438457
/lib64/libdl-2.12.so
37a9c0-37a9d89000 r-xp  08:02 1438425
/lib64/libc-2.12.so
37a9d89000-37a9f89000 ---p 00189000 08:02 1438425
/lib64/libc-2.12.so
37a9f89000-37a9f8d000 r--p 00189000 08:02 1438425
/lib64/libc-2.12.so
37a9f8d000-37a9f8e000 rw-p 0018d000 08:02 1438425
/lib64/libc-2.12.so
37a9f8e000-37a9f93000 rw-p  00:00 0
37aa00-37aa017000 r-xp  08:02 1438453
/lib64/libpthread-2.12.so
37aa017000-37aa217000 ---p 00017000 08:02 1438453
/lib64/libpthread-2.12.so
37aa217000-37aa218000 r--p 00017000 08:02 1438453
/lib64/libpthread-2.12.so
37aa218000-37aa219000 rw-p 00018000 08:02 1438453
/lib64/libpthread-2.12.so
37aa219000-37aa21d000 rw-p  00:00 0
37aa80-37aa883000 r-xp  08:02 1438542
/lib64/libm-2.12.so
37aa883000-37aaa82000 ---p 00083000 08:02 1438542
/lib64/libm-2.12.so
37aaa82000-37aaa83000 r--p 00082000 08:02 1438542
/lib64/libm-2.12.so
37aaa83000-37aaa84000 rw-p 00083000 08:02 1438542
/lib64/libm-2.12.so
37aac0-37aac07000 r-xp  08:02 1438456
/lib64/librt-2.12.so
37aac07000-37aae06000 ---p 7000 08:02 1438456
/lib64/librt-2.12.so
37aae06000-37aae07000 r--p 6000 08:02 1438456
/lib64/librt-2.12.so
37aae07000-37aae08000 rw-p 7000 08:02 1438456
/lib64/librt-2.12.so
37ab00-37ab01d000 r-xp  08:02 1438610
/lib64/libselinux.so.1 (deleted)
37ab01d000-37ab21c000 ---p 0001d000 08:02 1438610
/lib64/libselinux.so.1 (deleted)
37ab21c000-37ab21d000 r--p 0001c000 08:02 1438610
/lib64/libselinux.so.1 (deleted)
37ab21d000-37ab21e000 rw-p 0001d000 08:02 1438610
/lib64/libselinux.so.1 (deleted)
37ab21e000-37ab21f000 rw-p  00:00 0
37ab80-37ab816000 r-xp  08:02 1438697
/lib64/libresolv-2.12.so
37ab816000-37aba16000 ---p 00016000 08:02 1438697
/lib64/libresolv-2.12.so
37aba16000-37aba17000 r--p 00016000 08:02 1438697
/lib64/libresolv-2.12.so
37aba17000-37aba18000 rw-p 00017000 08:02 1438697
/lib64/libresolv-2.12.so
37aba18000-37aba1a000 

Re: [Assp-test] 2.3.3 keeps crashing

2014-01-22 Thread Thomas Eckardt
Stack Smashing is actually a protection mechanism used by gcc to detect 
buffer overflow attacks. 

You can disable this protection of gcc using option
-fno-stack-protector 
while compiling Perl. 

see: http://stackoverflow.com/questions/1345670/stack-smashing-detected

assp.pl could not cause this stack attack - because it is not handling any 
stack it self - Perl and the XS components of the loaded modules are 
handling the stack. I think any of the used modules is causing this in its 
XS (C or c++) code.

Thomas 





Von:Michelle Dupuis mdup...@ocg.ca
An: assp-test@lists.sourceforge.net 
assp-test@lists.sourceforge.net, 
Datum:  22.01.2014 15:03
Betreff:[Assp-test] 2.3.3 keeps crashing



I saw yesterday that someone else had the same problem.  I managed to 
capture a traceback (below) - hopefully that helps diagnose the problems.

# *** stack smashing detected ***: /usr/bin/perl /usr/local/assp/assp.pl 
MainLoop - next: Tue Jan 21 18:23:15 2014 terminated
=== Backtrace: =
/lib64/libc.so.6(__fortify_fail+0x37)[0x37a9d01d47]
/lib64/libc.so.6(__fortify_fail+0x0)[0x37a9d01d10]
/usr/lib64/perl5/CORE/libperl.so[0x3aad310635]
/usr/lib64/perl5/CORE/libperl.so(Perl_to_utf8_fold+0x22)[0x3aad310662]
/usr/lib64/perl5/CORE/libperl.so(Perl_ibcmp_utf8+0x1f4)[0x3aad3108f4]
/usr/lib64/perl5/CORE/libperl.so[0x3aad30433f]
/usr/lib64/perl5/CORE/libperl.so(Perl_regexec_flags+0xfd5)[0x3aad30cb65]
/usr/lib64/perl5/CORE/libperl.so(Perl_pp_match+0x2ed)[0x3aad2aaf3d]
/usr/lib64/perl5/CORE/libperl.so(Perl_runops_standard+0x16)[0x3aad2a4b06]
/usr/lib64/perl5/CORE/libperl.so(Perl_call_sv+0x4cf)[0x3aad24c5df]
/usr/local/lib64/perl5/auto/threads/threads.so(+0x69f9)[0x7f0f567c79f9]
/lib64/libpthread.so.0[0x37aa007851]
/lib64/libc.so.6(clone+0x6d)[0x37a9ce811d]
=== Memory map: 
0040-00402000 r-xp  08:02 402554 /usr/bin/perl
00601000-00603000 rw-p 1000 08:02 402554 /usr/bin/perl
01dff000-178db000 rw-p  00:00 0 [heap]
3495c0-3495c16000 r-xp  08:02 1438858 /lib64/libnsl-2.12.so
3495c16000-3495e15000 ---p 00016000 08:02 1438858 /lib64/libnsl-2.12.so
3495e15000-3495e16000 r--p 00015000 08:02 1438858 /lib64/libnsl-2.12.so
3495e16000-3495e17000 rw-p 00016000 08:02 1438858 /lib64/libnsl-2.12.so
3495e17000-3495e19000 rw-p  00:00 0
37a940-37a942 r-xp  08:02 1438424 /lib64/ld-2.12.so
37a961f000-37a962 r--p 0001f000 08:02 1438424 /lib64/ld-2.12.so
37a962-37a9621000 rw-p 0002 08:02 1438424 /lib64/ld-2.12.so
37a9621000-37a9622000 rw-p  00:00 0
37a980-37a9802000 r-xp  08:02 1438457 /lib64/libdl-2.12.so
37a9802000-37a9a02000 ---p 2000 08:02 1438457 /lib64/libdl-2.12.so
37a9a02000-37a9a03000 r--p 2000 08:02 1438457 /lib64/libdl-2.12.so
37a9a03000-37a9a04000 rw-p 3000 08:02 1438457 /lib64/libdl-2.12.so
37a9c0-37a9d89000 r-xp  08:02 1438425 /lib64/libc-2.12.so
37a9d89000-37a9f89000 ---p 00189000 08:02 1438425 /lib64/libc-2.12.so
37a9f89000-37a9f8d000 r--p 00189000 08:02 1438425 /lib64/libc-2.12.so
37a9f8d000-37a9f8e000 rw-p 0018d000 08:02 1438425 /lib64/libc-2.12.so
37a9f8e000-37a9f93000 rw-p  00:00 0
37aa00-37aa017000 r-xp  08:02 1438453 
/lib64/libpthread-2.12.so
37aa017000-37aa217000 ---p 00017000 08:02 1438453 
/lib64/libpthread-2.12.so
37aa217000-37aa218000 r--p 00017000 08:02 1438453 
/lib64/libpthread-2.12.so
37aa218000-37aa219000 rw-p 00018000 08:02 1438453 
/lib64/libpthread-2.12.so
37aa219000-37aa21d000 rw-p  00:00 0
37aa80-37aa883000 r-xp  08:02 1438542 /lib64/libm-2.12.so
37aa883000-37aaa82000 ---p 00083000 08:02 1438542 /lib64/libm-2.12.so
37aaa82000-37aaa83000 r--p 00082000 08:02 1438542 /lib64/libm-2.12.so
37aaa83000-37aaa84000 rw-p 00083000 08:02 1438542 /lib64/libm-2.12.so
37aac0-37aac07000 r-xp  08:02 1438456 /lib64/librt-2.12.so
37aac07000-37aae06000 ---p 7000 08:02 1438456 /lib64/librt-2.12.so
37aae06000-37aae07000 r--p 6000 08:02 1438456 /lib64/librt-2.12.so
37aae07000-37aae08000 rw-p 7000 08:02 1438456 /lib64/librt-2.12.so
37ab00-37ab01d000 r-xp  08:02 1438610 /lib64/libselinux.so.1 
(deleted)
37ab01d000-37ab21c000 ---p 0001d000 08:02 1438610 /lib64/libselinux.so.1 
(deleted)
37ab21c000-37ab21d000 r--p 0001c000 08:02 1438610 /lib64/libselinux.so.1 
(deleted)
37ab21d000-37ab21e000 rw-p 0001d000 08:02 1438610 /lib64/libselinux.so.1 
(deleted)
37ab21e000-37ab21f000 rw-p  00:00 0
37ab80-37ab816000 r-xp  08:02 1438697 /lib64/libresolv-2.12.so
37ab816000-37aba16000 ---p 00016000 08:02 1438697 /lib64/libresolv-2.12.so
37aba16000-37aba17000 r--p 00016000 08:02 1438697 /lib64/libresolv-2.12.so
37aba17000-37aba18000 rw-p 00017000 08:02 1438697 /lib64/libresolv-2.12.so
37aba18000-37aba1a000 rw-p  00:00 0
37ac00-37ac032000 r-xp  08:02 1438859 /lib64/libidn.so.11.6.1
37ac032000-37ac231000 ---p 00032000 08:02 1438859 /lib64/libidn.so.11.6.1
37ac231000-37ac232000 rw-p 00031000