Ubuntu

nautilus-open-terminal makes nautilus segfault

Reported by Juhana Puranen on 2011-10-06
162
This bug affects 33 people
Affects Status Importance Assigned to Milestone
gconf (Ubuntu)
Undecided
Unassigned
nautilus-open-terminal (Ubuntu)
Medium
Unassigned

Bug Description

nautilus freezes and monitor workspace blurred

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nautilus 1:3.2.0-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Thu Oct 6 15:47:45 2011
ExecutablePath: /usr/bin/nautilus
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
ProcEnviron:
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: Upgraded to oneiric on 2011-10-05 (1 days ago)

Juhana Puranen (opuranen) wrote :
Pedro Villavicencio (pedro) wrote :

Thank you taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace of the freeze following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in nautilus (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Juhana Puranen (opuranen) wrote :
dmiranda (dmiranda) wrote :

I have the same problem until i remove nautilus open terminal extension.

affects: nautilus (Ubuntu) → nautilus-open-terminal (Ubuntu)
Changed in nautilus-open-terminal (Ubuntu):
status: Incomplete → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus-open-terminal (Ubuntu):
status: New → Confirmed

I can confirm that removing nautilus-open-terminal seems to solve the problem.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gconf (Ubuntu):
status: New → Confirmed
Matthieu Baerts (matttbe) wrote :

Hello,

I confirm this bug.
I'm not a specialist but it seems it's a bug in libgconf (it's what gdb's stacktrace says) and I guess this function is not "threat safe" because it seems nautilus crashes at random but it's always due to this same function: 'gconf_client_get'

This is the backtrace produced by gdb:
    #0 0x00007fffe65298be in gconf_client_get () from /usr/lib/libgconf-2.so.4
    No symbol table info available.
    #1 0x00007fffe6529db0 in gconf_client_get_bool ()
       from /usr/lib/libgconf-2.so.4
    No symbol table info available.

Nautilus-open-terminal uses this function a lot of time: 'gconf_client_get_bool'. I guess it's maybe better to call this function at the init and to use a 'gconf-listener' after in order to know if this function has changed.

In conclusion, the crash is due to this libgconf but I think nautilus-open-terminal doesn't use this library correctly.
I've joined a debdiff just to fix the bug and minimise the changes (this is a workaround) but I think it will be nice to fix this bug in libgconf and to modify nautilus-open-terminal in order to use gconf-listeners or something else.

The attachment "nautilus-open-terminal_0.19-1build2ubuntu1.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch

Bug reported to
 * nautilus-open-terminal devs: https://bugzilla.gnome.org/show_bug.cgi?id=661779
 * gconf devs: https://bugzilla.gnome.org/show_bug.cgi?id=661782

PS: But I'm not a specialist and it's highly possible that I'm wrong ;)
But my patch works :)

Matthieu Baerts (matttbe) wrote :

Don't hesitate to confirm if this patch fix this bug or not!
You can also download the new patched version on my ppa but this package is still not built: https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2001569/+listing-archive-extra

summary: - nautilus crashes all the time
+ nautilus-open-terminal makes nautilus segfault
Matthieu Baerts (matttbe) wrote :

It seems the issue is a double unref in ubuntuone-client-gnome not a gconf issue => bug 865115

Changed in gconf (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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