nautilus-sendto crashes on startup - compiling fixes it

Bug #41915 reported by Vassilis Pandis
88
Affects Status Importance Assigned to Milestone
nautilus-sendto
Fix Released
Critical
nautilus-sendto (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

To reproduce, on an up-to-date dapper system, just click on any file and chose "send to". It crashes.

pandis@maxwell:~$ gnome-session-remove nautilus && nautilus
Removing 'nautilus' from the session

(nautilus:13696): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)

(nautilus:13696): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)
Init evolution plugin
Init gaim plugin
Init bluetooth plugin

(nautilus-sendto:13713): libebook-WARNING **: Can't find installed BookFactories

** ERROR **: failed to create local addressbook

aborting...

As you will see, I haven't obtained a proper backtrace (this is the one from bug-buddy). The reason for this is that after compiling (#41909 is somehow related - apt-get build-dep fails) from source, everything works as expected. No errors in the console either.

I got the source with "apt-get source nautilus-sendto".

I installed the package nautilus-sendto-0.5-0ubuntu4.

Note: As far as I can tell, this is not a duplicate of #41338 because it happened to me both with and without an .evolution dir.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
<a few of these>
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224321344 (LWP 13728)]
[New Thread -1232770128 (LWP 13729)]
(no debugging symbols found)
<more>
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7a7c48b in __waitpid_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e98746 in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xffffe410 in __kernel_vsyscall ()
#5 0xb796a9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#6 0xb796c2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#7 0xb7aaefa6 in g_logv () from /usr/lib/libglib-2.0.so.0
#8 0xb7aaefda in g_log () from /usr/lib/libglib-2.0.so.0
#9 0xb7ee5a62 in add_evolution_contacts_to_model () from /usr/lib/nautilus-sendto/plugins/libevolution.so
#10 0xb7ee5b31 in add_evolution_contacts_to_model () from /usr/lib/nautilus-sendto/plugins/libevolution.so
#11 0x0804a439 in set_contact_widgets ()
#12 0x0804a7ee in nautilus_sendto_create_ui ()
#13 0x0804adf8 in main ()

