nautilus-sendto crashed with SIGSEGV in _start() due to broken libnstbluetooth.so plugin_info structure

Bug #632358 reported by gogo
264
This bug affects 54 people
Affects Status Importance Assigned to Milestone
GNOME Bluetooth
Fix Released
High
gnome-bluetooth (Ubuntu)
Fix Released
High
Canonical Desktop Team
Maverick
Fix Released
High
Canonical Desktop Team
nautilus-sendto (Ubuntu)
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: nautilus-sendto

nautilus-sendto crashed with SIGSEGV in _start()

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: nautilus-sendto 2.31.7-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Tue Sep 7 14:12:16 2010
Disassembly: => 0x0: Cannot access memory at address 0x0
ExecutablePath: /usr/bin/nautilus-sendto
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
ProcCmdline: nautilus-sendto file:///home/username/Desktop/ppa%20bash.tar.gz
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x0: Cannot access memory at address 0x0
 PC (0x00000000) not located in a known VMA region (needed executable region)!
SegvReason: executing NULL VMA
Signal: 11
SourcePackage: nautilus-sendto
Stacktrace:
 #0 0x0000000000000000 in ?? ()
 No symbol table info available.
 #1 0x00000000004033f9 in _start ()
 No symbol table info available.
StacktraceTop:
 ?? ()
 _start ()
Title: nautilus-sendto crashed with SIGSEGV in _start()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
gogo (trebelnik-stefina) wrote :
gogo (trebelnik-stefina)
visibility: private → public
Revision history for this message
Steve Holmes (bouncysteve) wrote :

Also fails in UNE

Changed in nautilus-sendto (Ubuntu):
status: New → Confirmed
Revision history for this message
igi (igor-cali) wrote :

It always occour in my 32bit Maverick beta system after right-clicking a file and clicking the SendTo command.

tags: added: i386
Revision history for this message
Axel (nospamforaxel-1) wrote :

Occurs here also in a amd64 system when right-clicking a file and clicking the SendTo command.

Revision history for this message
Roman Yepishev (rye) wrote :

It looks like the crash is happening in /usr/lib/nautilus-sendto/plugins/libnstbluetooth.so since standalone nautilus-sendto does not crash on startup.

Revision history for this message
Roman Yepishev (rye) wrote :

After adding some debug statements:

** (nautilus-sendto:12599): DEBUG: Trying libnstbluetooth.so...
** (nautilus-sendto:12599): DEBUG: checking for module symbol...
** (nautilus-sendto:12599): DEBUG: running nst_init_plugin
** (nautilus-sendto:12599): DEBUG: finished nst_init_plugin
** (nautilus-sendto:12599): DEBUG: p = 0x1beafa0
** (nautilus-sendto:12599): DEBUG: p->info = 0x7ffdd50570e0
** (nautilus-sendto:12599): DEBUG: p->info->init = (nil)

So p->info->init() routine is NULL in libnstbluetooth.so.

Revision history for this message
Roman Yepishev (rye) wrote :

Here's brasero plugin info:

static
NstPluginInfo plugin_info = {
        // icon;
        "brasero",
        // id
        "nautilus-burn",
        // description
        N_("CD/DVD Creator"),
        // gettext_package
        NULL,
        // capabilities
        NAUTILUS_CAPS_SEND_DIRECTORIES,
        // init
        init,
        // get_contacts_widget
        get_contacts_widget,
        // validate_destination
        NULL,
        // send_files
        send_files,
        // destroy
        destroy
};

And here's what libnstbluetooth has:

static
NstPluginInfo plugin_info = {
        // icon;
        "bluetooth",
        // id
        "bluetooth",
        // description
        N_("Bluetooth (OBEX Push)"),
        // gettext_package
        GETTEXT_PACKAGE,
        // capabilities
        FALSE,
        // init
        NAUTILUS_CAPS_NONE,
        // get_contacts_widget
        init,
        // validate_destination
        get_contacts_widget,
        // send_files
        validate_destination,
        // destroy
        send_files,
        // ????
        destroy
};

So it looks like libnstbluetooth has an extra FALSE item now.

Roman Yepishev (rye)
Changed in gnome-bluetooth:
importance: Undecided → Unknown
status: New → Unknown
summary: - nautilus-sendto crashed with SIGSEGV in _start()
+ nautilus-sendto crashed with SIGSEGV in _start() due to broken
+ libnstbluetooth.so plugin_info structure
Changed in nautilus-sendto (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Invalid
Changed in gnome-bluetooth:
importance: Unknown → High
status: Unknown → New
Revision history for this message
Roman Yepishev (rye) wrote :

Changing ubuntu project to be gnome-bluetooth

affects: nautilus-sendto (Ubuntu) → gnome-bluetooth (Ubuntu)
Changed in gnome-bluetooth (Ubuntu):
importance: Undecided → High
status: Invalid → Confirmed
Changed in nautilus-sendto (Ubuntu):
status: New → Invalid
Revision history for this message
Roman Yepishev (rye) wrote :

Please see https://launchpad.net/~rye/+archive/ppa on the info how to get the updated gnome-bluetooth package that fixes this bug. If that works well, then maverick archives will need to be updated, will try to find a person responsible for gnome-bluetooth in ubuntu tomorrow.

Unfortunately this does not fix the bug in gnome-bluetooth that prevents it from being used in nautilus-sendto (device list is not loading at all) but that's a separate issue.

Revision history for this message
igi (igor-cali) wrote :

@Roman: I got updated packages from your PPA: then I was be able to right-click a file and send it to my mobile phone. I did it without rebooting the PC after updates.
I think these updates can be put in maverick archives.

Changed in gnome-bluetooth (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Artur Rona (ari-tczew) wrote :

Roman, your tags in patch are obsolete. I've proposed update to your branch. Please take a look and merge. Then sponsors can upload policy-correct package.

Changed in gnome-bluetooth:
status: New → Fix Released
Changed in gnome-bluetooth (Ubuntu Maverick):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is fixed since yesterday

Changed in gnome-bluetooth (Ubuntu Maverick):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.