Brandon McCaig
2012-08-15 17:10:03 UTC
Hello,
I just started using cmus yesterday. I am very happy to find a
text-based media player, and impressed just how functionally
complete it is. Thank you to everyone. :)
Anyway, at work I develop Windows-based software (against my
will) and normally run GNU/Linux in a VM for my sanity. I
normally just `shutdown' the VM when I'm done for the day,
expecting things to more or less just gracefully die or recover
the next run.
This morning I was surprised to find that cmus seemed to lock up
as soon as I launched it. Nothing seemed to work. I couldn't
switch windows, I couldn't [q]uit, I couldn't even SIGINT or ^C.
It seemed to load up the library, at least in part, but it seemed
unable to respond to any user inputs.
I'm using the pu branch from git://gitorious.org/cmus/cmus.git.
Currently at e89fd49b9f204eee8529d7631eb2f894b668a95c.
Perplexed, I wondered what could possibly be causing it. I tried
^Q in case I had accidentally hit ^S or something. Still didn't
matter. I superstitiously attempted rebuilding from source, and
checked for new changes as well. As a last resort before asking
for debugging help here I thought that I should remove the
configuration directory and see if that fixes it. That is when I
remembered the unsafe shutdown the evening before (i.e., I
shutdown the system while cmus was still playing in a detached
GNU screen). I suspect then that cmus doesn't care much for being
suddenly killed.
It's a minor inconvenience to have to quit cmus before shutting
down, but is there something that we can do to make the config
saving more reliable e.g., write temporary files and move in one
atomic operation to prevent corruption or something along those
lines?
It seems more sensible to me to save the library as changes are
made to it anyway. For configuration changes, I'd be happy to
:save myself. That is, instead of saving configuration when you
exit. :)
Just looking for some thoughts or RTFMs or something. :) Thanks.
Regards,
I just started using cmus yesterday. I am very happy to find a
text-based media player, and impressed just how functionally
complete it is. Thank you to everyone. :)
Anyway, at work I develop Windows-based software (against my
will) and normally run GNU/Linux in a VM for my sanity. I
normally just `shutdown' the VM when I'm done for the day,
expecting things to more or less just gracefully die or recover
the next run.
This morning I was surprised to find that cmus seemed to lock up
as soon as I launched it. Nothing seemed to work. I couldn't
switch windows, I couldn't [q]uit, I couldn't even SIGINT or ^C.
It seemed to load up the library, at least in part, but it seemed
unable to respond to any user inputs.
I'm using the pu branch from git://gitorious.org/cmus/cmus.git.
Currently at e89fd49b9f204eee8529d7631eb2f894b668a95c.
Perplexed, I wondered what could possibly be causing it. I tried
^Q in case I had accidentally hit ^S or something. Still didn't
matter. I superstitiously attempted rebuilding from source, and
checked for new changes as well. As a last resort before asking
for debugging help here I thought that I should remove the
configuration directory and see if that fixes it. That is when I
remembered the unsafe shutdown the evening before (i.e., I
shutdown the system while cmus was still playing in a detached
GNU screen). I suspect then that cmus doesn't care much for being
suddenly killed.
It's a minor inconvenience to have to quit cmus before shutting
down, but is there something that we can do to make the config
saving more reliable e.g., write temporary files and move in one
atomic operation to prevent corruption or something along those
lines?
It seems more sensible to me to save the library as changes are
made to it anyway. For configuration changes, I'd be happy to
:save myself. That is, instead of saving configuration when you
exit. :)
Just looking for some thoughts or RTFMs or something. :) Thanks.
Regards,
--
Brandon McCaig <***@gmail.com> <***@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bamccaig.com/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'
Brandon McCaig <***@gmail.com> <***@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bamccaig.com/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'