Bug 605502
Summary: | python fails with a backtrace | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rakesh Pandit <rpandit> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | CC: | ffesti, notting, rpandit |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-13 06:36:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rakesh Pandit
2010-06-18 06:35:06 UTC
$ gdb --core core.dump (gdb) Core was generated by `python ./script.py ...' Program terminated with signal 6, Aborted. #0 0x00007fb90367d9c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); ... (gdb) bt #0 0x00007fb90367d9c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fb90367f1a5 in abort () at abort.c:92 #2 0x00007fb9036bae2b in __libc_message (do_abort=2, fmt=0x7fb90378ea98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186 #3 0x00007fb9036c0746 in malloc_printerr (action=3, str=0x7fb90378ee20 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6283 #4 0x00007fb9036c5b90 in _int_realloc (av=0x7fb8e8000020, oldp=0x7fb8e81ca600, oldsize=<value optimized out>, nb=<value optimized out>) at malloc.c:5339 #5 0x00007fb9036c5d85 in __libc_realloc (oldmem=0x7fb8e81ca610, bytes=32) at malloc.c:3821 #6 0x00007fb8f95dd4f8 in ?? () #7 0x0000000000000008 in ?? () #8 0x00007fb8f9f8fab3 in ?? () #9 0x0000000000000003 in ?? () #10 0x0000000000000000 in ?? () (gdb) list 59 if (__builtin_expect (pid <= 0, 0)) 60 pid = (pid & INT_MAX) == 0 ? selftid : -pid; 61 #endif 62 63 #if __ASSUME_TGKILL 64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); 65 #else 66 # ifdef __NR_tgkill 67 int res = INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); 68 if (res != -1 || errno != ENOSYS) http://people.pnq.redhat.com/~rpandit/core.12029 core dump is too big to be attached in BZ, so I have kept it on my internal people page. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Looks like it's in the rpm library routines. Umm .. I did not looked carefully. Will try to get a reproducible script at least (Monday now :) .. this side of world it is already weekend. Any chance of a reproducer (or is this actually reproducable for you)? Yes it does on one of our servers. I will try to update with a reproducer today evening. Ping? :) If a minimal reproducer is tough, a backtrace with all debuginfos installed and/or a pointer to the crashing script, and the exact rpm version involved would be helpful. It turns out this crash is caused by using the - not thread save - rpmlib in a threaded environment. Moving all calls to the library into one thread or using any other serialization method should fix this. CLOSING as NOTABUG |