segfault when adding the first note to a new topic

Bug #906436 reported by Allen Lowe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Footnote
Fix Committed
Undecided
Unassigned

Bug Description

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0805191e in footnote_widgets_category_add_note (self=0x82e44e0, n=0x81c0630) at /home/allen/Projects/footnote/build/src/Widgets/Category.c:1812
1812 _tmp3_ = _tmp2_->view_note;
(gdb) bt
#0 0x0805191e in footnote_widgets_category_add_note (self=0x82e44e0, n=0x81c0630) at /home/allen/Projects/footnote/build/src/Widgets/Category.c:1812
#1 0x0805d7e9 in action_new_note () at /home/allen/Projects/footnote/build/src/Footnote.c:1186
#2 0x0805a95c in _action_new_note_gtk_action_callback (action=0x8081970, self=0x80930e0) at /home/allen/Projects/footnote/build/src/Footnote.c:221
#3 0xb774a14c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#4 0xb7748c3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#5 0xb775b9f0 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#6 0xb7764787 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#7 0xb77648f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8 0xb7b6f406 in ?? () from /usr/lib/libgtk-3.so.0
#9 0xb7b6fb9d in gtk_action_activate () from /usr/lib/libgtk-3.so.0
#10 0xb7d617be in ?? () from /usr/lib/libgtk-3.so.0
#11 0xb774a14c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0xb7748c3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0xb775b9f0 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0xb7764787 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0xb77648f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb7b9387a in gtk_button_clicked () from /usr/lib/libgtk-3.so.0
#17 0xb7b94bb8 in ?? () from /usr/lib/libgtk-3.so.0
#18 0xb774a14c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0xb774768d in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xb7748c3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#21 0xb775b1b7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#22 0xb7764787 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#23 0xb77648f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#24 0xb7b9379a in gtk_button_released () from /usr/lib/libgtk-3.so.0
#25 0xb7b937e4 in ?? () from /usr/lib/libgtk-3.so.0
#26 0xb7c6a1a2 in ?? () from /usr/lib/libgtk-3.so.0
#27 0xb774768d in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#28 0xb7748c3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#29 0xb775b838 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#30 0xb7764599 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#31 0xb77648f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#32 0xb7dba4c3 in ?? () from /usr/lib/libgtk-3.so.0
#33 0xb7c698e2 in gtk_propagate_event () from /usr/lib/libgtk-3.so.0
#34 0xb7c69d48 in gtk_main_do_event () from /usr/lib/libgtk-3.so.0
#35 0xb7ab313c in ?? () from /usr/lib/libgdk-3.so.0
#36 0xb7adaec8 in ?? () from /usr/lib/libgdk-3.so.0
#37 0xb768025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb7680990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb7680f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb7c68f95 in gtk_main () from /usr/lib/libgtk-3.so.0
#41 0x0805d90b in _vala_main (args=0xbffff374, args_length1=1) at /home/allen/Projects/footnote/build/src/Footnote.c:1230
#42 0x0805d939 in main (argc=1, argv=0xbffff374) at /home/allen/Projects/footnote/build/src/Footnote.c:1237
(gdb)

Revision history for this message
Jaap Broekhuizen (jaapz-b) wrote :

This should be fixed in the lp:~elementary-apps/footnote/refactored-search branch, could you test it for me? I don't get the segfault anymore!

Revision history for this message
Andrea Basso (voluntatefaber) wrote :

I don't get it anymore as well.

Changed in footnote:
status: New → Fix Committed
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.