http://bugzilla.novell.com/show_bug.cgi?id=493152
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=493152#c22
--- Comment #22 from Stephan Kulow 2009-04-21 03:42:16 MDT ---
OK, I think the signal handler bug is independent of this one - as I get the
same problem with my hotfix removing the logging from signal handler.
Now there are 3 y2base processes. One has two threads: the UI and the YCP
thread. The UI thread waits for the YCP thread to finish a statement and the
YCP thread waits for a fgets on a pipe opened.
I think the one it waits for has this backtrace - hangs in futex_wait:
PID: 3810
#0 0xffffe422 in __kernel_vsyscall ()
#1 0xb790ee63 in __lll_lock_wait_private () at
./nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:89
#2 0xb78bc41b in _L_lock_1671 () at tzset.c:138
#3 0xb78bc211 in __tz_convert (timer=0xbff75d10, use_localtime=1,
tp=0xb798c360) at tzset.c:604
#4 0xb78ba8ef in *__GI_localtime (t=0xbff75d10) at localtime.c:43
#5 0xb7cdca98 in y2_logfmt_prefix (level=LOG_DEBUG) at y2log.cc:247
#6 0xb7cddd98 in y2_vlogger_blanik (level=LOG_DEBUG, component=0xb7073c82
"bash", file=0xb7073c9a "ShellCommand.cc", line=157, function=0xb7073d84
"shellcommand",
format=0xb7073d04 "Exit status is %d", ap=0xbff76218 "\001") at
y2log.cc:314
#7 0xb7cddfd7 in y2_logger_blanik (level=LOG_DEBUG, component=0xb7073c82
"bash", file=0xb7073c9a "ShellCommand.cc", line=157, func=0xb7073d84
"shellcommand",
format=0xb7073d04 "Exit status is %d") at y2log.cc:173
#8 0xb7062d73 in shellcommand (command=@0xbff76a94, tempdir=@0xbff76a90) at
ShellCommand.cc:157
#9 0xb706c064 in SystemAgent::Execute (this=0x8c60bf0, path=@0xbff76c60,
value=@0xbff76c5c, arg=@0xbff76c58) at SystemAgent.cc:977
PID: 3809
#0 0xffffe422 in __kernel_vsyscall ()
#1 0xb78f2b2b in read () from /lib/libc.so.6
#2 0xb789939c in _IO_new_file_underflow (fp=0x979ef88) at fileops.c:598
#3 0xb789ad6b in _IO_default_uflow (fp=0x979ef88) at genops.c:440
#4 0xb789c1d8 in *__GI___uflow (fp=0x979ef88) at genops.c:394
#5 0xb788ec26 in _IO_getline_info (fp=0x979ef88, buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1023, delim=10,
extract_delim=1, eof=0x0) at iogetline.c:74
#6 0xb788eb71 in _IO_getline (fp=0x979ef88, buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1023, delim=10,
extract_delim=1) at iogetline.c:42
#7 0xb788d9ad in _IO_fgets (buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1024, fp=0x979ef88) at
iofgets.c:58
#8 0xb7062700 in fgets (__stream=<value optimized out>, __n=<value optimized
out>, __s=<value optimized out>) at /usr/include/bits/stdio2.h:255
#9 shellcommand (command=@0xbff76a94, tempdir=@0xbff76a90) at
ShellCommand.cc:125
#10 0xb706c064 in SystemAgent::Execute (this=0x8c60bf0, path=@0xbff76c60,
value=@0xbff76c5c, arg=@0xbff76c58) at SystemAgent.cc:977
PID: 3329, YCP thread
#0 0xffffe422 in __kernel_vsyscall ()
#1 0xb78f2b2b in read () from /lib/libc.so.6
#2 0xb789939c in _IO_new_file_underflow (fp=0x979ef88) at fileops.c:598
#3 0xb789ad6b in _IO_default_uflow (fp=0x979ef88) at genops.c:440
#4 0xb789c1d8 in *__GI___uflow (fp=0x979ef88) at genops.c:394
#5 0xb788ec26 in _IO_getline_info (fp=0x979ef88, buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1023, delim=10,
extract_delim=1, eof=0x0) at iogetline.c:74
#6 0xb788eb71 in _IO_getline (fp=0x979ef88, buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1023, delim=10,
extract_delim=1) at iogetline.c:42
#7 0xb788d9ad in _IO_fgets (buf=0xbff762d8
"�b��,�\211�@�\230���\211�(yu\t�\217\230��\217\230�d", n=1024, fp=0x979ef88) at
iofgets.c:58
#8 0xb70620a8 in fgets (__stream=<value optimized out>, __n=<value optimized
out>, __s=<value optimized out>) at /usr/include/bits/stdio2.h:255
#9 shellcommand (command=@0xbff76a94, tempdir=@0xbff76a90) at
ShellCommand.cc:67
PID: 3329, UI thread
#0 0xffffe422 in __kernel_vsyscall ()
#1 0xb78fb3e1 in select () from /lib/libc.so.6
#2 0xb6e73140 in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*,
timeval*) () from /usr/lib/libQtCore.so.4
#3 0xb651093b in ?? () from /usr/lib/libQtGui.so.4
#4 0xb6e7398f in
QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag,
timeval*) () from /usr/lib/libQtCore.so.4
#5 0xb6e756b1 in
QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#6 0xb6510cd2 in ?? () from /usr/lib/libQtGui.so.4
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.