Re: [gnome-flashback] Debug-ability; getting gnome-panel 3.8 out
- From: Lanoxx <lanoxx gmx net>
- To: gnome-flashback-list gnome org
- Subject: Re: [gnome-flashback] Debug-ability; getting gnome-panel 3.8 out
- Date: Sat, 28 Sep 2013 18:24:59 +0200
On 28/09/13 17:42, Lanoxx wrote:
On 28/09/13 16:42, Philipp Kaluza wrote:
Am 28.09.2013 16:10, schrieb Alberts Muktupāvels:
When I do that it segfaults, but I compiled with prefix /usr/local:
(gnome-panel:10053): Gtk-CRITICAL **:
gtk_accelerator_parse_with_keycode:
assertion `accelerator != NULL' failed
** (gnome-panel:10053): WARNING **: Unable to parse mouse modifier
'(null)'
Unable to open desktop file javascript:void(0).desktop for panel
launcher
Segmentation fault (core dumped)
Than I have no idea. Recompiled with prefix /usr/local. Panel still
opens but does not load applets, I got this error:
WARNING **: Error opening directory
'/usr/local/share/gnome-panel/4.0/applets': No such file or directory
I am doing this from saucy from flashback session, with all updates
installed, without any ppa. I am not installing compiled panel too.
Steps I do:
1) ./autogen.sh --prefix=/usr
2) make
3) gnome-panel/gnome-panel --replace
Guys, take a step back, and think about what you are trying to do.
a) gnome-panel ships some applets
b) in _needs_ to load these on startup
c) it needs to know where to load these from
From this follows:
d) gnome-panel can _not_ just run from the make directory; the prefix
where to load the panel applets will be encoded into the binary.
With that in mind, please do:
Option A:
make distclean
./autogen.sh --prefix=/usr/local
make
sudo make install
/usr/local/bin/gnome-panel --replace &
-or-
Option B:
sudo mkdir /opt/gnome-panel-3.8
sudo chown $UID /opt/gnome-panel-3.8
make distclean
./autogen.sh --prefix=/opt/gnome-panel-3.8
make
make install
/opt/gnome-panel-3.8/bin/gnome-panel --replace &
Good luck ! :)
Thanks. I used option B. The panel still segfaults. I have executed it
now with gdb, maybe that gives you some idea whats going wrong?
(gdb) run --replace
Starting program: /opt/gnome-panel-3.8/bin/gnome-panel --replace
warning: no loadable sections found in added symbol-file
system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb35c700 (LWP 31763)]
[New Thread 0x7fffea74a700 (LWP 31764)]
(gnome-panel:31762): Gtk-CRITICAL **:
gtk_accelerator_parse_with_keycode: assertion `accelerator != NULL'
failed
** (gnome-panel:31762): WARNING **: Unable to parse mouse modifier
'(null)'
[New Thread 0x7fffe3fff700 (LWP 31765)]
Unable to open desktop file javascript:void(0).desktop for panel launcher
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff56e167c in g_type_check_instance_is_a () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) backtrace
#0 0x00007ffff56e167c in g_type_check_instance_is_a () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff56c5386 in g_object_unref () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2 0x000000000042f2c9 in panel_find_icon (size=24,
icon_name=<optimized out>, icon_theme=<optimized out>) at
panel-util.c:290
#3 panel_find_icon (icon_theme=<optimized out>, icon_name=<optimized
out>, size=24) at panel-util.c:253
#4 0x000000000042f419 in panel_load_icon (icon_theme=<optimized out>,
icon_name=0x7ff240 "system-shutdown", size=<optimized out>,
desired_width=-1, desired_height=<optimized out>,
error_msg=error_msg entry=0x7fffffffb788)
at panel-util.c:311
#5 0x0000000000427cd3 in button_widget_reload_pixbuf
(button=0x9600e0) at button-widget.c:167
#6 0x00007ffff56c055e in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff56d1544 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff56d9d11 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff718b372 in gtk_widget_size_allocate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x0000000000424a19 in panel_widget_size_allocate
(widget=<optimized out>, allocation=0x7fffffffc3e0) at
panel-widget.c:1502
#12 0x00007ffff56c055e in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff56d1544 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff56d9d11 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff718b372 in gtk_widget_size_allocate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x0000000000450d2d in panel_frame_size_allocate (widget=0x7ff840,
allocation=0x7fffffffc920) at panel-frame.c:159
#18 0x00007ffff56c37a0 in g_cclosure_marshal_VOID__BOXEDv () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff56c081b in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff56d92df in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff718b372 in gtk_widget_size_allocate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007ffff6f55c72 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007ffff56c37a0 in g_cclosure_marshal_VOID__BOXEDv () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff56c081b in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff56d92df in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff718b372 in gtk_widget_size_allocate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x000000000044856d in panel_toplevel_size_allocate
(widget=0x7ee0e0, allocation=<optimized out>) at panel-toplevel.c:2840
#30 0x00007ffff56c0620 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff56d1544 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff56d9d11 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff718b372 in gtk_widget_size_allocate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x000000000044801d in panel_toplevel_check_resize
(container=<optimized out>) at panel-toplevel.c:2701
#36 0x00007ffff56c08e7 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007ffff56d92df in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff56d9f92 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff6fc4f63 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#40 0x00007ffff6c59b40 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#41 0x00007ffff53fcf05 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ffff53fd248 in ?? () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ffff53fd6ba in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffff70594a5 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#45 0x0000000000421f3f in main (argc=1, argv=0x7fffffffdb88) at
main.c:115
Cheers
Sebastian
I just build gnome-3.6.2 from git and it works. So the reason must be
that some libary is out of date, even though configure did not complain
about my system. I am building from Ubuntu 13.04 which only has the
gnome 3.6.2 stack.
I strongly recommend against installing into /usr, as that will cause
confusion with the distribution-provided packages. That's what happened
to you Dmitry, your started-from-builddir gnome-panel tried to load the
distribution-provided applets. No wonder you see weird segfaults.
When you've successfully started a gnome-panel built this way, you can
then start putting symlinks to the session files into /usr/share. But it
doesn't make until the first part works.
Cheers
Philipp
_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]