! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] Fix crash when mounting with older gvfs (0.2.5)
Status:
CLOSED: FIXED

Comments

Description Colin Leroy 2009-01-10 18:19:18 CET
Created attachment 2076 
Fix crash when mounting with older gvfs

Hi,

Using ubuntu Intrepid with GVFS 1.0, I have no problem mounting shares. With gvfs 0.2.5 (shipped in Ubuntu Hardy), I get a segfault, with this backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb739f720 (LWP 26646)]
0x080546fd in mount_ready_cb (location=0x80a19b0, res=0x8427db0, backend=0x80a1c00) at backendgvfs.c:463
463			g_signal_emit(backend, signals[OPERATION_FAILED], 0, msg, error->message);
(gdb) print error
$1 = (GError *) 0x0


The attached patch fixes it.
Comment 1 Enrico Tröger editbugs 2009-01-11 17:21:42 CET
Oops, sorry. Stupid mistake.
Committed, thanks again Colin.

Bug #4794

Reported by:
Colin Leroy
Reported on: 2009-01-10
Last modified on: 2009-07-14

People

Assignee:
Enrico Tröger
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information