[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407612: beep-media-player goes to background instead of stopping when it should close



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eddy Petrişor wrote:
> Package: beep-media-player
> Version: 0.9.7.1+cvs20050803-2
> Severity: critical
> Justification: breaks unrelated software
> 
> Hello,
> 
> I just realised that beep-media-player doesn't close itself when it
> should, instead it just backgrounds itself. I found out this when (after
> a few starts and stops of the player) applications started crashing on
> me (being killed by the kernel due to lack of resources).
> 
> 
> This behaviour can be reliably reproduced on my system with this
> sequence:
> 
> 1) make sure there is no running instance of the player:
> eddy@bounty ~ $ killall beep-media-player
> beep-media-player: no process killed
> 2) start the player:
> eddy@bounty ~ $ beep-media-player
> 3) start playing a song and close the player while is playing (through
> the graphical interface) - this will result in music still being played
> - BUG!
> 4) CTRL+Z in the console
> 
> [1]+  Stopped                 beep-media-player
> eddy@bounty ~ $ ps ax | grep beep
> 11214 pts/3    TLl    0:00 beep-media-player
> 11235 pts/3    S+     0:00 grep beep
> eddy@bounty ~ $ fg
> beep-media-player
> 
> 
> Because it causes unexpected behaviour (doesn't die when it should
> terminate) and thus occupies memory making unrelated software not start
> I think this is bug should be critical.
> 
> Even if the bug is downgraded (is at least important), Etch should not
> ship the software in such a broken state.
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers testing
>   APT policy: (900, 'testing')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-3-amd64
> Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
> 
> Versions of packages beep-media-player depends on:
> ii  libasound2                1.0.13-1       ALSA library
> ii  libatk1.0-0               1.12.4-1       The ATK accessibility toolkit
> ii  libaudiofile0             0.2.6-6        Open-source version of SGI's audio
> ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
> ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
> ii  libesd-alsa0 [libesd0]    0.2.36-3       Enlightened Sound Daemon (ALSA) - 
> ii  libfontconfig1            2.4.1-2        generic font configuration library
> ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
> ii  libglade2-0               1:2.6.0-4      library to load .glade files at ru
> ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
> ii  libgtk2.0-0               2.8.20-3       The GTK+ graphical user interface 
> ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
> ii  libid3-3.8.3c2a           3.8.3-6        Library for manipulating ID3v1 and
> ii  libogg0                   1.1.3-2        Ogg Bitstream Library
> ii  libpango1.0-0             1.14.8-4       Layout and rendering of internatio
> ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
> ii  libsm6                    1:1.0.1-3      X11 Session Management library
> ii  libstdc++6                4.1.1-21       The GNU Standard C++ Library v3
> ii  libvorbis0a               1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
> ii  libvorbisfile3            1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
> ii  libx11-6                  2:1.0.3-4      X11 client-side library
> ii  libxcursor1               1.1.7-4        X cursor management library
> ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
> ii  libxfixes3                1:4.0.1-5      X11 miscellaneous 'fixes' extensio
> ii  libxi6                    1:1.0.1-4      X11 Input extension library
> ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
> ii  libxml2                   2.6.27.dfsg-1  GNOME XML library
> ii  libxrandr2                2:1.1.0.2-5    X11 RandR extension library
> ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
> ii  zlib1g                    1:1.2.3-13     compression library - runtime
> 
> beep-media-player recommends no packages.
> 
> -- no debconf information
> 
> 


Here is thw whole session with a backtrace taken after I closed the
main window and interrupted from gdb (I am not sure this is really
that useful, but here goes):


(gdb) run
Starting program: /usr/bin/beep-media-player
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47141161002800 (LWP 2373)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
- ---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1082132832 (LWP 2376)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
- ---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1090525536 (LWP 2377)]
[New Thread 1098918240 (LWP 2378)]
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1107310944 (LWP 2379)]





[New Thread 1115703648 (LWP 2386)]







Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 47141161002800 (LWP 2373)]
0x00002adfe74d70f5 in pthread_join () from /lib/libpthread.so.0
(gdb) thread apply all bt

Thread 6 (Thread 1115703648 (LWP 2386)):
#0  0x00002adfe74dbb15 in __nanosleep_nocancel () from
/lib/libpthread.so.0
#1  0x00002adfe7ab84f8 in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0x000000000041a8e0 in produce_audio ()
#3  0x00002aaaab827bb8 in get_iplugin_info () from
/usr/lib/bmp/Input/libmpg123.so
#4  0x00002aaaab810771 in get_iplugin_info () from
/usr/lib/bmp/Input/libmpg123.so
#5  0x00002adfe7ab65a4 in g_thread_create_full () from
/usr/lib/libglib-2.0.so.0
#6  0x00002adfe74d5f1a in start_thread () from /lib/libpthread.so.0
#7  0x00002adfe7dde602 in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 1107310944 (LWP 2379)):
#0  0x00002adfe74dbb15 in __nanosleep_nocancel () from
/lib/libpthread.so.0
#1  0x00002adfe7ab84f8 in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0x000000000042768a in playlist_ins_url ()
#3  0x00002adfe7ab65a4 in g_thread_create_full () from
/usr/lib/libglib-2.0.so.0
#4  0x00002adfe74d5f1a in start_thread () from /lib/libpthread.so.0
#5  0x00002adfe7dde602 in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 1098918240 (LWP 2378)):
#0  0x00002adfe74dbb15 in __nanosleep_nocancel () from
/lib/libpthread.so.0
#1  0x00002aaaac43d16f in ?? () from
/usr/lib/bmp/General/libbmp_scrobbler.so
#2  0x00002adfe74d5f1a in start_thread () from /lib/libpthread.so.0
#3  0x00002adfe7dde602 in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525536 (LWP 2377)):
#0  0x00002adfe74db1bf in __read_nocancel () from /lib/libpthread.so.0
#1  0x00002adfe58a9ed1 in xmms_connect_to_session () from
/usr/lib/libbeep.so.2
#2  0x00002adfe58ab289 in remote_get_string_pos () from
/usr/lib/libbeep.so.2
- ---Type <return> to continue, or q <return> to quit---
#3  0x00002aaaac43c7db in ?? () from
/usr/lib/bmp/General/libbmp_scrobbler.so
#4  0x00002adfe74d5f1a in start_thread () from /lib/libpthread.so.0
#5  0x00002adfe7dde602 in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132832 (LWP 2376)):
#0  0x00002adfe74db1bf in __read_nocancel () from /lib/libpthread.so.0
#1  0x0000000000428aa1 in ctrlsocket_setup ()
#2  0x00002adfe7ab65a4 in g_thread_create_full () from
/usr/lib/libglib-2.0.so.0
#3  0x00002adfe74d5f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002adfe7dde602 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 47141161002800 (LWP 2373)):
#0  0x00002adfe74d70f5 in pthread_join () from /lib/libpthread.so.0
#1  0x00002adfe73cd061 in ?? () from /usr/lib/libgthread-2.0.so.0
#2  0x00002adfe7ab61ba in g_thread_join () from
/usr/lib/libglib-2.0.so.0
#3  0x00000000004282fe in ctrlsocket_cleanup ()
#4  0x0000000000439e89 in mainwin_quit_cb ()
#5  0x000000000042b688 in pbutton_button_release_cb ()
#6  0x000000000042adf6 in handle_release_cb ()
#7  0x0000000000439c18 in draw_main_window ()
#8  0x00002adfe5ae864d in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#9  0x00002adfe7731479 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#10 0x00002adfe7740ae1 in g_signal_chain_from_overridden () from
/usr/lib/libgobject-2.0.so.0
#11 0x00002adfe7741b5e in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#12 0x00002adfe7741f73 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0
#13 0x00002adfe5bbee4e in gtk_widget_get_default_style () from
/usr/lib/libgtk-x11-2.0.so.0
#14 0x00002adfe5ae22ae in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#15 0x00002adfe5ae3357 in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
#16 0x00002adfe5e2a52c in _gdk_events_init () from
/usr/lib/libgdk-x11-2.0.so.0
#17 0x00002adfe7a9a913 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
- ---Type <return> to continue, or q <return> to quit---
#18 0x00002adfe7a9d75d in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#19 0x00002adfe7a9da46 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
#20 0x00002adfe5ae36b2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x0000000000435e38 in main ()



- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGCuhDY8Chqv3NRNoRAj2wAKCyuKI2sKputuf+UEQPdKBhXutc3gCguAsJ
7R6891roIFNpLnzgxS1udo8=
=wPll
-----END PGP SIGNATURE-----



Reply to: