After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412732 - evolution crashed with SIGSEGV in g_list_insert_sorted_real()
evolution crashed with SIGSEGV in g_list_insert_sorted_real()
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.10.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-02-27 18:57 UTC by Sebastien Bacher
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
proposed evo patch (996 bytes, patch)
2007-08-14 12:19 UTC, Milan Crha
committed Details | Review

Description Sebastien Bacher 2007-02-27 18:57:36 UTC
That bug has been opened on https://launchpad.net/bugs/88117

"Binary package hint: evolution

evolution crashed when adding contact
...
Package: evolution 2.9.91-0ubuntu2
..."

Debug backtrace for the crash:

Thread 1 (process 5685)

  • #0 g_list_insert_sorted_real
    at glist.c line 540
  • #1 create_contact
    at e-contact-print.c line 498
  • #2 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #3 IA__g_closure_invoke
    at gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #5 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #6 IA__g_signal_emit
    at gsignal.c line 2243
  • #7 e_book_view_handle_response
    at e-book-view.c line 46
  • #8 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #9 IA__g_closure_invoke
    at gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #11 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #12 IA__g_signal_emit
    at gsignal.c line 2243
  • #13 main_thread_get_response
    at e-book-view-listener.c line 70
  • #14 g_idle_dispatch
    at gmain.c line 3928
  • #15 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #16 g_main_context_iterate
    at gmain.c line 2677
  • #17 IA__g_main_loop_run
    at gmain.c line 2881
  • #18 bonobo_main
    at bonobo-main.c line 311
  • #19 main
    at main.c line 617

Comment 1 Milan Crha 2007-08-14 12:19:50 UTC
Created attachment 93643 [details] [review]
proposed evo patch

for evolution;

I bet, user did File->Print (or Preview) in contacts, before adding new contact, because the handler kept registered even it should not.
The patch disconnects handlers from book_view when no longer needed.
Comment 2 Srinivasa Ragavan 2007-08-16 05:43:32 UTC
Awesome. Please commit.
Comment 3 Milan Crha 2007-08-16 06:53:07 UTC
Committed to trunk. Committed revision 34009.