Segmentation fault when the application closes

Bug #1388370 reported by PerfectCarl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vocal
Fix Released
High
Nathan Dyer

Bug Description

I just played with the app after a first time install : opening and closing it.
The app segfault each time I close it.

For some reason, apport doesn't open midori to post a new bug.

Revision history for this message
Nathan Dyer (nathandyer) wrote :

Hi! Is this problem still happening? If it is, will you please run Vocal from terminal and copy/paste any output that you see? I'm unable to reproduce it on my machines.

Thanks!

Changed in vocal:
status: New → Incomplete
Revision history for this message
PerfectCarl (name-is-carl) wrote :

I swear I did, but for some reason launchpad ate it.
I'm using freya 64bits
Here's the console log:

[_LOG_LEVEL_INFO 03:31:56.714564] Application.vala:155: Vocal version: 0.1
[_LOG_LEVEL_INFO 03:31:56.714661] Application.vala:157: Kernel version: 3.13.0-39-generic
[_LOG_LEVEL_DEBUG 03:31:56.715714] [Gtk] Connecting to session manager
No LSB modules are available.
[_LOG_LEVEL_INFO 03:31:56.860623] MainWindow.vala:1219: Vocal appears to be running in elementary OS. It will use elementary-specific icons.
[_LOG_LEVEL_DEBUG 03:31:56.861993] Settings.vala:158: Loading settings from schema 'net.launchpad.vocal'
[_LOG_LEVEL_FATAL 03:31:56.881783] [Gtk] gtk_header_bar_set_custom_title: assertion 'GTK_IS_HEADER_BAR (bar)' failed
[_LOG_LEVEL_FATAL 03:31:56.881825] Vocal will not function properly.
[_LOG_LEVEL_DEBUG 03:31:56.933060] Settings.vala:158: Loading settings from schema 'net.launchpad.vocal'
Segmentation fault (core dumped)

Note: there is also FATAL warnings at the start of the app that don't look too nice, too.

Revision history for this message
PerfectCarl (name-is-carl) wrote :

Because I'm a nice guy, I built a debug version of vocal to get a full stacktrace :

Program received signal SIGSEGV, Segmentation fault.
0x000000000042295a in vocal_main_window_on_window_closing (self=0x1e6a3d0) at /home/cran/Projects/vala/vocal/src/MainWindow.vala:2010
2010 } else if(downloads.downloads.size > 0) {

#0 0x000000000042295a in vocal_main_window_on_window_closing (self=0x1e6a3d0) at /home/cran/Projects/vala/vocal/src/MainWindow.vala:2010
#1 0x000000000040fc9e in _vocal_main_window_on_window_closing_gtk_widget_delete_event (_sender=0x1e6a3d0, event=0x1f5c630, self=0x1e6a3d0)
    at MainWindow.c:877
#2 0x00007ffff5dc952e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#3 0x00007ffff4e6a5e7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff4e83088 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff4e83ce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff5ef7c84 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#7 0x00007ffff5dc8a70 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#8 0x00007ffff5f0ba51 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9 0x00007ffff52eb898 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#10 0x00007ffff4b9ace5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff4b9b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff4b9b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff5616b9c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007ffff7366d50 in granite_application_run () from /usr/lib/x86_64-linux-gnu/libgranite.so.2
#15 0x000000000040f1f2 in vocal_vocal_app_main (args=0x7fffffffde88, args_length1=1) at /home/cran/Projects/vala/vocal/src/Vocal.vala:114
#16 0x000000000040f249 in main (argc=1, argv=0x7fffffffde88) at /home/cran/Projects/vala/vocal/src/Vocal.vala:79

To reproduce the bug, uninstall vocal, make sure no podcast has been added.
Then open the app and close it immediately.

Revision history for this message
Nathan Dyer (nathandyer) wrote :

Oh, wow! Thanks! I was able to reproduce. I'll work on a fix right now.

Nathan Dyer (nathandyer)
Changed in vocal:
status: Incomplete → Fix Committed
Nathan Dyer (nathandyer)
Changed in vocal:
milestone: none → 1.0-release-candidate
Nathan Dyer (nathandyer)
Changed in vocal:
importance: Undecided → High
assignee: nobody → Nathan Dyer (nathandyer)
Nathan Dyer (nathandyer)
Changed in vocal:
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.