Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: X11 emulator woes

X11 emulator woes

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Tue, 11 Feb 2003 15:41:02 +0100

I'm seeing problems with the X11 emulator. I cannot start it from gdb anymore. It hangs on forking the mpeg pthread:

------
pc1727:rsim>gdb rockboxui
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /home/bjst/rockbox/rsim/rockboxui
[New Thread 1024 (LWP 13564)]
Keyboard Rockbox
-------- --------------
+ ON
8 UP
2 DOWN
4 LEFT
6 RIGHT
Enter OFF
5 PLAY
/ F1
* F2
- F3
rockboxui 0.2 (Feb 7 2003)
0000: lcd_update()
0001: lcd_update()
[New Thread 2049 (LWP 13565)]
[New Thread 1026 (LWP 13566)]
Thread 1026 is running
0002: lcd_update()
settings_reset()
reload_all_settings()
settings_reset()
load_config_buffer()
Reading sector 3D
load_config_buffer: header & checksum test ok
We open the real file 'archos/.rockbox/test.wps'
[New Thread 2051 (LWP 13567)]
------

Valgrind reports some suspicious mutex problems:

------
pc1727:rsim>valgrind ./rockboxui
==13556== valgrind-1.0.4, a memory error detector for x86 GNU/Linux.
==13556== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==13556== Estimated CPU clock rate is 449 MHz
==13556== For more details, rerun with: -v
==13556==
Keyboard Rockbox
-------- --------------
+ ON
8 UP
2 DOWN
4 LEFT
6 RIGHT
Enter OFF
5 PLAY
/ F1
* F2
- F3
rockboxui 0.2 (Feb 7 2003)
0000: lcd_update()
0001: lcd_update()
Thread 2 is running
==13556== Thread 2:
==13556== pthread_mutex_unlock: mutex is locked by a different thread
==13556== at 0x403B60E6: __pthread_mutex_unlock (vg_libpthread.c:933)
==13556== by 0x804DEAA: yield (thread.c:53)
==13556== by 0x804DEDB: newfunc (thread.c:60)
==13556== by 0x403B58B6: thread_wrapper (vg_libpthread.c:636)
0002: lcd_update()
settings_reset()
reload_all_settings()
settings_reset()
load_config_buffer()
Reading sector 3D
load_config_buffer: header & checksum test ok
We open the real file 'archos/.rockbox/test.wps'
Thread 3 is running
==13556==
==13556== Thread 3:
==13556== pthread_mutex_unlock: mutex is not locked
==13556== at 0x403B60E6: __pthread_mutex_unlock (vg_libpthread.c:933)
==13556== by 0x804DEAA: yield (thread.c:53)
==13556== by 0x804DEDB: newfunc (thread.c:60)
==13556== by 0x403B58B6: thread_wrapper (vg_libpthread.c:636)
Resume file /
Resume index 4 offset 0
Resume shuffle off seed 3E4909CD
0003: lcd_update()
-------

-- 
Björn
Received on 2003-02-11

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy