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 525565 - Crash in find_book_by_contact at e-name-selector-entry.c:2288
Crash in find_book_by_contact at e-name-selector-entry.c:2288
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
2.32.x (obsolete)
Other All
: High critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-04-01 15:30 UTC by baryluk
Modified: 2011-01-11 13:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
eds patch (722 bytes, patch)
2011-01-11 13:35 UTC, Milan Crha
committed Details | Review

Description baryluk 2008-04-01 15:30:43 UTC
What were you doing when the application crashed?
I was writing email, then i Hit Cc: button, and add one address, then i closed address boo. Aftter that i hit right click on thhe CC: field (on the just added person), and selected Modify address. Evolution crashed! Losing my 4 page email!



Distribution: Debian lenny/sid
Gnome Release: 2.22.0 2008-03-14 (Debian)
BugBuddy Version: 2.22.0

System: Linux 2.6.25-rc6 #28 SMP PREEMPT Thu Mar 20 01:49:56 CET 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Gorilla
Icon Theme: Gorilla

Memory status: size: 255094784 vsize: 255094784 resident: 52633600 share: 24231936 rss: 52633600 rss_rlim: 4294967295
CPU usage: start_time: 1207054556 rtime: 9876 utime: 9058 stime: 818 cutime:106 cstime: 65 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/evolution'

[Thread debugging using libthread_db enabled]
[New Thread 0xb67f4a80 (LWP 4540)]
[New Thread 0xaf4d6b90 (LWP 5327)]
[New Thread 0xb2cfcb90 (LWP 5325)]
[New Thread 0xb0a41b90 (LWP 4741)]
[New Thread 0xb125ab90 (LWP 4738)]
[New Thread 0xb1cfab90 (LWP 4693)]
[New Thread 0xb24fbb90 (LWP 4676)]
[New Thread 0xb3cfeb90 (LWP 4674)]
[New Thread 0xb34fdb90 (LWP 4672)]
[New Thread 0xb44ffb90 (LWP 4662)]
[New Thread 0xb4e1ab90 (LWP 4656)]
0xb7f4b424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb67f4a80 (LWP 4540))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/cmov/libpthread.so.0
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 segv_redirect
    at main.c line 413
  • #6 <signal handler called>
  • #7 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #8 find_book_by_contact
    at e-name-selector-entry.c line 1896
  • #9 popup_activate_contact
    at e-name-selector-entry.c line 1997
  • #10 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 ??
    from /usr/lib/libgobject-2.0.so.0
  • #13 ??
  • #14 ??
  • #0 __kernel_vsyscall


----------- .xsession-errors (31 sec old) ---------------------
get movax pop://movax@poczta.o2.pl/
Find Items 0
BBDB spinning up...
get baryluk smtp://baryluk;auth=LOGIN@smp.if.uj.edu.pl/
Find Items 0
get baryluk pop://baryluk@paul.mpi.int.pl
Find Items 0
get baryluk pop://baryluk@paul.mpi.int.pl
Find Items 0
get movax pop://movax@poczta.o2.pl/
Find Items 0
get baryluk pop://baryluk@paul.mpi.int.pl
Find Items 0
(evolution:4540): libebook-WARNING **: Wykonanie "e_book_get_contact" na książce przed "e_book_open"
--------------------------------------------------
Comment 1 Akhil Laddha 2008-04-03 14:16:57 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot
to solve the problem, so it will be hard for the developers to fix that crash.
Could you please install some debugging packages [1], start the application as
normal, and reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the Details, now
containing way more information. Please copy that stacktrace and paste it as a
comment here. Thanks in advance!

[1] debugging packages for evolution, evolution-data-server, evolution-exchange, gtkhtml, gtk, glib, libsoup, gnome-vfs, libgnome and libgnomeui (as far as those packages are provided by your distribution). More details can be found here:
http://live.gnome.org/GettingTraces
Comment 2 Bruno Boaventura 2008-06-28 14:03:09 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 3 Milan Crha 2011-01-06 12:19:07 UTC
Downstream bug report about the same from 2.32.1:
https://bugzilla.redhat.com/show_bug.cgi?id=667341

Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Thread 1 (Thread 2502)

  • #0 g_object_unref
    at gobject.c line 2629
  • #1 find_book_by_contact
    at e-name-selector-entry.c line 2288
  • #2 popup_activate_contact
    at e-name-selector-entry.c line 2389
  • #3 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #4 g_closure_invoke
    at gclosure.c line 766
  • #5 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #6 g_signal_emit_valist
    at gsignal.c line 2983
  • #7 g_signal_emit
    at gsignal.c line 3040
  • #8 IA__gtk_widget_activate
    at gtkwidget.c line 5023
  • #9 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1283
  • #10 gtk_menu_shell_button_release
    at gtkmenushell.c line 710
  • #11 gtk_menu_button_release
    at gtkmenu.c line 3011
  • #12 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #13 g_type_class_meta_marshal
    at gclosure.c line 877
  • #14 g_closure_invoke
    at gclosure.c line 766
  • #15 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #16 g_signal_emit_valist
    at gsignal.c line 2993
  • #17 g_signal_emit
    at gsignal.c line 3040
  • #18 gtk_widget_event_internal
    at gtkwidget.c line 4992
  • #19 IA__gtk_propagate_event
    at gtkmain.c line 2460
  • #20 IA__gtk_main_do_event
    at gtkmain.c line 1665
  • #21 gdk_event_dispatch
    at gdkevents-x11.c line 2377
  • #22 g_main_dispatch
    at gmain.c line 2149
  • #23 g_main_context_dispatch
    at gmain.c line 2702
  • #24 g_main_context_iterate
    at gmain.c line 2780
  • #25 g_main_loop_run
    at gmain.c line 2988
  • #26 IA__gtk_main
    at gtkmain.c line 1237
  • #27 main
    at main.c line 679

Comment 4 Milan Crha 2011-01-11 13:35:22 UTC
Created attachment 178032 [details] [review]
eds patch

for evolution-data-server;

Use of uninitialized memory. The second chunk is for an invalid unref of an object which is just about to be freed.
Comment 5 Milan Crha 2011-01-11 13:36:33 UTC
Created commit 9b01440 in eds master (2.91.6+)