Ticket #1547 (closed defect: fixed)
midori segfaults at startup on gta02
| Reported by: | jeepingben | Owned by: | jama |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | SHR Image | Version: | SHR-core |
| Keywords: | Cc: |
Description
Launching midori from the homescreen doesn't bring a window up.
Launching from the terminal shows this:
The configuration couldn't be loaded: No such file or directory
(midori:615): Gtk-WARNING : Error loading theme icon 'stock_new-tab' for stock: Icon 'stock_new-tab' not present in theme
(midori:615): Gtk-WARNING : Error loading theme icon 'gtk-add' for stock: Icon 'gtk-add' not present in theme
Segmentation fault
Subsequent launches show a crash recovery dialog, after choosing to relaunch from the dialog, the segfault happens again.
Change History
comment:1 Changed 17 months ago by jama
- Owner changed from mrmoku to jama
- Status changed from new to assigned
comment:3 Changed 16 months ago by jama
Today I got different bt
Program received signal SIGSEGV, Segmentation fault.
0x402e9404 in g_object_newv (object_type=0, n_parameters=0, parameters=0x115fa8) at gobject.c:1399
1399 for (slist = class->construct_properties; slist; slist = slist->next)
(gdb) bt
#0 0x402e9404 in g_object_newv (object_type=0, n_parameters=0, parameters=0x115fa8) at gobject.c:1399
#1 0x402ea28c in g_object_new_valist (object_type=16, first_property_name=<optimized out>, var_args=<optimized out>) at gobject.c:1610
#2 0x405367a0 in g_initable_new_valist () from /usr/lib/libgio-2.0.so.0
#3 0x405367fc in g_initable_new () from /usr/lib/libgio-2.0.so.0
#4 0x40551b74 in g_tls_file_database_new () from /usr/lib/libgio-2.0.so.0
#5 0x404dd3fa in load_ssl_ca_file (priv=0xc0428) at soup-session.c:1023
#6 set_property (object=0xc0418, prop_id=5, value=0xbefff700, pspec=0x96f70) at soup-session.c:1111
#7 0x402ea844 in object_set_property (nqueue=<optimized out>, value=0xbefff6e0, pspec=0x96f70, object=<optimized out>) at gobject.c:1199
#8 g_object_set_valist (object=0xc0418, first_property_name=<optimized out>, var_args=...) at gobject.c:1727
#9 0x402eb070 in g_object_set (_object=<optimized out>, first_property_name=0x75ea8 "ssl-ca-file") at gobject.c:1833
#10 0x000248be in midori_load_soup_session (settings=0xe0008) at ../midori/main.c:1014
#11 0x00024f0c in midori_load_soup_session_full (settings=0xe0008) at ../midori/main.c:1174
#12 0x40353884 in g_idle_dispatch (source=<optimized out>, callback=0x24ef5 <midori_load_soup_session_full>, user_data=<optimized out>) at gmain.c:4801
#13 0x40356f10 in g_main_dispatch (context=0xbb3f0) at gmain.c:2441
#14 g_main_context_dispatch (context=0xbb3f0) at gmain.c:3011
#15 0x40357294 in g_main_context_iterate (context=0xbb3f0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#16 0x40357894 in g_main_loop_run (loop=0xbd910) at gmain.c:3297
#17 0x406b3bd6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x406b3bd6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
comment:4 Changed 16 months ago by jama
And after "disabling" ssl with
SHR root@gjama ~ $ mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt2
Program received signal SIGSEGV, Segmentation fault.
0x402e761c in g_object_unref (_object=0x0) at gobject.c:2690
2690 old_ref = g_atomic_int_get (&object->ref_count);
(gdb) bt
#0 0x402e761c in g_object_unref (_object=0x0) at gobject.c:2690
#1 0x406929f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0x406929f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
comment:5 Changed 14 months ago by jeepingben
As of build 034, midori will start if a remote display is used, but not if the freerunner display is used. The same error about gtk-icons is displayed when it works and when it doesn't.
comment:6 Changed 13 months ago by jama
switch to e.g. clearlooks theme (not yet in feed)
opkg install gnome-icon-theme gtk-theme-clearlooks
and change gtkrc from e17lookalike and openmoko icon theme to:
SHR root@qemux86-64 ~ $ cat /etc/gtk-2.0/gtkrc
gtk-font-name = "Sans 5"
gtk-theme-name = "Clearlooks"
gtk-icon-theme-name = "gnome"
maybe just icon theme is enough, someone should find which icons are missing in openmoko icon theme and add it
comment:7 Changed 13 months ago by jama
- Status changed from assigned to closed
- Resolution set to fixed
054 will have this work around:
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=a6a91382f95225ad93d519d5eaf961cdd8a71b95
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=06649cb0daf4ae97170950a988d9e6b2232616a8
if someone decides to add missing icons to openmoko theme then please open new ticket or just send patch
