Closed
Bug 925473
Opened 12 years ago
Closed 4 years ago
sftp (gio/gvfs) doesn't work, may crash
Categories
(Core :: Networking, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dveditz, Unassigned)
Details
(Keywords: crash, csectype-dos, Whiteboard: [necko-backlog])
Crash Data
Kurt Roeckx reports that using sftp: will crash both Iceweasel and a Mozilla-built Firefox 24 release on his Debian system.
e.g. sftp://ftp.debian.org/
The crash is a null-deref
bp-7bc25345-a3f9-4bc6-a4c0-a81832131010
We tried it locally on a Gentoo system and it didn't crash, but it also didn't do anything -- just a blank tab. A debug build spit out the message
** (firefox:28841): WARNING **: Mount failed: Login dialog cancelled 14
Comment 1•12 years ago
|
||
The crashing line is:
while (*uri_schemes != nullptr) {
which suggests uri_schemes is NULL.
It is assigned with:
const gchar* const * uri_schemes = g_vfs_get_supported_uri_schemes(gvfs);
Comment 2•12 years ago
|
||
Here, there is always a
WARNING: NS_ENSURE_TRUE(resultIndex >= 0) failed: file /home/karl/moz/dev/toolkit/components/autocomplete/nsAutoCompleteController.cpp, line 1470
before
** (firefox:5381): WARNING **: Mount failed: Login dialog cancelled 14
> bp-7bc25345-a3f9-4bc6-a4c0-a81832131010
http://hg.mozilla.org/releases/mozilla-release/annotate/7c3b0732e765/extensions/gio/nsGIOProtocolHandler.cpp#l1016
Looks like g_vfs_get_supported_uri_schemes(gvfs) has returned null.
That would be a bug in GVfs because that function should return "a NULL-terminated array of strings."
Comment 3•12 years ago
|
||
Loading sftp://ftp.debian.org/ from about:newtab is a bit like Bug 702432.
When loading other sites, the previous url is restored.
Those may not be bugs in the nsGIOProtocolHandler.
Updated•10 years ago
|
Crash Signature: [@ nsGIOProtocolHandler::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) ] → [@ nsGIOProtocolHandler::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) ]
[@ nsGIOProtocolHandler::NewURI ]
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 4•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 5•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 6•4 years ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•