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 545457 - gdmsetup crashed with SIGSEGV in g_unix_mount_guess_should_display()
gdmsetup crashed with SIGSEGV in g_unix_mount_guess_should_display()
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.17.x
Other Linux
: Normal critical
: ---
Assigned To: Alexander Larsson
gtkdev
Depends on:
Blocks:
 
 
Reported: 2008-07-30 09:11 UTC by Sebastien Bacher
Modified: 2008-09-13 11:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-07-30 09:11:40 UTC
the bug has been opened on https://launchpad.net/bugs/252942

"gdmsetup crashes on start.

I also encountered another problem with apport. It would report that firefox is not responding when firefox is open. I had to close firefox and then apport opened it anew.

  • #0 IA__g_unix_mount_guess_should_display
    at /build/buildd/glib2.0-2.17.4/gio/gunixmounts.c line 1883
  • #1 _g_unix_mount_new
    at /build/buildd/glib2.0-2.17.4/gio/gunixmount.c line 114
  • #2 get_mount_for_mount_path
    at /build/buildd/glib2.0-2.17.4/gio/gunixvolumemonitor.c line 155
  • #3 _g_mount_get_for_mount_path
    at /build/buildd/glib2.0-2.17.4/gio/gunionvolumemonitor.c line 585
  • #4 g_local_file_find_enclosing_mount
    at /build/buildd/glib2.0-2.17.4/gio/glocalfile.c line 1079
  • #5 _gtk_file_system_get_volume_for_file
    at /build/buildd/gtk+2.0-2.13.5/gtk/gtkfilesystem.c line 1155
  • #6 update_current_folder_get_info_cb
    at /build/buildd/gtk+2.0-2.13.5/gtk/gtkfilechooserdefault.c line 2234
  • #7 query_info_callback
    at /build/buildd/gtk+2.0-2.13.5/gtk/gtkfilesystem.c line 772
  • #8 complete_in_idle_cb
    at /build/buildd/glib2.0-2.17.4/gio/gsimpleasyncresult.c line 564

Comment 1 Matthias Clasen 2008-07-30 16:44:38 UTC
Would be interesting to know what mount_path causes the problem and why
g_unix_mount_at doesn't find a mount for it. 

I've committed a fix that should prevent the crash.

2008-07-30  Matthias Clasen  <mclasen@redhat.com>

        Bug 545457 – gdmsetup crashed with SIGSEGV in
        g_unix_mount_guess_should_display()

        * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
        crash if no mount is found.
Comment 2 Sebastien Bacher 2008-07-30 19:25:53 UTC
the stacktrace has a "_g_mount_get_for_mount_path (mount_path=0x1f44a70
"//", cancellable=0x0)" which is weird, I'll ask the submitter if he can trigger the bug and give some details
Comment 3 Nelson Benitez 2008-09-13 11:35:31 UTC
(In reply to comment #1)
> Would be interesting to know what mount_path causes the problem and why
> g_unix_mount_at doesn't find a mount for it. 

 Could be a bind mount (mount --bind) ? See http://mail.gnome.org/archives/nautilus-list/2008-September/msg00042.html