You are not logged in.

#1 2015-10-12 17:53:48

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Workrave segfaults, cannot rebuild it. Gtkmm3 issues?

Hello,

Firstly, I apologize for being such a newbie at this, I've been using Linux for a while but I don't really have a lot experience troubleshooting package compilation. And I am fairly new to using backtraces and gdb. Anyway, I want to build Workrave using the PKGBUILD from the Arch SVN.

Workrave segfaults when opening. A backtrace with coredumpctl gdb reveals the following:

Core was generated by `workrave'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff083b32c81 in Gtk::Widget::get_allocation() const () from /usr/lib/libgtkmm-3.0.so.1
[Current thread is 1 (Thread 0x7ff0850f39c0 (LWP 29762))]
(gdb) bt
#0  0x00007ff083b32c81 in Gtk::Widget::get_allocation() const () from /usr/lib/libgtkmm-3.0.so.1
#1  0x0000000000481a77 in TimeBar::on_draw(Cairo::RefPtr<Cairo::Context> const&) ()
#2  0x00007ff083b37c51 in Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) () from /usr/lib/libgtkmm-3.0.so.1
#3  0x00007ff08285eda7 in ?? () from /usr/lib/libgtk-3.so.0
#4  0x00007ff08285f1a7 in ?? () from /usr/lib/libgtk-3.so.0
#5  0x00007ff08285f392 in ?? () from /usr/lib/libgtk-3.so.0
#6  0x00007ff08265762b in ?? () from /usr/lib/libgtk-3.so.0
#7  0x00007ff08265bd32 in ?? () from /usr/lib/libgtk-3.so.0
#8  0x00007ff083b2c799 in Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) () from /usr/lib/libgtkmm-3.0.so.1
#9  0x00007ff083b37c51 in Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) () from /usr/lib/libgtkmm-3.0.so.1
#10 0x00007ff08285eda7 in ?? () from /usr/lib/libgtk-3.so.0
#11 0x00007ff08285f3b3 in ?? () from /usr/lib/libgtk-3.so.0
#12 0x00007ff08265762b in ?? () from /usr/lib/libgtk-3.so.0
#13 0x00007ff08265bd32 in ?? () from /usr/lib/libgtk-3.so.0
#14 0x00007ff082869812 in ?? () from /usr/lib/libgtk-3.so.0
#15 0x00007ff083b2c799 in Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) () from /usr/lib/libgtkmm-3.0.so.1
#16 0x00007ff083b37c51 in Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) () from /usr/lib/libgtkmm-3.0.so.1
#17 0x00007ff08285eda7 in ?? () from /usr/lib/libgtk-3.so.0
#18 0x00007ff08285f1a7 in ?? () from /usr/lib/libgtk-3.so.0
#19 0x00007ff08285f392 in ?? () from /usr/lib/libgtk-3.so.0
#20 0x00007ff08285f5db in gtk_widget_send_expose () from /usr/lib/libgtk-3.so.0
#21 0x00007ff0827141b2 in gtk_main_do_event () from /usr/lib/libgtk-3.so.0
#22 0x00007ff08226da18 in ?? () from /usr/lib/libgdk-3.so.0
#23 0x00007ff08226eb4c in ?? () from /usr/lib/libgdk-3.so.0
#24 0x00007ff08226ed03 in ?? () from /usr/lib/libgdk-3.so.0
#25 0x00007ff081092264 in ?? () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ff0810aca66 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ff0810ad615 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#28 0x00007ff082267d67 in ?? () from /usr/lib/libgdk-3.so.0
#29 0x00007ff082257218 in ?? () from /usr/lib/libgdk-3.so.0
#30 0x00007ff080dbc6e3 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007ff080dbbc7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007ff080dbc020 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007ff080dbc342 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0x00007ff082713545 in gtk_main () from /usr/lib/libgtk-3.so.0
---Type <return> to continue, or q <return> to quit---
#35 0x0000000000457e0d in GUI::main() ()
#36 0x000000000048b8db in run ()
#37 0x00007ff07ff2a610 in __libc_start_main () from /usr/lib/libc.so.6
#38 0x000000000045b177 in _start ()

I don't actually know what those errors mean specifically, but I assume Workrave needs to be recompiled alongside the new gtkmm3 package, which was updated on October 8th. I didn't notice until today since I tend to leave Workrave open for days on end.

However, when I run makepkg -s to rebuild Workrave, I get this error:

Makefile:1149: recipe for target 'workrave-AppletControl.o' failed
make[6]: *** [workrave-AppletControl.o] Error 1
make[6]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6/frontend/gtkmm/src'
Makefile:1882: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6/frontend/gtkmm/src'
Makefile:803: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6/frontend/gtkmm/src'
Makefile:478: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6/frontend/gtkmm'
Makefile:478: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6/frontend'
Makefile:608: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kalinda/community/workrave/repos/community-x86_64/src/workrave-1_10_6'
Makefile:510: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Considering this is an official package, I feel like the problem may be on my end. A bit of googling said I might be missing something, does anyone know what that could be? Here's a link to the PKGBUILD for reference.  I can also post the config.log and/or configure file if anyone thinks that will help.

Or is this a bug with this package that I should report? The problem seems to come to back to gtkmm3, so maybe it's not actually my end after all.

Thanks!


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#2 2015-10-12 17:56:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Workrave segfaults, cannot rebuild it. Gtkmm3 issues?

https://bugs.archlinux.org/task/46621

As for it not building, you cut off the important part of the log

Online

#3 2015-10-12 18:14:10

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Re: Workrave segfaults, cannot rebuild it. Gtkmm3 issues?

Oh, thanks! I went to the bugs page and searched for workrave but I did not find that, so thanks for pointing me to it. I must've not been looking under Community Packages. People move quick around here smile I will probably downgrade gtkmm, but I'm still curious as to why workrave won't build.

Which part of the log do I need to include? The entire build output? Looking through it, I do see a few errors, but I'm never sure how much of it to post.


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#4 2015-10-12 20:01:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Workrave segfaults, cannot rebuild it. Gtkmm3 issues?

I was able to reproduce it, I'm guessing it's the same issue that's causing the crash. Leave a note in the bug report.

Online

Board footer

Powered by FluxBB