SAP Knowledge Base Article - Preview

2544641 - Application cannot start Open Server pthread_attr_setstacksize SAP OS

Symptom

  • pthread_create call failed with “Invalid Argument” error (errno 22).
  • #0  0x4ce32b88 in pthread_attr_setstacksize () from /lib/libpthread.so.0
     #1  0xf7dd168b in comn_create_thread_no_alloc (thread=0x81e78e0, startRoutine=0xf7fe2531, arg=0xf1c2a8e8, stacksize=34816) at generic/src/comn_posix_thrd.c:1364
     #2  0xf7dd187c in comn_create_thread_ex (threadpp=0xf1c2acf8, startRoutine=0xf7fe2531, arg=0xf1c2a8e8, stacksize=34816) at generic/src/comn_posix_thrd.c:1456
     #3  0xf7fe311f in srv__spawn (srvproc=0xf1c2a8e8, stacksize=34816, funcp=0xf7f71a44 <srv__conservice>, argp=0x81e59f8, priority=8) at generic/src/srv_thrd.c:1265
     #4  0xf7fadd3d in srv__start_listener (tranaddr=0x81e8fb0) at generic/src/osnetstart.c:610
     #5  0xf7fae217 in srv__start_net (sp=0x8107d30) at generic/src/osnetstart.c:800
     #6  0xf7fd6eaa in srv_run (notused=0x8107d30) at generic/src/run.c:89
     #7  0x08068a4c in main (argc=7, argv=0xffffbb44) at control/libcontrol/main.c:718
  • #0  0xf7d70f84 in pthread_create@plt () from /SYBASE/OCS-16_0/lib/libsybcomn_r.so
     #1  0xf7dd175a in comn_create_thread_no_alloc (thread=0x81e78e0, startRoutine=0xf7fe2531, arg=0xf1c2a8e8, stacksize=34816) at generic/src/comn_posix_thrd.c:1390
     #2  0xf7dd187c in comn_create_thread_ex (threadpp=0xf1c2acf8, startRoutine=0xf7fe2531, arg=0xf1c2a8e8, stacksize=34816) at generic/src/comn_posix_thrd.c:1456
     #3  0xf7fe311f in srv__spawn (srvproc=0xf1c2a8e8, stacksize=34816, funcp=0xf7f71a44 <srv__conservice>, argp=0x81e59f8, priority=8) at generic/src/srv_thrd.c:1265
     #4  0xf7fadd3d in srv__start_listener (tranaddr=0x81e8fb0) at generic/src/osnetstart.c:610
     #5  0xf7fae217 in srv__start_net (sp=0x8107d30) at generic/src/osnetstart.c:800
     #6  0xf7fd6eaa in srv_run (notused=0x8107d30) at generic/src/run.c:89
     #7  0x08068a4c in main (argc=7, argv=0xffffbb44) at control/libcontrol/main.c:718

Read more...

Environment

  • SAP Open Server 16.0
  • Ctlib
  • upgrade to Oracle database client libraries to 12.2.0.1
  • Linux

Product

SAP Open Server 15.7

Keywords

"Software Developer Kit", "Adaptive Server Enterprise", DBLIB, dblib, CTLIB, ctlib, OCS, OS, OpenServer, CR#811133, CR811133, 811133 , KBA , BC-SYB-OS , Open Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.