tags 500259 -unreproducible
thanks

hiya,

okay, here's some more information on this...  the only two changes i made were:

GMEDIASERVERRUN=yes
GMEDIASERVERDIR="/scratch"

what i failed to realize was that /scratch also holds a ccache cache dir (plus
a couple cowbuilder chroots), so there are easily > 200k files to be
scanned.  maybe this is prolonging what you might call a "start up time"
during which it isn't able to properly handle signals.

ex:

rangda[/home/sean] sudo sh -x /etc/init.d/gmediaserver stop                  :)
+ set -e
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/bin/gmediaserver
+ NAME=gmediaserver
+ DESC=gmediaserver
+ test -x /usr/bin/gmediaserver
+ '[' -f /etc/default/gmediaserver ']'
+ . /etc/default/gmediaserver
++ GMEDIASERVERRUN=yes
++ GMEDIASERVERDIR=/scratch
+ case "$1" in
+ echo -n 'Stopping gmediaserver: '
Stopping gmediaserver: + start-stop-daemon --stop --quiet --pidfile 
/var/run/gmediaserver/gmediaserver.pid --oknodo --exec /usr/bin/gmediaserver
+ echo gmediaserver.
gmediaserver.
+ exit 0

the init script fails to stop the service, but is kind enough to leave
the pid file available (which should then hopefully allow it to be
stopped later).  however, it does not exit with an error status that
indicates to the init script that it failed to stop the service, either.

i'm not sure if it's the init script, s-s-d at fault here (i.e. improperly
calling s-s-d, or s-s-d misbehaving with --oknodo)

waiting about 20 minutes for it to finish scanning (or maybe it doesn't finish
and fails?), i see the following in the logs:

Oct  8 19:31:03 rangda kernel: [192623.389593] gmediaserver[3028] general 
protection ip:7fb29c234a25 sp:7fffa5a483c0 error:0 in 
libc-2.7.so[7fb29c1bf000+14a000]

and the pidfile remains (with contents 3028, and is not removed by a 
subsequent stop)


maybe this is enough of a corner case to downgrade the severity?


        sean

On Wed, Oct 08, 2008 at 12:27:50AM +0200, Alexander Reichle-Schmehl wrote:
> tags 500259 +unreproducible
> thanks
> 
> Hi!
> 
> While browsing through the list of RC bugs, I failed to reproduce the
> bug you reported:
> 
> 
> ==================
> Mi Okt 08 00:23:55
> [EMAIL PROTECTED]:~# /etc/init.d/gmediaserver start
> Starting gmediaserver: gmediaserver.
> 
> Mi Okt 08 00:24:02
> [EMAIL PROTECTED]:~# ps -ef|grep gme
> nobody   29323     1  0 00:24 ?        00:00:00 /usr/bin/gmediaserver -b
> --pid-file=/var/run/gmediaserver/gmediaserver.pid /usr/share/sounds
> root     29333 29098  0 00:24 pts/8    00:00:00 grep gme
> 
> Mi Okt 08 00:24:04
> [EMAIL PROTECTED]:~# /etc/init.d/gmediaserver restart
> Restarting gmediaserver: gmediaserver.
> 
> Mi Okt 08 00:24:10
> [EMAIL PROTECTED]:~# ps -ef|grep gme
> nobody   29339     1  0 00:24 ?        00:00:00 /usr/bin/gmediaserver -b
> --pid-file=/var/run/gmediaserver/gmediaserver.pid /usr/share/sounds
> root     29349 29098  0 00:24 pts/8    00:00:00 grep gme
> 
> Mi Okt 08 00:24:12
> [EMAIL PROTECTED]:~# /etc/init.d/gmediaserver stop
> Stopping gmediaserver: gmediaserver.
> 
> Mi Okt 08 00:24:22
> [EMAIL PROTECTED]:~# ps -ef|grep gme
> root     29353 29098  0 00:24 pts/8    00:00:00 grep gme
> 
> Mi Okt 08 00:24:24
> [EMAIL PROTECTED]:~#
> ==================
> 
> It seems to me, that restart as well as stop work fine.
> 
> 
> Best regards,
>   Alexander
> 



-- 

Attachment: signature.asc
Description: Digital signature

Reply via email to