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 644531 - evolution plugin crashes
evolution plugin crashes
Status: RESOLVED FIXED
Product: nautilus-sendto
Classification: Applications
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: nautilus-sendto-maint
nautilus-sendto-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-11 19:36 UTC by Bill Nottingham
Modified: 2012-04-11 10:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed nst patch (3.95 KB, patch)
2011-03-14 10:53 UTC, Milan Crha
none Details | Review

Description Bill Nottingham 2011-03-11 19:36:15 UTC
Starting program: /usr/bin/nautilus-sendto ~/Videos/TSS82.mp3 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff16ec700 (LWP 301)]
[New Thread 0x7ffff0881700 (LWP 302)]
Init gajim plugin
warning: the debug information found in "/usr/lib/debug//usr/lib64/libgeoclue.so.0.0.0.debug" does not match "/usr/lib64/libgeoclue.so.0" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib64/libgeoclue.so.0.0.0.debug" does not match "/usr/lib64/libgeoclue.so.0" (CRC mismatch).

Init empathy plugin
Init nautilus burn plugin
Init pidgin plugin
Init evolution plugin
Init removable-devices plugin

(nautilus-sendto:32766): Gtk-WARNING **: Unknown property: GtkDialog.has-separator

(nautilus-sendto:32766): libebook-WARNING **: e-book.c:3256: cannot get book from factory: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

** (nautilus-sendto:32766): WARNING **: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

(nautilus-sendto:32766): libebook-WARNING **: e-book.c:3256: cannot get book from factory: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.832 was not provided by any .service files

(nautilus-sendto:32766): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.832 was not provided by any .service files

** (nautilus-sendto:32766): WARNING **: (null)
GSlice: MemChecker: attempt to release non-allocated block: 0x9b1000 size=16

Program received signal SIGABRT, Aborted.
0x000000342e4362c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Missing separate debuginfos, use: debuginfo-install NetworkManager-glib-0.8.2-8.git20101117.fc15.x86_64 geoclue-0.12.0-3.fc15.x86_64 gnutls-2.10.5-1.fc15.x86_64 libXt-1.1.0-1.fc15.x86_64 libicu-4.4.2-7.fc15.x86_64 libjpeg-turbo-1.1.0-1.fc15.x86_64 libogg-1.2.2-3.fc15.x86_64 libtasn1-2.7-2.fc15.x86_64 libtool-ltdl-2.4-4.fc15.x86_64 libvorbis-1.3.2-1.fc15.x86_64 libxslt-1.1.26-7.fc15.x86_64 nss-softokn-freebl-3.12.9-7.fc15.x86_64
(gdb) bt
  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 abort
    at abort.c line 92
  • #2 g_slice_free1
    at gslice.c line 880
  • #3 e_contact_entry_set_source_list
    at e-contact-entry.c line 518
  • #4 add_sources
    at evolution.c line 179
  • #5 get_contacts_widget
    at evolution.c line 217
  • #6 set_contact_widgets
    at nautilus-sendto-command.c line 411
  • #7 nautilus_sendto_create_ui
    at nautilus-sendto-command.c line 596
  • #8 main
    at nautilus-sendto-command.c line 831


nautilus-sendto-2.91.6-1.fc15.x86_64
evolution-2.91.91-1.fc15.x86_64
Comment 1 Bill Nottingham 2011-03-11 19:42:46 UTC
This crash is triggered by the e-d-s crash in bug 644532.
Comment 2 Milan Crha 2011-03-14 10:53:16 UTC
Created attachment 183324 [details] [review]
proposed nst patch

for nautilus-sendto;

This is fixing this crash. It was because the 'error' variable was set in the first call to e_book_new(), then it was freed, but not reset to NULL, so another call to e_book_new() failed again, but it wasn't updating the 'error' so the next call of g_error_free was on an already freed memory.

All the other changes are to adapt nautilus-sendto to API changes in EBook and to fix few other minor compiler warnings and code-logic changes.
Comment 3 Bastien Nocera 2012-04-11 10:56:02 UTC
commit 119d3ed1850f61f15e2a64aed468041fe747861a
Author: Milan Crha <mcrha@redhat.com>
Date:   Wed Apr 11 11:54:42 2012 +0100

    evolution: Fix possible double-free crash
    
    Due to error handling.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644531

commit d382093aac2abadc0bf08932a1cb9d80a2ff44f2
Author: Milan Crha <mcrha@redhat.com>
Date:   Wed Apr 11 11:54:24 2012 +0100

    evolution: Fix addressbook source handling

commit e8bcc2882c34a585fc5be7e4cbb761c2b1d5998d
Author: Milan Crha <mcrha@redhat.com>
Date:   Wed Apr 11 11:53:28 2012 +0100

    evolution: Fix view-completed signal handling

commit 3eb262a424e797730ec3393a9489e0e6eafcc8b5
Author: Milan Crha <mcrha@redhat.com>
Date:   Wed Apr 11 11:51:58 2012 +0100

    evolution: Fix double assignment