Xglamo loops and hangs (and crashed before)
Harald Koenig
koenig at tat.physik.uni-tuebingen.de
Tue Aug 26 13:17:52 CEST 2008
Hi,
using Om 2008.8 with zecke-dev and -testing updates Xglamo seems to be unstable:
during lunch when closing an pygtk application (battery.py) X11 got stuck.
now with usb/ssh I see the following:
Xglamo sucks cpu time and doesn't accept new xclients, they just hang.
this is the tail of "ps uaxOT" output:
root 5598 0.4 0.2 2336 328 ? Ss 10:30 0:40 /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
root 5599 0.0 0.0 2924 108 pts/1 Ss 10:30 0:00 -sh
root 5604 0.1 0.9 2800 1124 pts/1 S 10:30 0:10 bash
root 7636 0.0 0.0 2612 64 pts/1 T 12:01 0:00 sleep 5
root 7656 1.1 2.6 12484 3284 ? Ss 12:13 0:38 assassin
root 7711 0.0 0.0 0 0 ? Zs 12:56 0:00 [xset] <defunct>
root 7743 0.0 0.6 3148 784 pts/1 S 13:02 0:00 xdpyinfo
root 7744 0.0 0.7 2244 896 pts/1 R+ 13:07 0:00 ps uaxOT
12:13 is about the time when it hung.
I just tried xdpyinfo before to check x client connects -- it hangs too.
pid 7711 (xset) read "xset s activate" some time before.
this is the Xglamo image:
root at om-gta02:~# ls -l /usr/bin/Xglamo
-rwxr-xr-x 1 root root 1072188 Aug 11 19:35 /usr/bin/Xglamo
root at om-gta02:~# md5sum /usr/bin/Xglamo
f3e4aa396f53cfe0e70b167bb130f1fb /usr/bin/Xglamo
"strace -ttip $PIDOFXGLAMO" looks like this with ~100 gettimeofday() calls per second:
13:10:59.756974 [401f88ac] gettimeofday({1219749059, 759084}, NULL) = 0
13:10:59.761690 [401f88ac] gettimeofday({1219749059, 763488}, NULL) = 0
13:10:59.766027 [401f88ac] gettimeofday({1219749059, 767839}, NULL) = 0
13:10:59.770433 [401f88ac] gettimeofday({1219749059, 772831}, NULL) = 0
13:10:59.775498 [4020737c] nanosleep({0, 5000}, NULL) = 0
13:10:59.782668 [4020737c] nanosleep({0, 5000}, NULL) = 0
13:10:59.788559 [4020737c] nanosleep({0, 5000}, NULL) = 0
13:10:59.797675 [4020737c] nanosleep({0, 5000}, NULL) = 0
13:10:59.806191 [40232754] select(256, [0 1 3 4 6 7 8 9 11 12 13 14 15], NULL, NULL, {0, 0}) = 2 (in [14 15], left {0, 0})
13:10:59.815557 [401fb08c] setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
13:10:59.820770 [401f88ac] gettimeofday({1219749059, 822784}, NULL) = 0
13:10:59.825236 [401f88ac] gettimeofday({1219749059, 827216}, NULL) = 0
13:10:59.829831 [401f88ac] gettimeofday({1219749059, 832214}, NULL) = 0
13:10:59.834886 [401f88ac] gettimeofday({1219749059, 836832}, NULL) = 0
13:10:59.839269 [401f88ac] gettimeofday({1219749059, 841449}, NULL) = 0
13:10:59.843702 [401f88ac] --- SIGALRM (Alarm clock) @ 0 (0) ---
13:10:59.848032 [401fb08c] setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
13:10:59.852507 [401a7278] sigreturn() = ? (mask now [HUP])
13:10:59.859408 [401f88ac] gettimeofday({1219749059, 862634}, NULL) = 0
13:10:59.865054 [401f88ac] gettimeofday({1219749059, 871388}, NULL) = 0
13:10:59.873799 [401f88ac] gettimeofday({1219749059, 875584}, NULL) = 0
13:10:59.878132 [401f88ac] gettimeofday({1219749059, 879917}, NULL) = 0
known problem ?
which other data can I provide (I'll keep that Xglamo running for now) ?
checking ps output I also noticed that X11 got restarted (aka crashed) tonight,
because at 06:40 I still was asleep, so Xglamo crashed/exited at the idle phone
which just run "battery.py" using ppygtk. -- again from "ps uaxOT" :
root 1482 0.0 0.0 1764 72 ttySAC2 Ss+ Aug25 0:00 /sbin/getty 115200 ttySAC2
root 1483 0.0 0.0 1764 72 tty1 Ss+ Aug25 0:00 /sbin/getty 38400 tty1
root 1496 0.0 0.1 2112 156 ? Ss Aug25 0:06 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 1504 0.0 0.3 3404 396 ? S Aug25 0:14 /usr/libexec/gconfd-2
root 3763 0.0 0.0 2572 104 ? S 06:40 0:00 xinit /etc/X11/Xsession -- /usr/bin/Xglamo :0 -pn +extension Composite -dpi 285
root 3768 11.3 3.7 10172 4616 ? R< 06:40 44:49 /usr/bin/Xglamo :0 -pn +extension Composite -dpi 285 -screen 480x640 -hide-curs
root 3771 0.0 0.0 2744 88 ? S 06:40 0:00 /bin/sh /etc/X11/Xsession
root 3776 10.9 5.7 9592 7180 ? Ss 06:40 43:01 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 3780 0.0 0.0 2748 76 ? S 06:40 0:00 run-parts /etc/X11/Xsession.d
root 3784 0.0 0.3 3404 396 ? S 06:40 0:15 /usr/libexec/gconfd-2
root 3788 0.0 0.3 7884 472 ? S 06:40 0:00 /usr/bin/settings-daemon
root 3815 2.9 5.7 20356 7160 ? S 06:40 11:45 enlightenment -profile illume
root 3831 0.0 2.0 14852 2540 ? S 06:41 0:03 /usr/bin/python /usr/bin/exposure.py
root 3834 0.2 0.3 3916 400 ? S 06:41 0:52 /usr/lib/enlightenment/modules/battery/linux-gnueabi-arm/batget 4
root 3835 0.0 0.5 8640 632 ? Ss 06:41 0:00 /usr/bin/enlightenment_fm
root 3836 0.0 0.0 1508 96 ? S 06:41 0:22 /usr/lib/enlightenment/modules/illume/linux-gnueabi-arm/wifiget 8
root 3837 0.0 0.0 1508 96 ? S 06:41 0:23 /usr/lib/enlightenment/modules/illume/linux-gnueabi-arm/wifiget 8
root 3838 1.3 11.0 15964 13720 ? S 06:41 5:23 /usr/lib/enlightenment/modules/illume/linux-gnueabi-arm/gsmget 8
root 3839 1.3 11.1 16100 13856 ? S 06:41 5:08 /usr/lib/enlightenment/modules/illume/linux-gnueabi-arm/gsmget 8
root 5391 0.0 2.6 23448 3288 ? Ss 08:55 0:08 openmoko-terminal2
root 5392 0.0 0.0 2480 100 ? S 08:55 0:00 gnome-pty-helper
root 5393 0.0 0.0 2924 108 pts/0 Ss 08:55 0:00 /bin/sh
root 5417 0.0 0.2 2760 344 pts/0 S+ 08:59 0:00 bash
Harald
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
\/\/\/\/\/\/\/\/\/
Harald Koenig // / \\ \
koenig at tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
More information about the devel
mailing list