Closed Bug 943727 Opened 11 years ago Closed 6 years ago

[B2G][Helix][Dbus][wangyuguo]B2G crashed by some app send a NULL pointer to dbus driver.

Categories

(Firefox OS Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lecky.wanglei, Unassigned)

Details

Attachments

(1 file)

132.35 KB, application/x-zip-compressed
Details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0C; .NET4.0E; Tablet PC 2.0)

Steps to reproduce:

[B2G version] 
Helix V1.1.0 hd 

[repo steps]
1.Doing monkey test;


Actual results:

B2G crashed.


Expected results:

B2G normal.
please see the applog from the attachment <<bug 943727_20131127>>:
...
03-13 06:22:53.799 E/libdbus (  179): arguments to dbus_connection_send_with_reply() were incorrect, assertion "connection != NULL" failed in file external/dbus/dbus/dbus-connection.c line 3384.
03-13 06:22:53.799 E/libdbus (  179): This is normally a bug in some application using the D-Bus library.
...
How to find and avoid the app send a null to D-bus library?
Severity: normal → blocker
blocking-b2g: --- → hd?
Flags: needinfo?(echou)
Priority: -- → P1
 Hi Eric:
   Form the applog, there is many bluetooth log about dbus, could you help to analyze whether is the buletooth app send the pointer?
(In reply to lecky from comment #3)
>  Hi Eric:
>    Form the applog, there is many bluetooth log about dbus, could you help
> to analyze whether is the buletooth app send the pointer?

I checked the log but couldn't find something useful. It would be easier to investigate more if you could provide specific STR.

The error occurred because mConnection or gThreadConnection->GetConnection() has no value. I've checked related code in dom/bluetooth, it's unlikely to happen unless you toggle Bluetooth very fast.
Flags: needinfo?(echou)
> [repo steps]
> 1.Doing monkey test;
>
blocking-b2g: hd? → ---
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: