2015-07-30 09:42:24 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2015-07-30 09:42:25 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Sebastien Bacher |
2015-12-17 00:57:39 |
dx |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding pidgin. This problem was most recently seen with version 1:2.10.11-0ubuntu4, the problem page at https://errors.ubuntu.com/problem/7470d12c4e88f72501f718f2e8fd6469b2cb650f contains more details. |
The Ubuntu Error Tracker has been receiving reports about a problem regarding pidgin. This problem was most recently seen with version 1:2.10.11-0ubuntu4, the problem page at https://errors.ubuntu.com/problem/7470d12c4e88f72501f718f2e8fd6469b2cb650f contains more details.
Upstream bug: https://developer.pidgin.im/ticket/16752
Partial backtrace:
#0 0x00007f0e72819b24 in g_source_attach (source=source@entry=0x0, context=0x0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:1163
#1 0x00007f0e74b848b8 in gst_bus_add_watch_full_unlocked (bus=<optimized out>, priority=<optimized out>, func=0x56004c7ceeb0 <bus_call>, user_data=0x56004e00aa40, notify=0x0) at gstbus.c:885
#2 0x00007f0e74b849e0 in gst_bus_add_watch_full (bus=0x7f0e14009260 [GstBus], priority=0, func=0x56004c7ceeb0 <bus_call>, user_data=0x56004e00aa40, notify=0x0) at gstbus.c:936
#3 0x000056004c7cfb3a in pidgin_sound_play_file (filename=<optimized out>)
at /build/pidgin-hiYwOJ/pidgin-2.10.11/./pidgin/gtksound.c:543
#4 0x000056004c7cf927 in pidgin_sound_play_event (event=PURPLE_SOUND_SEND)
at /build/pidgin-hiYwOJ/pidgin-2.10.11/./pidgin/gtksound.c:616
[Impact]
* Each sound played will leak a file descriptor.
* Crash (null pointer dereference) after playing sounds roughly 1000 times (depending on fd limit)
* Depending on the amount of activity, this can mean every few hours for some users (it's once for each received or sent message)
[Test Case]
1. Set the file descriptor limit low enough to be able to login, plus a few extra. "ulimit -Sn 20" works for me
2. Start pidgin
3. Tools menu -> preferences -> sounds tab
4. Click "preview" 10 times or so
5. Acquire crash
[Regression Potential]
* The fix consists in adding two lines, returning FALSE when a sound finishes playing or when an error happens, which tells gstreamer to free those file descriptors, so it's highly unlikely that this could make things worse.
* A user who reported this bug yesterday was given a .deb file with the fix, who also distributed that fixed .deb to other 50 users who also had the issue in ubuntu wily. Everyone is happy now.
[Other Info]
* This fix will be included in pidgin 2.10.12, set to release very soon.
* The bug originally happened because of the backported gstreamer 1.0 patch that was also introduced in post-2.10.11 development versions. |
|
2015-12-17 01:00:24 |
dx |
attachment added |
|
remove-gstreamer-pipeline-after-playing-a-sound-902b1fd.diff https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1479715/+attachment/4535986/+files/remove-gstreamer-pipeline-after-playing-a-sound-902b1fd.diff |
|
2015-12-17 01:01:53 |
dx |
summary |
/usr/bin/pidgin:11:g_source_attach:gst_bus_add_watch_full_unlocked:gst_bus_add_watch_full:pidgin_sound_play_file:pidgin_sound_play_event |
Crash due to fd leak when playing sounds in pidgin |
|
2015-12-17 01:04:50 |
Launchpad Janitor |
pidgin (Ubuntu): status |
New |
Confirmed |
|
2015-12-17 04:22:17 |
Ubuntu Foundations Team Bug Bot |
tags |
wily |
patch wily |
|
2015-12-17 04:22:24 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2015-12-17 16:12:55 |
Alberto Salvia Novella |
pidgin (Ubuntu): importance |
Undecided |
High |
|
2016-01-24 14:20:27 |
Paul Smith |
bug |
|
|
added subscriber Paul Smith |
2016-01-24 17:12:39 |
ogunden |
bug |
|
|
added subscriber ogunden |
2016-01-27 14:59:27 |
Robert Hooker |
nominated for series |
|
Ubuntu Wily |
|
2016-01-27 15:05:18 |
Robert Hooker |
bug |
|
|
added subscriber Robert Hooker |
2016-02-23 10:40:41 |
Sebastien Bacher |
bug task added |
|
pidgin (Ubuntu Wily) |
|
2016-02-23 10:40:57 |
Sebastien Bacher |
pidgin (Ubuntu Wily): importance |
Undecided |
High |
|
2016-02-23 10:40:57 |
Sebastien Bacher |
pidgin (Ubuntu Wily): status |
New |
Fix Committed |
|
2016-02-25 17:38:56 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-02-25 17:38:58 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2016-02-25 17:39:03 |
Brian Murray |
tags |
patch wily |
patch verification-needed wily |
|
2016-02-27 04:22:54 |
dx |
tags |
patch verification-needed wily |
patch verification-done wily |
|
2016-02-27 22:26:22 |
Amr Ibrahim |
pidgin (Ubuntu): status |
Confirmed |
Fix Released |
|
2016-03-03 20:22:55 |
Launchpad Janitor |
pidgin (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2016-03-03 20:23:00 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|