Segfault in DBus when scanning WiFi APs (extension code)

UNCONFIRMED
Unassigned

Status

()

Core
General
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: ondra zara, Unassigned)

Tracking

21 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 758444 [details]
backtrace.txt

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130512193848

Steps to reproduce:

Using nsIWifiMonitor in extension code, somewhat similar to:

var monitor = Cc["@mozilla.org/wifi/monitor;1"].getService(Ci.nsIWifiMonitor);
monitor.startWatching(this);
/* this implements nsIWifiMonitor */



Actual results:

Segfault, backtrace attached. Null passed to _dbus_watch_invalidate.

Possibly related to some race condition. If I delay the scanning by putting alert() into this.QueryInterface(), the segfault does not happen (from time to time).


Expected results:

The "onChange" callback should be called periodically.

Comment 1

5 years ago
I consistantly get this crash on Gentoo. Using both versions 24 and 25, both custom build (www-client/firefox) and official build (www-client/firefox-bin). My stack traces have looked similar to the one posted here.
You need to log in before you can comment on or make changes to this bug.