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 306322 - nautilus crash when connecting to WebDAVS without supplying user name
nautilus crash when connecting to WebDAVS without supplying user name
Status: RESOLVED INCOMPLETE
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
2.8.x
Other other
: High critical
: ---
Assigned To: gnome-vfs maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-02 21:50 UTC by Sebastian Seifert
Modified: 2005-07-19 11:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Sebastian Seifert 2005-06-02 21:50:38 UTC
Distribution: Debian 3.1
Package: nautilus
Severity: normal
Version: GNOME2.8.3 2.8.2
Gnome-Distributor: Debian
Synopsis: nautilus crash when connecting to WebDAVS without supplying user name
Bugzilla-Product: nautilus
Bugzilla-Component: general
Bugzilla-Version: 2.8.2
BugBuddy-GnomeVersion: 2.0 (2.8.1)
Description:
Description of the crash:
Nautilus crashes when I select File/Connect to Server and in the dialog,
select Service type "Secure WebDAV (HTTPS)", then click connect.

Expected Results:
Either a "please enter user name" box or nothing.

How often does this happen?
I only tried once.

Additional Infomation:
Before, I unsuccessfully tried to supply my username "soapy@gmx.de",
which got mangled to "soapy%40gmx.de@mediacenter.gmx.net" or something
like that in the following dialog.


