>Number:         154073
>Category:       amd64
>Synopsis:       libz causes perl to exit on signal 11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 07:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexader Zhegalov
>Release:        8.1-STABLE
>Organization:
STECCOM
>Environment:
FreeBSD msk-be-srv-nflow.steccom.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Oct 
28 14:54:55 MSD 2010     
r...@msk-be-srv-nflow.steccom.net:/usr/obj/usr/src/sys/NFLOW  amd64

>Description:
I use nfsen with perl 5.10 and 5.12 and get periodical perl exit with signal 11
I don't have this problem on i386 server with the same nfsen configuration and 
data flows.

/var/tmp# gdb -c /var/tmp/perl.63325.core /usr/local/bin/perl
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols 
found)...
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/perl5/5.12.2/mach/CORE/libperl.so...(no 
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/CORE/libperl.so
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libutil.so.8...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.8
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/perl5/5.12.2/mach/auto/Fcntl/Fcntl.so...(no 
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Fcntl/Fcntl.so
Reading symbols from /usr/local/lib/perl5/5.12.2/mach/auto/POSIX/POSIX.so...(no 
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/POSIX/POSIX.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/Socket/Socket.so...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Socket/Socket.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/Sys/Syslog/Syslog.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Sys/Syslog/Syslog.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/IPC/SysV/SysV.so...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/IPC/SysV/SysV.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/Data/Dumper/Dumper.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/local/lib/perl5/5.12.2/mach/auto/Cwd/Cwd.so...(no 
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Cwd/Cwd.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/List/Util/Util.so...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/List/Util/Util.so
Reading symbols from 
/usr/local/lib/perl5/site_perl/5.12.2/mach/auto/RRDs/RRDs.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/site_perl/5.12.2/mach/auto/RRDs/RRDs.so
Reading symbols from /usr/local/lib/librrd.so.5...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/librrd.so.5
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /usr/local/lib/libpixman-1.so.9...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libpixman-1.so.9
Reading symbols from /usr/local/lib/libpng.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libpng.so.6
Reading symbols from /usr/local/lib/libxcb-shm.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libxcb-shm.so.0
Reading symbols from /usr/local/lib/libxcb-render.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libxcb-render.so.0
Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libpango-1.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libpcre.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/perl5/5.12.2/mach/auto/IO/IO.so...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/IO/IO.so
Reading symbols from 
/usr/local/lib/perl5/5.12.2/mach/auto/Storable/Storable.so...done.
Loaded symbols for /usr/local/lib/perl5/5.12.2/mach/auto/Storable/Storable.so
Reading symbols from 
/usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  longest_match () at /usr/src/lib/libz/contrib/gcc_gvmat64/gvmat64.S:453
453             xor rax, [rdi + rdx + 8+8]
[New Thread 8011568c0 (LWP 100607)]
[New LWP 100559]


(gdb) bt full
#0  longest_match () at /usr/src/lib/libz/contrib/gcc_gvmat64/gvmat64.S:453
No locals.
#1  0x00000008039b8241 in deflate_slow (s=0xde00, flush=3) at 
/usr/src/lib/libz/deflate.c:1595
        hash_head = 50886
        bflush = Variable "bflush" is not available.
Current language:  auto; currently asm


(gdb) bt
#0  longest_match () at /usr/src/lib/libz/contrib/gcc_gvmat64/gvmat64.S:453
#1  0x00000008039b8241 in deflate_slow (s=0xde00, flush=3) at 
/usr/src/lib/libz/deflate.c:1595
#2  0x00000008039b729a in deflate (strm=0x8010c0bc0, flush=0) at 
/usr/src/lib/libz/deflate.c:790
#3  0x000000080227c367 in png_write_filtered_row () from 
/usr/local/lib/libpng.so.6
#4  0x000000080227c768 in png_write_find_filter () from 
/usr/local/lib/libpng.so.6
#5  0x00000008022785f5 in png_write_row () from /usr/local/lib/libpng.so.6
#6  0x00000008022787bd in png_write_image () from /usr/local/lib/libpng.so.6
#7  0x0000000801fca6a8 in write_png () from /usr/local/lib/libcairo.so.2
#8  0x0000000801fca815 in cairo_surface_write_to_png () from 
/usr/local/lib/libcairo.so.2
#9  0x0000000801d33107 in rrd_create () from /usr/local/lib/librrd.so.5
#10 0x0000000801d3465e in rrd_graph_v () from /usr/local/lib/librrd.so.5
#11 0x0000000801d347fa in rrd_graph () from /usr/local/lib/librrd.so.5
#12 0x0000000801c1b2bf in XS_RRDs_graph () from 
/usr/local/lib/perl5/site_perl/5.12.2/mach/auto/RRDs/RRDs.so
#13 0x00000008006df803 in Perl_pp_entersub () from 
/usr/local/lib/perl5/5.12.2/mach/CORE/libperl.so
#14 0x00000008006dde4e in Perl_runops_standard () from 
/usr/local/lib/perl5/5.12.2/mach/CORE/libperl.so
#15 0x000000080068bbc2 in perl_run () from 
/usr/local/lib/perl5/5.12.2/mach/CORE/libperl.so
#16 0x0000000000400da5 in main ()


I tried to compile libz with CPUTYPE nocona and without CPUTYPE and it didn't 
help.

cat /etc/make.conf
CPUTYPE?=               nocona
CFLAGS=                 -O2 -fno-strict-aliasing -pipe

TRACEROUTE_NO_IPSEC=    true    # do not build traceroute(8) with IPSEC support

BOOTWAIT=               3000

SUP_UPDATE=             true

SUP=                    /usr/bin/csup
SUPFLAGS=               -g -z -L 2
SUPHOST=                cvsup2.ru.FreeBSD.org
SUPFILE=                /usr/local/etc/cvsup/standard-supfile
PORTSSUPFILE=           /usr/local/etc/cvsup/ports-supfile
NO_DOCUPDATE=           true

TOP_TABLE_SIZE=         101

SENDMAIL_MC=            /etc/mail/workstation.mc
SENDMAIL_SUBMIT_MC=     /etc/mail/workstation.submit.mc

KERNCONF=               NFLOW

# For all ports:
WITHOUT_IPV6=           yes
WITHOUT_X11=            yes
WITHOUT_GUI=            yes
WITHOUT_NLS=            yes

# added by use.perl 2010-12-03 09:38:54
PERL_VERSION=5.12.2


>How-To-Repeat:
The problem happens at different times and I have not caught dependency.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to