Sometimes Granite.SimpleCommand hangs & freezes wingpanel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Confirmed
|
Undecided
|
Unassigned | ||
Wingpanel Network Indicator |
Fix Released
|
Critical
|
Felipe Escoto |
Bug Description
If the network indicator uses SimpleCommand, sometimes wingpanel freezes. Here is a backtrace:
#0 0x00007ffff5f1af1d in read () from /usr/lib/libc.so.6
#1 0x00007ffff647c89d in ?? () from /usr/lib/
#2 0x00007ffff642adb8 in ?? () from /usr/lib/
#3 0x00007ffff642b46d in ?? () from /usr/lib/
#4 0x00007ffff642be74 in g_io_channel_
#5 0x00007ffff7b84993 in __lambda20_ (condition=
#6 ___lambda20_
#7 0x00007ffff643790d in g_main_
#8 0x00007ffff6437ce0 in ?? () from /usr/lib/
#9 0x00007ffff6437d8c in g_main_
#10 0x00007ffff787547c in g_application_run () from /usr/lib/
#11 0x00007ffff7b6f120 in granite_
#12 0x00000000004066a4 in wingpanel_main (args=0x7ffffff
#13 0x00007ffff5e60790 in __libc_start_main () from /usr/lib/libc.so.6
#14 0x0000000000406359 in _start ()
And indeed, the code used there looks quite weird (for instance the exceptions block are definitively not long enough because the code that follows can use uninitialized data).
Uncomment the code in show_settings in src/Widget/
Related branches
- Danielle Foré: Needs Fixing
-
Diff: 22 lines (+6/-6)1 file modifiedsrc/Indicator.vala (+6/-6)
Changed in granite: | |
status: | New → Confirmed |
assignee: | nobody → xapantu (xapantu) |
Changed in granite: | |
assignee: | xapantu (xapantu) → nobody |
summary: |
- Sometimes Granite.SimpleCommand hangs + Sometimes Granite.SimpleCommand hangs & freezes wingpanel |
Changed in wingpanel-indicator-network: | |
status: | New → In Progress |
assignee: | nobody → Felipe Escoto (philip.scott) |
Changed in wingpanel-indicator-network: | |
status: | In Progress → Fix Committed |
no longer affects: | wingpanel |
Changed in wingpanel-indicator-network: | |
importance: | Undecided → Critical |
milestone: | none → 2.0.1 |
status: | Fix Committed → Fix Released |
So, the branch linked should fix some issues, I think there is another problem with the read_line that are fired too often, but I am not sure and it takes time to investigate.