From: <ale...@us...> - 2012-08-29 11:30:49
|
Revision: 57068 http://firebird.svn.sourceforge.net/firebird/?rev=57068&view=rev Author: alexpeshkoff Date: 2012-08-29 11:30:42 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Fixed CORE-3740: SELECT using IN list with >413 elements causes crash on Mac Modified Paths: -------------- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp Modified: firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp =================================================================== --- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2012-08-29 03:45:12 UTC (rev 57067) +++ firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2012-08-29 11:30:42 UTC (rev 57068) @@ -181,21 +181,23 @@ if (state) Firebird::system_call_failed::raise("pthread_attr_init", state); -#ifdef _AIX -// adjust stack size for AIX +#if defined(_AIX) || defined(DARWIN) +// adjust stack size // For AIX 32-bit compiled applications, the default stacksize is 96 KB, // see <pthread.h>. For 64-bit compiled applications, the default stacksize // is 192 KB. This is too small - see HP-UX note above +// For MaxOS default stack is 512 KB, which is also too small in 2012. + size_t stack_size; state = pthread_attr_getstacksize(&pattr, &stack_size); if (state) Firebird::system_call_failed::raise("pthread_attr_getstacksize"); - if (stack_size < 0x40000L) + if (stack_size < 0x400000L) { - state = pthread_attr_setstacksize(&pattr, 0x40000L); + state = pthread_attr_setstacksize(&pattr, 0x400000L); if (state) Firebird::system_call_failed::raise("pthread_attr_setstacksize", state); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pau...@us...> - 2015-06-12 08:59:50
|
Revision: 61799 http://sourceforge.net/p/firebird/code/61799 Author: paulbeach Date: 2015-06-12 08:59:48 +0000 (Fri, 12 Jun 2015) Log Message: ----------- Default stack size is too small on HPUX - its 64 KB on PA, and 256 KB on Itanium Modified Paths: -------------- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp Modified: firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp =================================================================== --- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2015-06-12 07:42:36 UTC (rev 61798) +++ firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2015-06-12 08:59:48 UTC (rev 61799) @@ -181,15 +181,15 @@ if (state) Firebird::system_call_failed::raise("pthread_attr_init", state); -#if defined(_AIX) || defined(DARWIN) +#if defined(_AIX) || defined(DARWIN) || defined (HPUX) // adjust stack size // For AIX 32-bit compiled applications, the default stacksize is 96 KB, // see <pthread.h>. For 64-bit compiled applications, the default stacksize -// is 192 KB. This is too small - see HP-UX note above +// is 192 KB. This is too small. +// For MacOS default stack is 512 KB (2012). +// For HPUX its 64 KB on PA, 256 KB on Itanium (2015) -// For MaxOS default stack is 512 KB, which is also too small in 2012. - size_t stack_size; state = pthread_attr_getstacksize(&pattr, &stack_size); if (state) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pau...@us...> - 2015-06-12 09:04:06
|
Revision: 61800 http://sourceforge.net/p/firebird/code/61800 Author: paulbeach Date: 2015-06-12 09:04:04 +0000 (Fri, 12 Jun 2015) Log Message: ----------- Typo Modified Paths: -------------- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp Modified: firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp =================================================================== --- firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2015-06-12 08:59:48 UTC (rev 61799) +++ firebird/branches/B2_5_Release/src/jrd/ThreadStart.cpp 2015-06-12 09:04:04 UTC (rev 61800) @@ -181,7 +181,7 @@ if (state) Firebird::system_call_failed::raise("pthread_attr_init", state); -#if defined(_AIX) || defined(DARWIN) || defined (HPUX) +#if defined(_AIX) || defined(DARWIN) || defined(HPUX) // adjust stack size // For AIX 32-bit compiled applications, the default stacksize is 96 KB, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |