[Bug 355562] New: deadlock in malloc_check()
https://bugzilla.novell.com/show_bug.cgi?id=355562
Summary: deadlock in malloc_check()
Product: openSUSE 11.0
Version: Alpha 1
Platform: PowerPC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: pbaudis@novell.com
ReportedBy: olh@novell.com
QAContact: qa@suse.de
CC: power-bugs@forge.provo.novell.com
Found By: ---
yast hangs when entering 'install/remove software' in installed system, with
current factory.
attaching gdb indicates a deadlock in malloc_check():
0x0f65fa40 in __lll_lock_wait_private (futex=0xf6d800c) at
./nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34
34 lll_futex_wait (futex, 2, LLL_PRIVATE);
Undefined command: "". Try "help".
1 Thread 0xf7fab210 (LWP 4386) 0x0f65fa40 in __lll_lock_wait_private
(futex=0xf6d800c) at ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34
#0 0x0f65fa40 in __lll_lock_wait_private (futex=0xf6d800c) at
./nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34
#1 0x0f5f2ba8 in malloc_check (sz=264, caller=<value optimized out>) at
hooks.c:264
#2 0x0f5f3c58 in *__GI___libc_malloc (bytes=264) at malloc.c:3548
#3 0x0f8cdcec in operator new (sz=264) at
./../../../libstdc++-v3/libsupc++/new_op.cc:57
#4 0x0f8b81b4 in std::basic_string
https://bugzilla.novell.com/show_bug.cgi?id=355562
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c1
--- Comment #1 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=355562
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c2
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=355562
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c3
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=355562
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c4
Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=355562
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c6
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=355562
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c7
--- Comment #7 from Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=355562
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c8
Michal Marek
Funny, I never manage to reproduce if I do 'sudo /sbin/yast sw_single' ;-) (The sudo thing seems to make the difference)
sudo (or any suid binary) unsets $MALLOCK_CHECK_. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355562
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355562#c9
Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=355562
Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com