Bug 611 - workrave crashed with SIGSEGV in pthread_mutex_lock()
Status:
RESOLVED FIXED
Component:
Core :: UNIX
Version:
1.8.3
Hardware:
PC Linux
Importance:
P2 major
Target Milestone:
---
Assignee:
Rob Caelers
URL:
https://launchpad.net/ubuntu/+source/workrave/+bug/97613
Depends on:
Blocks:
Reported:
Mar 29 2007 12:38:48 UTC
by:
Daniel Holbach
Modified:
Mar 29 2007 22:36:27 UTC
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Rob Caelers | Mar 29 2007 19:46:22 UTC | status | NEW | RESOLVED |
| resolution | FIXED |
Description
Daniel Holbach Mar 29 2007 12:38:48 UTC
Forwarded from: https://launchpad.net/ubuntu/+source/workrave/+bug/97613
Really have no clue. Was just surfing the web. I guess it was time for workrave to pop-up a reminder I guess - havent seen any of those yet while using Feisty.
ProblemType: Crash
Architecture: i386
Date: Thu Mar 29 00:31:32 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/workrave
Package: workrave 1.8.4-1ubuntu2
PackageArchitecture: i386
ProcCmdline: /usr/bin/workrave --oaf-activate-iid=OAFIID:GNOME_Workrave_Factory --oaf-ior-fd=45
ProcCwd: /
ProcEnviron:
LANG=sv_SE.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/bash
Signal: 11
SourcePackage: workrave
Uname: Linux laptop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video
Thread 1 (process 8332):
#0 0xb6ebf44c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb6a100c5 in _xcb_lock_io (c=0x817f710) at xcb_conn.c:279
No locals.
#2 0xb6a1028c in _xcb_conn_wait (c=0x817f710, cond=0x81807d4, vector=0xbf049208, count=0xbf049204) at xcb_conn.c:325
ret = 135788316
rfds = {__fds_bits = {0 <repeats 32 times>}}
wfds = {__fds_bits = {16384, 0 <repeats 31 times>}}
#3 0xb6a1089b in _xcb_out_send (c=0x817f710, vector=0xbf049208, count=0xbf049204) at xcb_out.c:279
ret = 1
#4 0xb6a109cd in _xcb_out_flush_to (c=0x817f710, request=209522) at xcb_out.c:297
vec = {iov_base = 0x8180808, iov_len = 24}
vec_ptr = (struct iovec *) 0xbf0491fc
count = 1
__PRETTY_FUNCTION__ = "_xcb_out_flush_to"
#5 0xb6a11ec7 in xcb_wait_for_reply (c=0x817f710, request=209522, e=0xbf0492d8) at xcb_in.c:325
ret = (void *) 0x0
#6 0xb6f2998d in _XReply (dpy=0x817efc0, rep=0xbf04932c, extra=0, discard=0) at ../../src/xcb_io.c:367
error = <value optimized out>
c = (xcb_connection_t *) 0x817f710
current = (PendingRequest *) 0x8186000
current_sequence = <value optimized out>
__PRETTY_FUNCTION__ = "_XReply"
#7 0xb6f08356 in XGetWindowProperty (dpy=0x817efc0, w=0, property=115, offset=0, length=100000, delete=0, req_type=115, actual_type=0xbf0493b8, actual_format=0xbf0493b4,
nitems=0xbf0493b0, bytesafter=0xbf0493ac, prop=0xbf0493a8) at ../../src/GetProp.c:64
reply = {type = 36 '$', format = 6 '\006', sequenceNumber = 46754, length = 135788304, propertyType = 0, bytesAfter = 0, nItems = 3070024268, pad1 = 3070024268,
pad2 = 135786432, pad3 = 3204748136}
error = {type = 138 '\212', errorCode = 139 '\213', sequenceNumber = 12914, resourceID = 3070024268, minorCode = 115, majorCode = 0 '\0', pad1 = 0 '\0',
pad3 = 3204748152, pad4 = 3069235102, pad5 = 135786432, pad6 = 3204748132, pad7 = 3204748128}
#8 0x080ef4f8 in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:262
ignored1 = 3204748312
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = <value optimized out>
retval = <value optimized out>
#9 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748392
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#10 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748472
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#11 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748552
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#12 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748632
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#13 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748712
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#14 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748792
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
#15 0x080ef5ad in look_for_kdesktop_recursive (display=0x817efc0, xwindow=0) at System.cc:326
ignored1 = 3204748872
ignored2 = 0
children = (Window *) 0x817efc0
n_children = 135198030
i = 0
retval = <value optimized out>
...
According to http://librarian.launchpad.net/7040813/%3Cfdopen%3E look_for_kdesktop_recursive recurses until frame #2000.Comment 1
Rob Caelers Mar 29 2007 19:46:22 UTC
Fixed. (http://workrave.svn.sourceforge.net/viewvc/workrave/workrave/trunk/frontend/common/src/System.cc?r1=1090&r2=1163&view=patch)
Comment 2
Daniel Holbach Mar 29 2007 22:36:27 UTC
Thanks a lot.