PDA

View Full Version : Squeezeslave crash on OSX



coldslabs
2010-04-22, 07:52
I submitted a bug on the squeezeslave page on sourceforge, but it didn't look well used so I'm posting it here as well.

===================

Arrow keys cause crash in OSX when using -D flag

1. With OS X (10.6.3) run squeezeslave with the display flag (e.g. squeezeslave-intel -D)
2. Try using the arrow keys to control the interface
- Notice the application exits. Other than this problem, the display functionality and other keys worked as expected.

I tried the same thing on Windows Vista and had no problems.

Squeezebox Server 7.5
Squeezeslave 0.9-133
OS X 10.6.3

ralphy
2010-04-23, 03:33
Thanks for reporting the issue.

I'll try to reproduce with my older 10.4.7 build system and report back.

Ralphy

ralphy
2010-04-23, 06:10
This is bug in the curses library in OS X 10.6.3.

See here (http://www.uponmyshoulder.com/blog/2010/os-x-10-6-3-broke-ncurses/)

I'm investigating a work around for squeezeslave.

coldslabs
2010-04-23, 07:49
I have access to a 10.5 system if it would be helpful for me to try anything out on it.

Thanks for maintaining a useful utility!

ralphy
2010-04-24, 05:11
I have access to a 10.5 system if it would be helpful for me to try anything out on it.

Thanks for the offer. I think I have a workaround that I'd like to you test on your 10.6.3 system.

Squeezeslave used to exit if the escape key is pressed. The OSX workaround removes that ability, you have to use Q or q to exit. Squeezeslave wasn't crashing, it was exiting normally. The bug returns 3 values for the arrow keys the first of which was the value for the escape key so squeezeslave quit as expected.

Please try this (http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-0.9.133/squeezeslave-0.9-133.1-osx.tar.gz/download) binary and report back. It it works I'll release updated 0.9-133 osx intel/ppc display binaries.

Thanks,

Ralphy

coldslabs
2010-04-24, 07:31
That fixed it. I can now use the arrow keys to my heart's content.

Thanks!

ralphy
2010-04-24, 08:38
That fixed it. I can now use the arrow keys to my heart's content.

Thanks!

Great.

I've uploaded a new OSX (http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-0.9.133/squeezeslave-0.9-133.1-osx.tar.gz/download) binary tar package to sourceforge for both intel and powerpc.

ralphy
2010-04-24, 10:04
You can also download the latest OSX development build from googlecode (http://code.google.com/p/squeezeslave/downloads/list).