Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2012 12:32:51 GMT
From:      Tomasz CEDRO <cederom@tlen.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169371: SANE segfauls
Message-ID:  <201206241232.q5OCWps0061928@red.freebsd.org>
Resent-Message-ID: <201206241240.q5OCe68K008446@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169371
>Category:       ports
>Synopsis:       SANE segfauls
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 12:40:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Tomasz CEDRO
>Release:        9.0-RELEASE AMD64
>Organization:
CeDeROM
>Environment:
FreeBSD hexagon 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
sane-backends-1.0.22_2 and sane-frontends-1.0.14_8 segfaults on execution. Build from fresh ports. Unable to use scanning services.
>How-To-Repeat:
hexagon# gdb /usr/local/sbin/saned 
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)...
(gdb) run
Starting program: /usr/local/sbin/saned 
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 101586]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 101586]
0x0000000801e0c3a4 in _pthread_cancel_enter () from /lib/libthr.so.3
(gdb) bt
#0  0x0000000801e0c3a4 in _pthread_cancel_enter () from /lib/libthr.so.3
#1  0x0000000801e04a81 in open () from /lib/libthr.so.3
#2  0x0000000803204334 in __stack_chk_fail () from /lib/libssp.so.0
#3  0x00000008032043a2 in __stack_chk_fail () from /lib/libssp.so.0
#4  0x00007fffffffd950 in ?? ()
#5  0x000000080084a200 in ?? () from /libexec/ld-elf.so.1
#6  0x00000008006587c0 in ?? ()
#7  0x0000000803203a5e in .init () from /lib/libssp.so.0
#8  0x000000080084a200 in ?? () from /libexec/ld-elf.so.1
#9  0x000000080061a158 in dlinfo () from /libexec/ld-elf.so.1
#10 0x000000080061c618 in dlsym () from /libexec/ld-elf.so.1
#11 0x0000000800616599 in .text () from /libexec/ld-elf.so.1
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
(...)

hexagon# gdb /usr/local/bin/scanimage 
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)...
(gdb) run
Starting program: /usr/local/bin/scanimage 
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100211]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100211]
0x0000000801e053a4 in _pthread_cancel_enter () from /lib/libthr.so.3
(gdb) bt
#0  0x0000000801e053a4 in _pthread_cancel_enter () from /lib/libthr.so.3
#1  0x0000000801dfda81 in open () from /lib/libthr.so.3
#2  0x0000000802fdb334 in __stack_chk_fail () from /lib/libssp.so.0
#3  0x0000000802fdb3a2 in __stack_chk_fail () from /lib/libssp.so.0
#4  0x00007fffffffd940 in ?? ()
#5  0x0000000800843200 in ?? () from /libexec/ld-elf.so.1
#6  0x0000000800651840 in ?? ()
#7  0x0000000802fdaa5e in .init () from /lib/libssp.so.0
#8  0x0000000800843200 in ?? () from /libexec/ld-elf.so.1
#9  0x0000000800613158 in dlinfo () from /libexec/ld-elf.so.1
#10 0x0000000800615618 in dlsym () from /libexec/ld-elf.so.1
#11 0x000000080060f599 in .text () from /libexec/ld-elf.so.1
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x0000000000000001 in ?? ()
(...)

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206241232.q5OCWps0061928>