Hi,

I'm trying to get set up with using the Maemo SDK. I followed the tutorial and install guides to get the graphical environment running in Xephyr. I'm able to compile and run the maemo_hello application, and I can click on the "Home" drop down menu and select those buttons. However, Xephyr seg faults when I click on the Menu button on the left-side.

I've tried this on two separate machines with the same results. The first one was on a 32-bit Ubuntu virtual machine running in VMWare on a 64-bit Ubuntu machine. The second was a machine with 32-bit Ubuntu natively installed. I've attached the error messages from both cases.

Is there something that I did wrong in setting up the SDK? Did I miss a step or is this just a bug? I'm getting a lot of warnings when starting up Maemo.

Ye
y...@nettools:~$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac 
-extension Composite
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing 
from list!
[config/dbus] couldn't take over org.x.config: 
org.freedesktop.DBus.Error.AccessDenied (Connection ":1.24" is not allowed to 
own the service "org.x.config.display2" due to security policies in the 
configuration file)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)


[sbox-DIABLO_ARMEL: ~] > export DISPLAY=:2
[sbox-DIABLO_ARMEL: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Maemo Launcher: maemo-launcher start failed.
Starting Sapwood image server
Starting Matchbox window manager
qemu: Unsupported syscall: 307
qemu: Unsupported syscall: 305
mbpixbuf: unable to use XShm. DISPLAY remote?
qemu: Unsupported syscall: 306
qemu: Unsupported syscall: 308
Starting clipboard-manager
sapwood-server[3513]: GLIB INFO default - server started
Starting Keyboard
maemo-launcher: invoking '/usr/bin/hildon-input-method.launch'
qemu: Unsupported syscall: 264
Starting Hildon Desktop
maemo-launcher: invoking '/usr/bin/hildon-desktop.launch'
qemu: Unsupported syscall: 264
qemu: Unsupported syscall: 316
hildon-desktop[3575]: GLIB WARNING ** gnome-vfs-modules - Could not initialize 
inotify
[sbox-DIABLO_ARMEL: ~] > hildon-desktop[3575]: GLIB WARNING ** default - unable 
to register TN callback for /usr/share/applications/hildon
/home/ye/.osso/current-gtk-key-theme:1: Unable to find include file: 
"keybindings.rc"
/home/ye/.osso/current-gtk-key-theme:1: Unable to find include file: 
"keybindings.rc"
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-input-method[3560]: GLIB MESSAGE default - ui up and running
hildon-desktop[3575]: GLIB WARNING ** default - Others_menu_initialize_menu: 
failed setting monitor callback for systemwide menu conf.
hildon-desktop[3575]: GLIB WARNING ** default - Others_menu_initialize_menu: 
failed setting monitor callback for user specific menu conf.
hildon-desktop[3575]: GLIB WARNING ** default - Others_menu_initialize_menu: 
failed setting monitor callback for .desktop directory.
Audio File Library: could not open file '/usr/share/sounds/ui-window_open.wav' 
[error 3]
Audio File Library: could not open file '/usr/share/sounds/ui-window_close.wav' 
[error 3]
qemu: Unsupported syscall: 307
hildon-desktop[3575]: GLIB WARNING ** Gdk - shmget failed: error 38 (Function 
not implemented)
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[3575]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
qemu: Unsupported syscall: 316
/var/lib/hildon-application-manager/available-updates: No such file or directory



#### NOW AFTER CLICKING ON THE MENU BUTTON

## In the sandbox ##

X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
The application 'sapwood-server' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'hildon-input-method' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
maemo-launcher: child (pid=3560) terminated due to exit()=1
The application 'hildon-desktop' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
Usage:program_name [address][:port]Usage:program_name 
[address][:port]maemo-launcher: child (pid=3575) terminated due to exit()=1

## In the terminal that launched Xephyr ##

Backtrace (10 deep):
0: Xephyr(KdBacktrace+0x35) [0x80c1595]
1: /lib/tls/i686/cmov/libc.so.6 [0xb7b68778]
2: Xephyr(DeliverDeviceEvents+0x20f) [0x808fabf]
3: Xephyr(ProcessOtherEvent+0x36c) [0x81910cc]
4: Xephyr(mieqProcessInputEvents+0x372) [0x80f0da2]
5: Xephyr(ProcessInputEvents+0xd) [0x80c620d]
6: Xephyr(Dispatch+0x6e) [0x80b329e]
7: Xephyr(main+0x3bd) [0x809869d]
8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b53775]
9: Xephyr [0x8070741]

Fatal server error:
Segmentation fault caught

Aborted
y...@ubu32:~$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension 
Composite
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing 
from list!
[config/dbus] couldn't take over org.x.config: 
org.freedesktop.DBus.Error.AccessDenied (Connection ":1.28" is not allowed to 
own the service "org.x.config.display2" due to security policies in the 
configuration file)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)


[sbox-DIABLO_X86: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launcher.
maemo-launcher: warning rising the oom shield for pid=4112 status=5632
Starting Sapwood image server
sapwood-server[4125]: GLIB INFO default - server started
Starting Matchbox window manager
Starting clipboard-manager
Starting Keyboard
Starting Hildon Desktop
maemo-launcher: invoking '/usr/bin/hildon-desktop.launch'
maemo-launcher: invoking '/usr/bin/hildon-input-method.launch'
[sbox-DIABLO_X86: ~] > /home/ye/.osso/current-gtk-key-theme:1: Unable to find 
include file: "keybindings.rc"
/home/ye/.osso/current-gtk-key-theme:1: Unable to find include file: 
"keybindings.rc"
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-input-method[4185]: GLIB MESSAGE default - ui up and running
Audio File Library: could not open file '/usr/share/sounds/ui-window_open.wav' 
[error 3]
Audio File Library: could not open file '/usr/share/sounds/ui-window_close.wav' 
[error 3]
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
hildon-desktop[4184]: GLIB WARNING ** default - Plugin desktop file not found, 
ignoring plugin
/var/lib/hildon-application-manager/available-updates: No such file or directory



#### NOW AFTER CLICKING ON THE MENU BUTTON

## In the sandbox ##

The application 'sapwood-server' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
The application 'hildon-desktop' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
Usage:program_name [address][:port]maemo-launcher: child (pid=4184) terminated 
due to exit()=1
The application 'hildon-input-method' lost its connection to the display :2.0;
most likely the X server was shut down or you killed/destroyed
the application.
maemo-launcher: child (pid=4185) terminated due to exit()=1

## In the terminal that launched Xephyr ##

Backtrace (10 deep):
0: Xephyr(KdBacktrace+0x35) [0x80c1595]
1: /lib/tls/i686/cmov/libc.so.6 [0xb79aa778]
2: Xephyr(DeliverDeviceEvents+0x20f) [0x808fabf]
3: Xephyr(ProcessOtherEvent+0x36c) [0x81910cc]
4: Xephyr(mieqProcessInputEvents+0x372) [0x80f0da2]
5: Xephyr(ProcessInputEvents+0xd) [0x80c620d]
6: Xephyr(Dispatch+0x6e) [0x80b329e]
7: Xephyr(main+0x3bd) [0x809869d]
8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7995775]
9: Xephyr [0x8070741]

Fatal server error:
Segmentation fault caught

Aborted

_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to