Bug 838155

Summary: [abrt] coreutils-8.12-7.fc16: __GI_getenv: Process /usr/bin/uniq was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Olivier <olivier>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: kdudka, maxamillion, ovasik, pbrady, p, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:803b15662a6a8b550d1c65a224a153520669e7e4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 03:32:46 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Description Flags
File: backtrace none

Description Olivier 2012-07-06 16:58:56 EDT
libreport version: 2.0.10
abrt_version:   2.0.7
backtrace_rating: 4
cmdline:        uniq -c
crash_function: __GI_getenv
executable:     /usr/bin/uniq
kernel:         3.4.2-1.fc16.x86_64
pid:            24465
pwd:            /home/olivier
time:           Fri 06 Jul 2012 10:57:23 PM CEST
uid:            1000
username:       olivier

backtrace:      Text file, 9665 bytes


:/usr/bin/uniq coreutils-8.12-7.fc16.x86_64 (Fedora Project) 1334647525
:/lib64/libc-2.14.90.so glibc-2.14.90-24.fc16.7.x86_64 (Fedora Project) 1338379677
:/usr/lib/locale/locale-archive glibc-common-2.14.90-24.fc16.7.x86_64 (Fedora Project) 1338379672
:/lib64/ld-2.14.90.so glibc-2.14.90-24.fc16.7.x86_64 (Fedora Project) 1338379677

:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:'module=() {  eval `/usr/bin/modulecmd bash $*`\n}'

:00400000-00409000 r-xp 00000000 fd:05 2789863                            /usr/bin/uniq
:00608000-00609000 r--p 00008000 fd:05 2789863                            /usr/bin/uniq
:00609000-0060a000 rw-p 00009000 fd:05 2789863                            /usr/bin/uniq
:011aa000-011cb000 rw-p 00000000 00:00 0                                  [heap]
:34fb000000-34fb022000 r-xp 00000000 fd:05 1703965                        /lib64/ld-2.14.90.so
:34fb221000-34fb222000 r--p 00021000 fd:05 1703965                        /lib64/ld-2.14.90.so
:34fb222000-34fb223000 rw-p 00022000 fd:05 1703965                        /lib64/ld-2.14.90.so
:34fb223000-34fb224000 rw-p 00000000 00:00 0 
:34fb400000-34fb5ad000 r-xp 00000000 fd:05 1703966                        /lib64/libc-2.14.90.so
:34fb5ad000-34fb7ad000 ---p 001ad000 fd:05 1703966                        /lib64/libc-2.14.90.so
:34fb7ad000-34fb7b1000 r--p 001ad000 fd:05 1703966                        /lib64/libc-2.14.90.so
:34fb7b1000-34fb7b3000 rw-p 001b1000 fd:05 1703966                        /lib64/libc-2.14.90.so
:34fb7b3000-34fb7b8000 rw-p 00000000 00:00 0 
:7f6098545000-7f609e968000 r--p 00000000 fd:05 2791070                    /usr/lib/locale/locale-archive
:7f609e968000-7f609e96b000 rw-p 00000000 00:00 0 
:7f609e999000-7f609e99b000 rw-p 00000000 00:00 0 
:7fffb1caf000-7fffb1cd0000 rw-p 00000000 00:00 0                          [stack]
:7fffb1cd4000-7fffb1cd5000 r-xp 00000000 00:00 0                          [vdso]
:ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

:Jul  6 22:57:23 tannat kernel: [247358.186774] uniq[24465]: segfault at 7ff7b1ccfca5 ip 00000034fb438f8c sp 00007fffb1ccdd80 error 4 in libc-2.14.90.so[34fb400000+1ad000]
:Jul  6 22:57:23 tannat abrt[24500]: Saved core dump of pid 24465 (/usr/bin/uniq) to /var/spool/abrt/ccpp-2012-07-06-22:57:23-24465 (385024 bytes)
Comment 1 Olivier 2012-07-06 16:59:00 EDT
Created attachment 596684 [details]
File: backtrace
Comment 2 Pádraig Brady 2012-07-06 19:08:19 EDT
That's a strange one.
If it is a bug I'd be inclined to think it's against glibc (2.14.90-24.fc16.7.x86_64)

There are similar failures in bug #746787 and bug #814235,
though they're in multithreaded programs.
uniq is not multithreaded, and I don't think implicit threads are created for it.

I presume this is not easily reproducible?
Comment 3 Ondrej Vasik 2012-07-07 13:15:24 EDT
Based on the backtrace it seems that this may be another flaw in downstream only multibyte i18n patch. Reporter, can you attach the reproducer files, if this issue is easily reproducible for you?
Comment 4 Olivier 2012-07-07 15:14:09 EDT
Hi Ondrej, Sorry I cannot reproduce this bug. It occured only once just after I logged in.
Comment 5 Ondrej Vasik 2012-12-13 03:32:46 EST
Doing cleanup. Closing this one insufficient data, like Pádraig said, maybe glibc glitch. Because it is not reproducable, for the reporter, further analysis is probably impossible. Feel free to reopen the issue if you'll be able to reproduce this segfault somehow.