libdbusmenu crashes in prop_array_teardown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdbusmenu (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It is possible that this issue has the same cause as the #837009. I am not sure about it, so I am creating another one.
I have attached a stack trace. The problem is in prop_array. On widow closing, in my particular case functions are invoked in the next order
1. Check in menuitem_
2. Entering dbusmenu_
3. Deallocation of priv->prop_array and assigning NULL to it
3. Exiting dbusmenu_
4. Entering dbusmenu_
5. Exiting dbusmenu_
6. Invoking prop_array_teardown that accesses priv->prop_
As a simple fix I would think about checking of the array for NULL in the beginning of prop_array_
Please let me know if I can disable multithreading for the library or may be I use libdbusmenu incorrectly.
Actually the problem happens in Intellij IDEA when I am trying to use Jayatana library which is written on top of Ayatana library. This issue is a stopper for using Unity menu.
My environment is Ubuntu 13.04
I can provide a dump as well.