Thread 2 (Thread -1232770128 (LWP 13729)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7a018c4 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7aa9788 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0xb7aa9c58 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0xb6ef382b in e_book_set_default_source () from /usr/lib/libebook-1.2.so.5
No symbol table info available.
#5 0xb7ac2582 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6 0xb7a76341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7 0xb7a0b4ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread -1224321344 (LWP 13728)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7a7c48b in __waitpid_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7e98746 in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#5 0xb796a9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6 0xb796c2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#7 0xb7aaefa6 in g_logv () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8 0xb7aaefda in g_log () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9 0xb7ee5a62 in add_evolution_contacts_to_model () from /usr/lib/nautilus-sendto/plugins/libevolution.so
No symbol table info available.
#10 0xb7ee5b31 in add_evolution_contacts_to_model () from /usr/lib/nautilus-sendto/plugins/libevolution.so
No symbol table info available.
#11 0x0804a439 in set_contact_widgets ()
No symbol table info available.
#12 0x0804a7ee in nautilus_sendto_create_ui ()
No symbol table info available.
#13 0x0804adf8 in main ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()

Revision history for this message
Peter Jönsson (peterj1978) wrote :

I tried this and it also crashes for me.
nautilus-sendto 0.5-0ubuntu4

If i try to send the file a second time it works without crashing.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Weird... Now that I checked it again it works OK. Can somebody on a clean and recent install tell us what's happening?

Revision history for this message
Vassilis Pandis (pandisv) wrote :

I can't reproduce it anymore. I'm closing as fix released.. If anybody has the same problem, feel free to reopen. Thanks.

Changed in nautilus-sendto:
status: Unconfirmed → Fix Released
Revision history for this message
Matti Lindell (mlind) wrote :

Sorry, I didn't notice this one, so I accidently opened new bug about this very same subject.

https://launchpad.net/distros/ubuntu/+source/nautilus-sendto/+bug/46478

This bug is still present on up-to-date Dapper. Could someone please assist how to remove configuration files this creates on first start, so I could troubleshoot this bit further.

Changed in nautilus-sendto:
status: Fix Released → Confirmed
Revision history for this message
Pat Patterson (pat-superpat) wrote :

Sounds like I hit this one too - definitely still there - https://launchpad.net/distros/ubuntu/+source/nautilus-sendto/+bug/48897

Revision history for this message
Dirk Sohler (icewind-deactivatedaccount) wrote :

My system is up-to-date, and it does not crash, if i use "send to".

Revision history for this message
Vassilis Pandis (pandisv) wrote :

To anybody that can reproduce this:

1. Can you please get a backtrace with debugging symbols (https://wiki.ubuntu.com/DebuggingProgramCrash) ?

2. After recompiling it (which is neccessary for step [1] ) , does the problem disappear?

Thanks. The problem has been fixed for me but since other people are having it too, it sounds like it was/is an issue.

Revision history for this message
Matti Lindell (mlind) wrote :

This bug is always 100% reproducible on my system, but only on first start. Second time user starts it, nautilus-sendto works normally.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can somebody try on Edgy with version 0.7-2ubuntu2? It works for me there.

Changed in nautilus-sendto:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Vassilis Pandis (pandisv) wrote :

I just did a fresh Dapper install (no updates installed) and I experience exactly what is described by mlind (so despite my earlier comments, there is indeed a problem with the final release of dapper). I'll try edgy as soon as possible...

Revision history for this message
Matti Lindell (mlind) wrote :

Bug is still present on Edgy, nautilus-sendto-0.7-2ubuntu3.

Revision history for this message
Daniel Holbach (dholbach) wrote :

http://bugzilla.gnome.org/show_bug.cgi?id=349029 mentions a similar backtrace and points to the patch on http://bugzilla.gnome.org/show_bug.cgi?id=348941 (http://bugzilla.gnome.org/attachment.cgi?id=69739&action=view) - it'd be great if somebody could give it a spin.

Revision history for this message
Matti Lindell (mlind) wrote :

Daniel, the patch on your comment seems to fix this issue. I built Edgy's nautilus-sendto 0.7-2ubuntu3 for Dapper with that patch applied and no crashing anymore on first startup.

I hope that patch could be backported for Dapper's nautilus-sendto 0.5 version too.
It doesn't apply on Dappers version, and it seems that there's quite bit to do to get apply.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm happy to hear that. I followed up on the upstream bug. I'd like to hear the view of the upstream author about it. If somebody wants to work on backporting the patch, I'm happy to upload it to dapper-updates.

Changed in nautilus-sendto:
status: Needs Info → Unconfirmed
Revision history for this message
Vassilis Pandis (pandisv) wrote :

I'm not terribly competent with the patches so I couldn't get the patch to (even with different -p options). Nevertheless I applied it manually and everything works ok (this is with 0.5). I created a diff that applies OK to a clean source and I'm attaching it here, although frankly I fail to see how it is any different from the original patch. It solves the problem for me with 0.5. Thanks to everybody that took a look into this!

Changed in nautilus-sendto:
status: Unknown → Rejected
Changed in nautilus-sendto:
status: Unknown → Confirmed
Revision history for this message
Vassilis Pandis (pandisv) wrote :

This is no longer an issue with Edgy, as expected.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Can somebody please test the patch and confirm that it works?

Revision history for this message
Matti Lindell (mlind) wrote :

If someone (Daniel?) reviews that patch and gives it the thumbs-up, I'll test it right away. Did the package work okay for you after patching?

You should be able to reproduce this bug if you create a new user, login as that user and launch nautilus-sendto.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I asked upstream to review the patch.

Changed in nautilus-sendto:
status: Unconfirmed → Confirmed
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Sorry - I wasn't clear about this. This *is* an upstream patch I extracted from their CVS .

Revision history for this message
Vassilis Pandis (pandisv) wrote :

bug 58267 contains a similar backtrace

Revision history for this message
Vassilis Pandis (pandisv) wrote :

bug 58722 is another manifestation of this problem ...

Revision history for this message
Alberto Milone (albertomilone) wrote :

I can confirm that this problem happens only on first start. After that it works normally.

See the bugreport

Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed upstream, either we apply http://bugzilla.gnome.org/attachment.cgi?id=69739 or take the new upstream release.

Changed in nautilus-sendto:
status: Confirmed → Fix Committed
Changed in nautilus-sendto:
status: Confirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

I can't reproduce the crash with the following upload - but searching in more than one address books doesn't work either - I followed up on the Upstream bug report.

 nautilus-sendto (0.7-2ubuntu5) edgy; urgency=low
 .
   * debian/patches/10_from_cvs_fix_evo_addressbook_crash.patch:
     - apply patch from http://bugzilla.gnome.org/show_bug.cgi?id=348941 fixing
       a crash with multiple address books.

Changed in nautilus-sendto:
status: Fix Committed → Fix Released
Revision history for this message
Tom Imhof (tomimhof) wrote :

Hi,

I can confirm this is still not fixed with Edgy and nautilus-sendto version 0.7-2ubuntu6 (edgy).

Steps to reproduce:

Right click any file and choose Send To from the context menu
The Send To dialog appears but you do not see any UI strings on it
Directly afterwards the crash dialog appears and allows you to save the error stack. I have attached this error stack.

One more detail that was not mentioned before, but might help fix the issue: after the crash occurred, Evolution loses connection to the Exchange server and needs to be restarted to get the connection back. Also, once the crash occurred and I try a second time as suggested above I do not get any crash but I do not get the Send To dialog either, it just does not appear anymore.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Still a problem, reopening.

Changed in nautilus-sendto:
status: Fix Released → Confirmed
Revision history for this message
michelem (michele-marcucci) wrote :

My bug report on an Edgy Eft

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you still get the bug?

Revision history for this message
Budiony Damianoff (budiony) wrote : Re: [Bug 41915] Re: nautilus-sendto crashes on startup - compiling fixes it

Not yet, it was on some old version of GNOME, 2.12 or 2.14 i think...

Revision history for this message
Tom Imhof (tomimhof) wrote : Re: [Bug 41915] Re: nautilus-sendto crashes on startup - compiling fixes it

Hi Sebastien, nope, I guess it is fixed now. Works fine with Feisty

cheers
tom

On Sat, 2007-05-26 at 17:01 +0000, Sebastien Bacher wrote:
> do you still get the bug?
>

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for following up. Closing the bug.

Changed in nautilus-sendto:
status: Confirmed → Fix Released
Changed in nautilus-sendto:
importance: Unknown → Critical
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.