Author: richard
Date: Thu Jan  8 08:02:31 2009
New Revision: 3728

URL: http://svn.slimdevices.com?rev=3728&root=Jive&view=rev
Log:
Bug: 10296
Description:
Increase the stack size, this may fix random rebooting.


Modified:
    7.3/trunk/squeezeplay/src/SDL-1.2.13/src/thread/pthread/SDL_systhread.c
    7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_alsa.c

Modified: 
7.3/trunk/squeezeplay/src/SDL-1.2.13/src/thread/pthread/SDL_systhread.c
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/SDL-1.2.13/src/thread/pthread/SDL_systhread.c?rev=3728&root=Jive&r1=3727&r2=3728&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/SDL-1.2.13/src/thread/pthread/SDL_systhread.c 
(original)
+++ 7.3/trunk/squeezeplay/src/SDL-1.2.13/src/thread/pthread/SDL_systhread.c Thu 
Jan  8 08:02:31 2009
@@ -61,8 +61,8 @@
        }
        pthread_attr_setdetachstate(&type, PTHREAD_CREATE_JOINABLE);
 
-       /* set stack size to 64k */
-       stacksize = 64 * 1024;
+       /* set stack size to 128k */
+       stacksize = 128 * 1024;
        pthread_attr_setstacksize(&type, stacksize);
 
        /* Create the thread and go! */

Modified: 7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_alsa.c
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_alsa.c?rev=3728&root=Jive&r1=3727&r2=3728&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_alsa.c 
(original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_alsa.c Thu 
Jan  8 08:02:31 2009
@@ -479,7 +479,7 @@
                return 0;
        }
 
-       stacksize = 32 * 1024; /* 32k stack, we don't do much here */
+       stacksize = 64 * 1024; /* 64k stack, we don't do much here */
        if ((err = pthread_attr_setstacksize(&thread_attr, stacksize)) != 0) {
                DEBUG_ERROR("pthread_attr_setstacksize: %s", strerror(err));
        }

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to