Segfault in replace_link_contact

Bug #835978 reported by Antoine Amarilli
2
Affects Status Importance Assigned to Milestone
emailgraph
Triaged
Medium
motters

Bug Description

From trunk-1 revision 27, segfault when running on a file:
$ ./emailgraph -m ~/Mail/thunderbird/archives_b --dot

Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000407c05 in replace_link_contact (base=0x648f40, old_contact=0x648e30,
    new_contact=0x65acb0) at links.c:205
205 if (next_link->from==(struct contact*)old_contact) {
(gdb) bt
#0 0x0000000000407c05 in replace_link_contact (base=0x648f40,
    old_contact=0x648e30, new_contact=0x65acb0) at links.c:205
#1 0x0000000000407dff in merge_links (new_contact=0x65acb0, old_contact=0x648e30)
    at links.c:252
#2 0x000000000040149e in merge_contacts (c=0x65acb0, other=0x648e30,
    contact_list=0x632010) at contacts.c:228
#3 0x000000000040172d in merge_duplicates (contact_list=0x632010) at contacts.c:291
#4 0x00000000004067aa in main (argc=4, argv=0x7fffffffe5d8) at emailgraph.c:372

Please tell me about any additional information you would need.

motters (fuzzgun)
Changed in emailgraph:
importance: Undecided → Medium
assignee: nobody → motters (fuzzgun)
motters (fuzzgun)
Changed in emailgraph:
status: New → In Progress
Revision history for this message
motters (fuzzgun) wrote :

This has been difficult to reproduce, but I have made some changes to the way that links are merged which might improve things. Try with version 0.5 and see if you still get the same error.

Revision history for this message
Antoine Amarilli (a3nm) wrote :

I tried with revision 35 from the repos, and I couldn't reproduce the segfaults anymore, so this works for me. Thanks!

motters (fuzzgun)
Changed in emailgraph:
status: In Progress → Incomplete
motters (fuzzgun)
Changed in emailgraph:
status: Incomplete → Triaged
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.