Bug 317604 (MONO74384) - gnome-vfs wedges mdb
Summary: gnome-vfs wedges mdb
Status: RESOLVED INVALID
Alias: MONO74384
Product: Mono: Debugger
Classification: Mono
Component: backend (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 01:38 UTC by Dan Winship
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:12:23 UTC


---- Reported by danw@gnome.org 2005-04-04 18:38:03 MST ----

gnome-vfs wedges mdb. I think it's seteuid's fault:

Process @3 stopped at #0: 0xffffe410.
0xffffe410      pop    %ebp
(mdb) where
(*) #0: 0xffffe410
    #1: 0x4039bc85 in seteuid+0x75
    #2: 0x41565d85 in _gnome_vfs_get_daemon_force_probe_callback+0x365
    #3: 0x41565f5e in gnome_vfs_method_get+0x1e
    #4: 0x4157841c in gnome_vfs_uri_new_private+0xac
    #5: 0x4157948a in gnome_vfs_url_show+0x6a
    #6: 0x4157a41b in gnome_vfs_make_uri_canonical+0x27b
    ...

(The call to seteuid is not actually in
_gnome_vfs_get_daemon_force_probe_callback, it's in the static
gnome_vfs_add_module_to_hash_table underneath it.)

I think gdb hacks around this by skipping over calls to setxid that
won't actually have any effect. (Eg, in this case, gnome-vfs is just
trying to drop setuid/setgid privileges, but it doesn't actually
have them, so it doesn't matter.)



---- Additional Comments From toshok@ximian.com 2005-05-04 11:51:15 MST ----

which app is this in?



---- Additional Comments From danw@gnome.org 2005-05-04 11:57:16 MST ----

oops, sorry. happens with anything that uses the file chooser.
eg, in stetic, do File -> Import Glade File, and it wedges




---- Additional Comments From miguel@ximian.com 2005-09-05 13:52:34 MST ----

reassigning to new debugger owner.



---- Additional Comments From martin@ximian.com 2006-04-18 13:00:24 MST ----

Old.


Unknown operating system unknown. Setting to default OS "Other".