From:
[email protected]
Package: psi
Version: 0.9.2-2
Severity: normal
I get a strange segfault with psi 0.9.2 under certain circumstances.
It seems to happen only if three circumstances apply:
* I have qt 3.3.2 (debian package version 3.3.2-5) installed. With 3.2.3
it doesn't occor.
* stdout and(/or?) stderr are redirected to a file
* I use gpg support
If all three conditions are true, psi crashes at almost every login -
but not always. And I think I saw the segfault once without output
redirection, but usually it doesn't happen then. This makes me think
about some kind of race condition.
The stack trace doesn't give me any additional hints:
#0 0x0808e92b in QValueListPrivate<int>::remove ()
#1 0x0808c1b5 in QValueListPrivate<int>::remove ()
#2 0x0808c4c4 in QValueListPrivate<int>::remove ()
#3 0x402b5f6c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#4 0x402b60cd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#5 0x405f0f12 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#6 0x402d2630 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#7 0x40259acf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #8 0x402590ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#9 0x08237af5 in QListView::removeItem ()
#10 0x4024954a in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3
#11 0x40203553 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#12 0x4026bdd8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#13 0x4026bc88 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#14 0x40259d21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#15 0x081668ef in QLabel::metaObject ()
#16 0x40948dc6 in __libc_start_main () from /lib/libc.so.6
#17 0x080728e1 in ?? ()
Neither does an strace output:
[pid 9048] gettimeofday({1092257880, 933073}, NULL) = 0
[pid 9048] select(31, [3 4 6 7 12 13 14 20 25 27 30], [], [], {0, 0}) = 5 (in [4 20 25 27 30], left {0, 0})
[pid 9048] read(4, "\0", 1) = 1
[pid 9048] read(30, "\1", 1) = 1
[pid 9048] waitpid(9073, [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], WNOHANG) = 9073
[pid 9048] select(31, [30], NULL, NULL, {0, 0}) = 1 (in [30], left {0, 0}) [pid 9048] read(30, "\1", 1) = 1
[pid 9048] ioctl(27, FIONREAD, [0]) = 0
[pid 9048] ioctl(25, FIONREAD, [5]) = 0
[pid 9048] read(25, "gpg: WARNING: using insecure mem"..., 4096) = 229
[pid 9048] select(26, [25], NULL, NULL, {0, 0}) = 1 (in [25], left {0, 0}) [pid 9048] read(25, "", 4096) = 0
[pid 9048] ioctl(25, FIONREAD, [0]) = 0
[pid 9048] read(20, "[GNUPG:] ERRSIG 5FAC0EAEC64A8DC5"..., 1024) = 90
[pid 9048] read(20, "", 1024) = 0
[pid 9048] ioctl(4, FIONREAD, [0]) = 0
[pid 9048] write(5, "\0", 1) = 1
[pid 9048] time([1092257880]) = 1092257880
[pid 9048] gettimeofday({1092257880, 936029}, NULL) = 0
[pid 9048] time([1092257880]) = 1092257880
[pid 9048] gettimeofday({1092257880, 936182}, NULL) = 0
[pid 9048] gettimeofday({1092257880, 936727}, NULL) = 0
[pid 9048] gettimeofday({1092257880, 936820}, NULL) = 0
[pid 9048] gettimeofday({1092257880, 936912}, NULL) = 0
[pid 9048] ioctl(4, FIONREAD, [1]) = 0
[pid 9048] gettimeofday({1092257880, 937309}, NULL) = 0
[pid 9048] close(27) = 0
[pid 9048] close(25) = 0
[pid 9048] gettimeofday({1092257880, 937614}, NULL) = 0
[pid 9048] select(31, [30], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 9048] ioctl(137255117, FIONREAD, [0]) = -1 EBADF (Bad file descriptor) [pid 9048] ioctl(1, FIONREAD, [3536120]) = 0
[pid 9048] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 9048 detached
<... poll resumed> [{fd=9, events=POLLIN}], 1, 2000) = 0
getppid() = 1
exit_group(0) = ?
Process 9054 detached
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686)
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages psi depends on:
ii libc6 2.3.2.ds1-15 GNU C Library: Shared libraries an ii libgcc1 1:3.4.1-5 GCC support library
ii libqt3c102-mt 3:3.3.2-5 Qt GUI Library (Threaded runtime v ii libstdc++5 1:3.3.4-7 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- no debconf information
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)