No icons on UME desktop

Bug #219041 reported by Dustin Spicuzza
6
Affects Status Importance Assigned to Milestone
Ubuntu Mobile Edition
Fix Released
Undecided
Unassigned
hildon-desktop (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-mobile

Hey, I just did an apt-get dist-upgrade on my machine running UME, and the icons no longer work. Additionally, where the desktop was, suffers from a 'bad drawing' problem now.. ie, you drag a window around and you see where the window was and such. I suspect that it could be any number of packages to fault (most likely flash somehow), since it updated a bunch of packages:

The key thing here is that there are no error messages being output that I can see. If anyone has any good ideas how to nail this one down and find any relevant error messages, that would be great. Thanks.

Output of the upgrade:

Calculating upgrade... Done
The following NEW packages will be installed:
  icedtea-gcjwebplugin
The following packages will be upgraded:
  flashplugin-nonfree gstreamer-dbus-media-service libhildon-1-0 libhildon-1-0-dbg libhildon-1-dev mobile-basic-flash
  openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib sun-java6-bin sun-java6-jre sun-java6-plugin ubuntu-restricted-extras
13 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.0MB of archives.
After this operation, 16.4kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com hardy/multiverse sun-java6-plugin 6-06-0ubuntu1 [1454B]
Get:2 http://us.archive.ubuntu.com hardy/multiverse sun-java6-jre 6-06-0ubuntu1 [6334kB]
Get:3 http://us.archive.ubuntu.com hardy/multiverse sun-java6-bin 6-06-0ubuntu1 [27.3MB]
Get:4 http://us.archive.ubuntu.com hardy/universe openjdk-6-jre-lib 6b09-0ubuntu2 [4947kB]
Get:5 http://us.archive.ubuntu.com hardy/universe openjdk-6-jre 6b09-0ubuntu2 [215kB]
Get:6 http://us.archive.ubuntu.com hardy/universe openjdk-6-jre-headless 6b09-0ubuntu2 [23.5MB]
Get:7 http://us.archive.ubuntu.com hardy/multiverse flashplugin-nonfree 9.0.124.0ubuntu2 [18.7kB]
Get:8 http://us.archive.ubuntu.com hardy/universe gstreamer-dbus-media-service 0.1.17-0ubuntu1 [8112B]
Get:9 http://us.archive.ubuntu.com hardy/main libhildon-1-dev 2.0.1-1ubuntu6 [23.1kB]
Get:10 http://us.archive.ubuntu.com hardy/main libhildon-1-0-dbg 2.0.1-1ubuntu6 [466kB]
Get:11 http://us.archive.ubuntu.com hardy/main libhildon-1-0 2.0.1-1ubuntu6 [148kB]
Get:12 http://us.archive.ubuntu.com hardy/multiverse ubuntu-restricted-extras 15 [3662B]
Get:13 http://us.archive.ubuntu.com hardy/universe icedtea-gcjwebplugin 1.0-0ubuntu5 [65.2kB]
Get:14 http://us.archive.ubuntu.com hardy/universe mobile-basic-flash 0.36-0ubuntu1 [952kB]
Fetched 64.0MB in 1min43s (619kB/s)
Preconfiguring packages ...
(Reading database ... 148849 files and directories currently installed.)
Preparing to replace sun-java6-plugin 6-05-0ubuntu1 (using .../sun-java6-plugin_6-06-0ubuntu1_i386.deb) ...
Unpacking replacement sun-java6-plugin ...
Preparing to replace sun-java6-jre 6-05-0ubuntu1 (using .../sun-java6-jre_6-06-0ubuntu1_all.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java6-jre ...
Preparing to replace sun-java6-bin 6-05-0ubuntu1 (using .../sun-java6-bin_6-06-0ubuntu1_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java6-bin ...
Preparing to replace openjdk-6-jre-lib 6b09-0ubuntu1 (using .../openjdk-6-jre-lib_6b09-0ubuntu2_all.deb) ...
Unpacking replacement openjdk-6-jre-lib ...
Preparing to replace openjdk-6-jre 6b09-0ubuntu1 (using .../openjdk-6-jre_6b09-0ubuntu2_i386.deb) ...
Unpacking replacement openjdk-6-jre ...
Preparing to replace openjdk-6-jre-headless 6b09-0ubuntu1 (using .../openjdk-6-jre-headless_6b09-0ubuntu2_i386.deb) ...
Unpacking replacement openjdk-6-jre-headless ...
Preparing to replace flashplugin-nonfree 9.0.124.0ubuntu1 (using .../flashplugin-nonfree_9.0.124.0ubuntu2_i386.deb) ...
Unpacking replacement flashplugin-nonfree ...
Preparing to replace gstreamer-dbus-media-service 0.1.12ubuntu1 (using .../gstreamer-dbus-media-service_0.1.17-0ubuntu1_all.deb) ...
Unpacking replacement gstreamer-dbus-media-service ...
Preparing to replace libhildon-1-dev 2.0.1-1ubuntu5 (using .../libhildon-1-dev_2.0.1-1ubuntu6_i386.deb) ...
Unpacking replacement libhildon-1-dev ...
Preparing to replace libhildon-1-0-dbg 2.0.1-1ubuntu5 (using .../libhildon-1-0-dbg_2.0.1-1ubuntu6_i386.deb) ...
Unpacking replacement libhildon-1-0-dbg ...
Preparing to replace libhildon-1-0 2.0.1-1ubuntu5 (using .../libhildon-1-0_2.0.1-1ubuntu6_i386.deb) ...
Unpacking replacement libhildon-1-0 ...
Preparing to replace ubuntu-restricted-extras 14 (using .../ubuntu-restricted-extras_15_i386.deb) ...
Unpacking replacement ubuntu-restricted-extras ...
Selecting previously deselected package icedtea-gcjwebplugin.
Unpacking icedtea-gcjwebplugin (from .../icedtea-gcjwebplugin_1.0-0ubuntu5_i386.deb) ...
Preparing to replace mobile-basic-flash 0.10ubuntu1 (using .../mobile-basic-flash_0.36-0ubuntu1_i386.deb) ...
Unpacking replacement mobile-basic-flash ...
Setting up flashplugin-nonfree (9.0.124.0ubuntu2) ...
Installing from local file /var/cache/flashplugin-nonfree/install_flash_player_9_linux.tar.gz
Flash Plugin installed.

Setting up gstreamer-dbus-media-service (0.1.17-0ubuntu1) ...
Setting up libhildon-1-0 (2.0.1-1ubuntu6) ...

Setting up libhildon-1-dev (2.0.1-1ubuntu6) ...
Setting up libhildon-1-0-dbg (2.0.1-1ubuntu6) ...
Setting up ubuntu-restricted-extras (15) ...
Setting up mobile-basic-flash (0.36-0ubuntu1) ...
Setting up sun-java6-jre (6-06-0ubuntu1) ...

Setting up sun-java6-bin (6-06-0ubuntu1) ...
Installing new version of config file /etc/java-6-sun/security/java.policy ...
Installing new version of config file /etc/java-6-sun/fontconfig.properties ...

Setting up sun-java6-plugin (6-06-0ubuntu1) ...

Setting up openjdk-6-jre-lib (6b09-0ubuntu2) ...
Setting up openjdk-6-jre-headless (6b09-0ubuntu2) ...
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/java' to provide 'java'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/keytool' to provide 'keytool'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/pack200' to provide 'pack200'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/rmid' to provide 'rmid'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/rmiregistry' to provide 'rmiregistry'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/unpack200' to provide 'unpack200'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/orbd' to provide 'orbd'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/servertool' to provide 'servertool'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/tnameserv' to provide 'tnameserv'.

Setting up openjdk-6-jre (6b09-0ubuntu2) ...
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/javaws' to provide 'javaws'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/pluginappletviewer' to provide 'pluginappletviewer'.
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/policytool' to provide 'policytool'.

Setting up icedtea-gcjwebplugin (1.0-0ubuntu5) ...

And then some relevant apt output about my packages.

$ apt-cache policy mobile-basic-flash flashplugin-nonfree ubuntu-mobile libhildon-1-0
mobile-basic-flash:
  Installed: 0.36-0ubuntu1
  Candidate: 0.36-0ubuntu1
  Version table:
 *** 0.36-0ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
flashplugin-nonfree:
  Installed: 9.0.124.0ubuntu2
  Candidate: 9.0.124.0ubuntu2
  Version table:
 *** 9.0.124.0ubuntu2 0
        500 http://us.archive.ubuntu.com hardy/multiverse Packages
        100 /var/lib/dpkg/status
ubuntu-mobile:
  Installed: 1.100
  Candidate: 1.100
  Version table:
 *** 1.100 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
libhildon-1-0:
  Installed: 2.0.1-1ubuntu6
  Candidate: 2.0.1-1ubuntu6
  Version table:
 *** 2.0.1-1ubuntu6 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Oops.

Revision history for this message
Michael Moore (stuporglue) wrote :

I can kind of confirm this. I went to set up UME for the first time today and am having the same experience. I thought it was something I'd done (or hadn't done) though till I saw this bug.

Revision history for this message
Michael Moore (stuporglue) wrote :

If I run the start-hildon script from a terminal I get the following output

start-hildon is the script from here : https://wiki.ubuntu.com/MobileAndEmbedded/HildonDesktopManualProcedure

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Thanks for the thought of using the terminal (it was 1am, I wasn't thinking straight!). I'm getting the same errors. Some quick running through gdb shows some more interesting errors, despite not having *all* of the symbols installed (breaking at g_log):

Breakpoint 1, 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
#1 0xb7882e89 in g_log () from /usr/lib/libglib-2.0.so.0
#2 0x080598b0 in hd_home_window_constructor (gtype=139755416, n_params=8, params=0x83ce730) at hd-home-window.c:508
#3 0xb7903a08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#4 0xb79045b6 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#5 0xb79046c0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#6 0x0806f201 in hd_desktop_run (desktop=0x809e620) at hd-desktop.c:1161
#7 0x08072c9b in main (argc=1, argv=0xbfe04564) at main.c:184
(gdb) continue
Continuing.

** (hildon-desktop:6922): WARNING **: Could not load default background: No such file or directory

[more stuff... ]

Breakpoint 1, 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
#1 0xb7882e89 in g_log () from /usr/lib/libglib-2.0.so.0
#2 0x080563ad in hd_plugin_loader_default_load (loader=0x8110168, error=0xbfe04368) at hd-plugin-loader-default.c:137
#3 0x08054b0e in hd_plugin_manager_load_plugin (pm=0x807a430, plugin_path=0x83cfdc0 "/usr/share/applications/hildon-home/mobile-basic-home.desktop",
    container=0x809d760) at hd-plugin-manager.c:81
#4 0x0805520f in hd_plugin_manager_load (pm=0x807a430, plugin_list=0x8507810, container=0x809d760, policy=0x0) at hd-plugin-manager.c:232
#5 0x0806f455 in hd_desktop_run (desktop=0x809e620) at hd-desktop.c:1436
#6 0x08072c9b in main (argc=1, argv=0xbfe04564) at main.c:184
(gdb) continue
Continuing.

** (hildon-desktop:6922): WARNING **: Error loading module at /usr/lib/hildon-desktop/libmobilebasichome.so

[That sounds like more of an issue to me... and some more backtraces here]

Breakpoint 1, 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb78829e6 in g_logv () from /usr/lib/libglib-2.0.so.0
#1 0xb7882e89 in g_log () from /usr/lib/libglib-2.0.so.0
#2 0xb7e3325b in gtk_widget_size_allocate () from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb7c24b1a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#4 0x08099298 in ?? ()
#5 0xbfe01f74 in ?? ()
#6 0xbfe01f88 in ?? ()
#7 0xb79194c3 in g_type_check_value () from /usr/lib/libgobject-2.0.so.0
#8 0xb790a0ba in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0
#9 0xb78fc079 in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0x080a9b78 in ?? ()
#11 0x00000000 in ?? ()
(gdb) continue
Continuing.

(hildon-desktop:6922): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -14

Changed in ubuntu-mobile:
status: New → Confirmed
Revision history for this message
Dave Morley (davmor2) wrote :
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Confirmed this is an issue in the daily build for 4/18 for me. For the steps I took to use the image (since it was slightly non-conventional and may not be relevant), see bug 217067.

Revision history for this message
Michael Moore (stuporglue) wrote :

The output from the start-hildon script said that it couldn't load libmobilebasichome.so. I ran ldd on libmobilebasichome.so and found that it was missing libxul.so and libsqlite3.so. I found both of those libraries in the xulrunner directory and symlinked them to /usr/lib. After making sure that ldd didn't report any more missing libraries. I tried to run the start-hildon script again. Now hildon-desktop would just segfault.

I did a backtrace as per the wiki ( https://wiki.ubuntu.com/Backtrace ) but it seems to segfault in the middle of libmobilebasichome.so, which is part of the mobile-basic-flash package, and which doesn't have a debug version. Since there's no debug version, I'm not sure how helpful this backtrace is, but it's something.

Line #0 of the trace says : "#0 0xb4f63dde in XRE_NotifyProfile () from /usr/lib/libxul.so", so maybe it's a libxul problem.

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :
Download full text (4.9 KiB)

I tried building libxul with symbols... however, it apparently strips them without me asking it to. So, heres a bunch of error messages:

WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 1024
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 964
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 964
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 964
WARNING: Failed to lock profile.: file EmbedPrivate.cpp, line 639
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 964
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 964
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910

(hildon-desktop:23650): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -8

(hildon-desktop:23650): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -14
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0', file nsTraceRefcntImpl.cpp, line 910
WARNING: NS_ENSURE_TRUE(compMgr) failed: file nsComponentManagerUtils.cpp, line 165
WARNING: XPCOM objects created/destroyed from static ctor/dtor: 'gActivityTLS != BAD_TLS_INDEX && NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0',...

Read more...

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Ok.. got symbols working. So the error is exactly at EmbedPrivate.cpp:293

(gdb) where
#0 0xae157348 in EmbedPrivate::Realize (this=0x855b5b0, aAlreadyRealized=0xbf81d018) at EmbedPrivate.cpp:293
#1 0xae155468 in gtk_moz_embed_realize (widget=0x80992e8) at gtkmozembed2.cpp:490
#2 0xb787fa4f in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#3 0xb7871079 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x080bf560 in ?? ()
#5 0x00000000 in ?? ()
(gdb) info locals
webBrowser = {mRawPtr = 0x0}
supportsWeak = {mRawPtr = 0x80ca3e0}
weakRef = {mRawPtr = 0xb7cfabaf}
uriListener = {mRawPtr = 0xbf81cfa8}
mozWidget = {mRawPtr = 0xbf81cfa4}
tmp_window = <value optimized out>
data = <value optimized out>

Ok... so not sure how to fix this, about the end of my knowledge on this topic. Whoever can fix it, let me know if theres more information I can give to you.

Revision history for this message
Michael Moore (stuporglue) wrote :
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Looks like someone fixed it in mobile-basic-flash_0.36-0ubuntu2. Awesome.

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

mobile-basic-flash_0.36-0ubuntu2 fixes the bug

Changed in ubuntu-mobile:
status: Confirmed → Fix Committed
Changed in hildon-desktop:
status: New → Invalid
Revision history for this message
Steve Kowalik (stevenk) wrote :

Setting to Fix Released, since mobile-basic-flash_0.36-0ubuntu2 is in Hardy.

Changed in ubuntu-mobile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.