[packman] gst123 segfaults

Carlos E. R. carlos.e.r at opensuse.org
Thu Aug 1 11:05:17 CEST 2013


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



On Tuesday, 2013-07-30 at 20:43 +0200, David Haller wrote:
> On Tue, 30 Jul 2013, Carlos E. R. wrote:

> Call it as "TERM=linux gst123 ..."

Are you sure? It is running as a cron job, there is no terminal.


>> What matters to me is the unclean exit, not the sound. The program
>> does its job fine. What bothers me is the stderr output that I can
>> not silence.
>
> Run it with '2>/dev/null' (or redirect to a logfile).

But I do!

I run it this way:

cron:

   -0,30 * * * * cer /home/cer/bin/dar_la_hora_en_cron hora


script:

   echo "CER: using gst123"
   /usr/bin/gst123 --quiet $TEMPORAL  2>&1 > /tmp/dar_la_hora_en_cron.log


I understand that the construction "2>&1 >" should dump _everything_ to 
the log... well, it does not.

Why? It must be because gst123 is not using standard output methods.

It dumps this instead to the mail (cron):

   CER: using gst123
   tput: No value for $TERM and no -T specified
   Cannot connect to server socket err = No such file or directory
   Cannot connect to server request channel
   jack server is not running or cannot be started


And the log is empty!

cer at Telcontar:~> l /tmp/dar_la_hora_en_cron.log
- -rw-r--r-- 1 cer users 0 Aug  1 10:52 /tmp/dar_la_hora_en_cron.log


(it is not segfaulting this morning)



However, if I call the same script from a terminal, it is quiet:

   cer at Telcontar:~> dar_la_hora_en_cron hora
   CER: using gst123
   cer at Telcontar:~>

so the redirection works if called from a script (even if I use the 
- --verbose switch).

- -- 
Cheers,
        Carlos E. R.
        (from 12.3 x86_64 "Dartmouth" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlH6JNUACgkQtTMYHG2NR9UrXwCfarG6jUSL0IVaJqmzyFJ9o0bq
JU4An2k4NcR3nmGN0A8fChWwtQjepxqt
=nMM+
-----END PGP SIGNATURE-----




More information about the Packman mailing list