Debugging Information:

Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1090057248 (LWP 13534)]
[New Thread 1102511024 (LWP 13558)]
[New Thread 1102248880 (LWP 13557)]
[New Thread 1101986736 (LWP 13556)]
[New Thread 1101294512 (LWP 13553)]
[New Thread 1101020080 (LWP 13547)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x40c91523 in poll () from /lib/tls/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-06-02 21:50 UTC -------


Unknown version 2.8.2 in product nautilus.  Setting version to "2.8.x".

Comment 1 Martin Wehner 2005-06-04 13:19:21 UTC
Another mediacenter crash, reassigning.
Comment 2 Christian Kirbach 2005-06-04 13:38:19 UTC
Odd. Debian 3.1 here as well but if I follow your steps it says "You need to 
enter a server name". No crash.

Have you updated your system recently?
Comment 3 Sebastian Seifert 2005-06-04 14:44:47 UTC
Umm... probably I DID enter the server name, but left out the user name. Yes,
the system was an up-to-date Debian sarge, freshly installed only a few days
before. In the meantime, I have installed gnome 2.10 from Debian experimental
instead. There, I get a dialog box asking for username and password. It still
doesn't work, though. The best I have managed so far:
1. Enter server name and user name into dialog box, select "Secure WebDAV",
click connect
2. Enter password in the next dialog box, click ok.
3. I get an error message: "Couldn't find "davs://570614@mediacenter.gmx.net".
Please check the spelling and try again."
4. Still, a mediacenter mount icon is generated on the Desktop. I doubleclick it.
5. A window that displays the contents of my WebDAV share is openened. One of
the folders inside my share has a mangled name ("?" instead of umlaut) and there
is (Invalid Unicode) in brackets after the name.
6. After a second or two with no action on my part, "The Application "nautilus"
has quit unexpectedly." appears. Should I file another bug for that?

Sometimes, maybe if a share is already "mounted" on the desktop, it dies erlier,
e.g. during user/pass dialogs, or there was another error message "Cannot
display ..." once or twice. :-/

NB, this is now gnome 2.10 from Debian experimental, the version of the Debian
package libgnome-vfs0 is 1.0.5-5.2
Comment 4 Christian Kirbach 2005-06-05 12:33:43 UTC
Sebastian, thanks for your efforts but one problem at a time please.

Open a second report about your Gnome 2.10 problems. Please tell me the new bug 
number since i can confirm the issues partly.

>Umm... probably I DID enter the server name, but left out the user name.
Still no crash here. It would be very helpful if you can give us steps on how to 
reproduce the crash and/or it would be very helpful if you get get us a stack 
trace with debugging symbols. Please see 
http://bugzilla.gnome.org/getting-traces.cgi for more information about getting 
a useful stack trace.
Comment 5 Sebastien Bacher 2005-07-17 12:58:52 UTC
any news on this bug?
Comment 6 Sebastian Seifert 2005-07-18 20:30:15 UTC
I just tried to reproduce it another time with Gnome 2.10. I get a completely
different error. Probably something broke in my Debian setup in the meantime,
since it seems the davs://-URI no longer is handled correctly.

My steps in trying to reproduce the bug:

Click "Places/Connect To Server..."

Enter:
Service type: WebDAV (HTTP)
Server: mediacenter.gmx.net
User Name: 570614
Name to use for connection: mc

Click Connect.

Enter password in password dialog.

Result:
'Can't display location "dav://570614@mediacenter.gmx.net"

There is no default action associated with this location.'


If you can tell me what's wrong with the "default action", I can take a look
into the real bug :-/.

Thanks for caring about it.
Comment 7 Christian Kirbach 2005-07-18 22:44:04 UTC
Works fine here but I compiled Gome 2.10 on my own.

Lookslike your associated actions got borked up.

what happens if you create a new user and try these steps?

Also: if it is 2.10 it must be Debian unstable !? I'd claim that if this 
problems persists even with a pristine user account it is a packaging problem.
Comment 8 Sebastian Seifert 2005-07-19 10:05:17 UTC
The problem with the action handler (where are they registered? Where can I
inspect or change them? There seems to be no UI for "default actions"...) went
away after a reboot. Maybe the problem was a Debian upgrade I had done in the
running session - I hadn't logged out for a few days. Yes, I'm running unstable,
which as of late has become rather tricky to maintain usable (shouldn't have
upgraded right now).

Anyway, in a regular gnome session, I still get the same error - a spontaneous
segfault a few seconds AFTER the window showing the contents of the webdav share
has been created. Maybe there is heap corruption and another thread stumbles
over it?

I tried running Nautilus with the valgrind memory checker tool, but it bailed
out very soon with multiple segfaults. valgrind also reports an unhandled
syscall, that might be the problem.

When I start Nautilus with the electric-fence malloc-debugging-library
LD_PRELOADED, there is a problem with corba and no Nautilus window appears.
Strange, I would have thought that libefence it should not influence a program's
behaviour at all; maybe it has problems with mmap or other means of VM
manipulation than malloc (new) / free (delete).

I tried to install debugging libraries, libc6-dbg and libgnomevfs2-0-dbg from
Debian. Adding /usr/lib/debug to my LD_LIBRARY_PATH correctly causes the
libc6-dbg libraries to be used (verified with ldd). For the libgnomevfs2-0-dbg
libraries, the path (maybe by mistake?) is /usr/lib/debug/usr/lib. There is no
libgnomevfs-2.so.0 link there (which, ldd shows me, is the file the dynamic
linker looks for), so I created one. After adding the link, when using
/usr/lib/debug:/usr/lib/debug/usr/lib as the LD_LIBRARY_PATH, I get the
following error:

nautilus: error while loading shared libraries: libgnomevfs-2.so.0: object file
has no dynamic section

The libgnomevfs2-0-dbg (2.10.1-5) package seems to be rather broken.

Another approach I took in order to narrow down the problem (and then maybe use
valgrind/libefence) was to run a standalone nautilus in a non-gnome (fluxbox)
environment with the following command:

nautilus --no-desktop --no-default-window davs://570614@mediacenter.gmx.net

This asks for my password (so it has a connection to the server), but then fails
with an error message titled "Can't Display Location", and the text 'Couldn't
find "davs://570614@mediacenter.gmx.net". Please check the spelling and try
again.'. Simulataneously, it opens a nautilus window showing $HOME.  Might this
be an unrelated bug?

So, what should I do next?
Comment 9 Sebastian Seifert 2005-07-19 10:46:59 UTC
I believe I have misinterpreted how to use the debugging libraries - they seem
to be used automagically by gdb, even if only the normal libraries are
dynamically linked. I ran nautilus another time, got it to crash another time by
double-clicking on the icon labelled mc on my desktop and entering a password.
(I didn't even move the mouse in the period between the appearance of the webdav
share's window and the appearance of the crash window).

Then I got the following improved stack trace from bug buddy:
Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225255776 (LWP 6842)]
[New Thread -1237455952 (LWP 6856)]
[New Thread -1237111888 (LWP 6855)]
[New Thread -1236849744 (LWP 6854)]
[New Thread -1236370512 (LWP 6851)]
[New Thread -1227719760 (LWP 6843)]
(no debugging symbols found)
(no debugging symbols found)
0xb7bc8561 in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread -1225255776 (LWP 6842))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 IA__g_logv
  • #6 IA__g_log
    at gmessages.c line 512
  • #7 IA__g_assert_warning
  • #8 nautilus_bookmark_new
    from /usr/lib/libnautilus-private.so.2
  • #9 nautilus_bookmark_set_name
    from /usr/lib/libnautilus-private.so.2
  • #10 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #11 IA__g_closure_invoke
    at gclosure.c line 437
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #14 IA__g_signal_emit
    at gsignal.c line 2291
  • #15 nautilus_file_emit_changed
    from /usr/lib/libnautilus-private.so.2
  • #16 nautilus_file_changed
    from /usr/lib/libnautilus-private.so.2
  • #17 nautilus_directory_force_reload_internal
    from /usr/lib/libnautilus-private.so.2
  • #18 dispatch_get_file_info_callback
    at gnome-vfs-job.c line 247
  • #19 dispatch_job_callback
    at gnome-vfs-job.c line 559
  • #20 g_idle_dispatch
    at gmain.c line 3812
  • #21 g_main_dispatch
    at gmain.c line 1933
  • #22 IA__g_main_context_dispatch
    at gmain.c line 2483
  • #23 g_main_context_iterate
    at gmain.c line 2564
  • #24 IA__g_main_loop_run
    at gmain.c line 2768
  • #25 IA__gtk_main
    at gtkmain.c line 974
  • #26 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0

Comment 10 Christian Kirbach 2005-07-19 11:08:16 UTC
Well, you are supposed to quit Gnome when updating anyway.
By the way, the last stack trace is *excellent* ! Is is Gnome 2.10
and you have upgraded meanwhile while the report is till tagged Nautilus 2.8.3

I will attach the trace to Bug 304736 which matches the stack trace you have  
just given.

We have to focus on _one problem at a time per report_ . So please stay talking 
about Gnome 2.8.3 here. Go to Bug 304736 for the problems you are currently 
facing. I am adding you to the CC: list there .

I'll mark this report INCOMPLETE. Feel free to install Gnome 2.8.3 and reopen 
this report so we can attempt to settle the issue concerning Gnome 2.8 . Thanks.
Comment 11 Sebastian Seifert 2005-07-19 11:30:44 UTC
I'm afraid I cannot reproduce the Gnome 2.8 bugs any more, since I've upgraded
to Gnome 2.10, and a Debian downgrade isn't really that much fun.

Thanks for adding me to the cc.