segmentation fault when checking for mail

Bug #675780 reported by Allen Lowe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Postler
Fix Released
Critical
Cris Dywan

Bug Description

If I mark a message as read on the server and move it to the trash on the server, Postler will crash with a segmentation fault on the next sync.

Revision history for this message
Allen Lowe (lallenlowe) wrote :

turns out it happens if I ever move any message to the trash on the server. My account is Gmail, if I move any message from the inbox to trash in the Gmail web interface, Postler segfaults on the next sync

Changed in postler:
importance: Undecided → High
importance: High → Critical
Revision history for this message
Cris Dywan (kalikiana) wrote :

What does the backtrace say?

Revision history for this message
Allen Lowe (lallenlowe) wrote :

(gdb) backtrace
#0 0x08073eb3 in postler_messages_folder_monitor_changed (self=0x81ee038,
    file=0x813e840, other=0x0, event=G_FILE_MONITOR_EVENT_CREATED)
    at default/postler/postler-messages.c:2463
#1 0x08072121 in _postler_messages_folder_monitor_changed_g_file_monitor_changed (_sender=0x81e5b78, file=0x813e840, other_file=0x0,
    event_type=G_FILE_MONITOR_EVENT_CREATED, self=0x81ee038)
    at default/postler/postler-messages.c:2012
#2 0xb7f98986 in ?? () from /usr/lib/libgio-2.0.so.0
#3 0xb7ea7412 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0xb7ebd595 in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0xb7ebe9bc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6 0xb7ebee62 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7 0xb7f1d1ee in ?? () from /usr/lib/libgio-2.0.so.0
#8 0xb7df4841 in ?? () from /lib/libglib-2.0.so.0
#9 0xb7df6855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#10 0xb7dfa668 in ?? () from /lib/libglib-2.0.so.0
#11 0xb7dfaba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#12 0xb7b181d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x080778e1 in postler_reader_main (args=0xbffff3d4, args_length1=1)
    at default/postler/postler-reader.c:491
#14 0x08077968 in main (argc=1, argv=0xbffff3d4)
    at default/postler/postler-reader.c:503

Revision history for this message
Cris Dywan (kalikiana) wrote :

We need to check if the new message is null. A message marked as deleted, like in this case, would not show up in the message view hence it returns null.

Changed in postler:
assignee: nobody → Christian Dywan (kalikiana)
status: New → Fix Committed
Cris Dywan (kalikiana)
Changed in postler:
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.