2020-03-18 22:08:13 |
Paul G |
bug |
|
|
added bug |
2020-03-18 22:08:13 |
Paul G |
attachment added |
|
Stop passing in undeclared boolean vararg https://bugs.launchpad.net/bugs/1867996/+attachment/5338540/+files/segfault-fix.patch |
|
2020-03-18 22:08:58 |
Paul G |
bug task added |
|
libappindicator (Arch Linux) |
|
2020-03-19 00:25:32 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2020-03-19 00:25:38 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2020-03-19 18:51:45 |
ash |
bug |
|
|
added subscriber Ash Holland |
2020-03-19 20:36:23 |
Paul G |
attachment added |
|
segfault-fix.patch https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1867996/+attachment/5339058/+files/segfault-fix.patch |
|
2020-03-19 21:25:25 |
Launchpad Janitor |
libappindicator (Ubuntu): status |
New |
Confirmed |
|
2020-03-21 23:07:56 |
ash |
attachment added |
|
n_elements.patch https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1867996/+attachment/5339867/+files/n_elements.patch |
|
2020-03-29 07:34:14 |
Paul Szenher |
bug |
|
|
added subscriber Paul Szenher |
2020-04-04 18:20:04 |
Robert Brunhage |
bug |
|
|
added subscriber Robert Brunhage |
2020-04-08 14:24:50 |
Launchpad Janitor |
branch linked |
|
lp:libappindicator |
|
2020-04-08 14:43:57 |
Marco Trevisan (Treviño) |
libappindicator (Ubuntu): status |
Confirmed |
Fix Committed |
|
2020-04-08 14:43:57 |
Marco Trevisan (Treviño) |
libappindicator (Ubuntu): assignee |
|
Marco Trevisan (Treviño) (3v1n0) |
|
2020-04-08 15:59:07 |
Launchpad Janitor |
branch linked |
|
lp:~ci-train-bot/libappindicator/libappindicator-ubuntu-focal-4007.1 |
|
2020-04-08 16:42:54 |
Marco Trevisan (Treviño) |
description |
Discord and several other applications using libappindicator are widely reported to have been crashing for several years. See: https://github.com/flathub/com.discordapp.Discord/issues/30 (and others)
This is the backtrace:
(gdb) bt full
#0 0x00007fe1d5d2e00e in () at /app/lib/libappindicator.so
#1 0x00007fe1f5a6f3c5 in g_closure_invoke () at /lib/libgobject-2.0.so.0
#2 0x00007fe1f5a813d2 in () at /lib/libgobject-2.0.so.0
#3 0x00007fe1f5a8a02c in g_signal_emit_valist () at /lib/libgobject-2.0.so.0
#4 0x00007fe1f5a8a40f in g_signal_emit () at /lib/libgobject-2.0.so.0
#5 0x00007fe1d5d2ed4f in app_indicator_set_icon_full () at /app/lib/libappindicator.so
#6 0x000000000077851a in ()
#7 0x0000000001de7123 in ()
#8 0x0000000001e4bd4e in ()
#9 0x0000000001e6e34c in ()
#10 0x0000000001e6e668 in ()
#11 0x0000000001e6e9cb in ()
#12 0x0000000001df971a in ()
#13 0x00007fe1f354b1c7 in g_main_context_dispatch () at /lib/libglib-2.0.so.0
#14 0x00007fe1f354b430 in () at /lib/libglib-2.0.so.0
#15 0x00007fe1f354b4dc in g_main_context_iteration () at /lib/libglib-2.0.so.0
#16 0x0000000001df9606 in ()
#17 0x0000000001e6e0e7 in ()
#18 0x0000000001e29570 in ()
#19 0x0000000000c37ec8 in ()
#20 0x0000000000c37d15 in ()
#21 0x0000000000c1da7d in ()
#22 0x0000000000a9282e in ()
#23 0x00000000007892d4 in ()
#24 0x00000000007896e0 in ()
#25 0x0000000003b830a3 in main ()
Happens in all versions of libappindicator built from latest sources available on launchpad.
I ran into the issue yesterday when installing Discord for the first time. I have tracked the problem down to libappindicator passing in an extra vararg item to g_signal_emit that the signal's definition in libappindicator was not declaring, causing the crash you see above in gobject's g_signal dispatch machinery.
Patch is attached.
I am presuming this is 'upstream' for libappindicator, whatever that may mean for what appears to be an unmaintained project. If it is not, and since it is an Ubuntu/Canonical-sourced project originally, I respectfully request that you assist in upstreaming it since this bug is causing severe breakage for users across all distros. |
[ Impact ]
Discord and several other applications using libappindicator are widely reported to have been crashing for several years. See: https://github.com/flathub/com.discordapp.Discord/issues/30 (and others)
[ Test case ]
- Run discord application
- It must not crash in ubuntu (or when indicators are enabled)
[ Regression potential ]
Very low, icons might not appear in some cases, if any.
-----
This is the backtrace:
(gdb) bt full
#0 0x00007fe1d5d2e00e in () at /app/lib/libappindicator.so
#1 0x00007fe1f5a6f3c5 in g_closure_invoke () at /lib/libgobject-2.0.so.0
#2 0x00007fe1f5a813d2 in () at /lib/libgobject-2.0.so.0
#3 0x00007fe1f5a8a02c in g_signal_emit_valist () at /lib/libgobject-2.0.so.0
#4 0x00007fe1f5a8a40f in g_signal_emit () at /lib/libgobject-2.0.so.0
#5 0x00007fe1d5d2ed4f in app_indicator_set_icon_full () at /app/lib/libappindicator.so
#6 0x000000000077851a in ()
#7 0x0000000001de7123 in ()
#8 0x0000000001e4bd4e in ()
#9 0x0000000001e6e34c in ()
#10 0x0000000001e6e668 in ()
#11 0x0000000001e6e9cb in ()
#12 0x0000000001df971a in ()
#13 0x00007fe1f354b1c7 in g_main_context_dispatch () at /lib/libglib-2.0.so.0
#14 0x00007fe1f354b430 in () at /lib/libglib-2.0.so.0
#15 0x00007fe1f354b4dc in g_main_context_iteration () at /lib/libglib-2.0.so.0
#16 0x0000000001df9606 in ()
#17 0x0000000001e6e0e7 in ()
#18 0x0000000001e29570 in ()
#19 0x0000000000c37ec8 in ()
#20 0x0000000000c37d15 in ()
#21 0x0000000000c1da7d in ()
#22 0x0000000000a9282e in ()
#23 0x00000000007892d4 in ()
#24 0x00000000007896e0 in ()
#25 0x0000000003b830a3 in main ()
Happens in all versions of libappindicator built from latest sources available on launchpad.
I ran into the issue yesterday when installing Discord for the first time. I have tracked the problem down to libappindicator passing in an extra vararg item to g_signal_emit that the signal's definition in libappindicator was not declaring, causing the crash you see above in gobject's g_signal dispatch machinery.
Patch is attached.
I am presuming this is 'upstream' for libappindicator, whatever that may mean for what appears to be an unmaintained project. If it is not, and since it is an Ubuntu/Canonical-sourced project originally, I respectfully request that you assist in upstreaming it since this bug is causing severe breakage for users across all distros. |
|
2020-04-08 16:48:25 |
Launchpad Janitor |
branch linked |
|
lp:~ci-train-bot/libappindicator/libappindicator-ubuntu-bionic-4009 |
|
2020-04-08 16:49:11 |
Launchpad Janitor |
branch linked |
|
lp:~ci-train-bot/libappindicator/libappindicator-ubuntu-focal-4007 |
|
2020-04-08 16:49:46 |
Marco Trevisan (Treviño) |
branch linked |
|
lp:~3v1n0/libappindicator/discord-indicator-crash-fix-18.04 |
|
2020-04-09 10:11:16 |
Launchpad Janitor |
libappindicator (Ubuntu): status |
Fix Committed |
Fix Released |
|
2020-04-14 23:33:20 |
Simon Kollberg |
bug |
|
|
added subscriber Simon Kollberg |
2020-10-12 11:42:12 |
Timo Aaltonen |
libappindicator (Ubuntu Bionic): status |
New |
Fix Committed |
|
2020-10-12 11:42:14 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-10-12 11:42:15 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2020-10-12 11:42:20 |
Timo Aaltonen |
tags |
patch |
patch verification-needed verification-needed-bionic |
|
2020-11-17 14:36:26 |
Martin Wimpress |
libappindicator (Ubuntu Bionic): assignee |
|
Marco Trevisan (Treviño) (3v1n0) |
|
2021-01-12 20:29:41 |
Brian Murray |
tags |
patch verification-needed verification-needed-bionic |
patch removal-candidate verification-needed verification-needed-bionic |
|
2021-01-14 17:08:45 |
ash |
tags |
patch removal-candidate verification-needed verification-needed-bionic |
patch removal-candidate verification-done-bionic verification-needed |
|
2021-01-17 00:00:14 |
Mathew Hodson |
tags |
patch removal-candidate verification-done-bionic verification-needed |
patch verification-done-bionic |
|
2021-01-17 00:00:38 |
Mathew Hodson |
affects |
libappindicator (Arch Linux) |
ubuntu-translations |
|
2021-01-17 00:00:50 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-01-17 00:02:44 |
Mathew Hodson |
libappindicator (Ubuntu): importance |
Undecided |
Medium |
|
2021-01-17 00:02:48 |
Mathew Hodson |
libappindicator (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2021-01-18 10:44:27 |
Launchpad Janitor |
libappindicator (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2021-01-18 10:44:31 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-08-20 08:59:47 |
soredake |
bug |
|
|
added subscriber soredake |