Acclaimed Contributor Acclaimed Contributor
Re: SIGSEGV, SEGV_ACCERR - Invalid Permissions for object in OCIEnvCreate (thread stack overflow)
[ Edited ]

>I even tried to increase thread stack trace through pthread_attr_setstacksize

 

(Should I assume you know how to use that function and pass the attributes to pthread_create?)

 

>(gdb) p $sp - $sp_save $1 = 335024

 

If this calculation didn't change, then you didn't change the stacksize.