🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.object.corba
Article #10

Re: Thread Stack Size

#10
From: Ke Jin
Date: Wed, 07 Apr 2004 17:08
108 lines
6020 bytes
grajesh@chn.cognizant.com (Rajesh Gopinathan) wrote in message news:<882c7a17.0404070530.578d9be3@posting.google.com>...
> I'm using visibroker 4.5 on AIX 5.1
> I tried to migrate the corba code working fine with BOA to POA.
> After this migration,the application is dumping  intermittently.
> I also found that the core is caused a segmentation violation on
> connecting to DB2 from server.
> http://www-1.ibm.com/support/docview.wss?uid=swg21007191
> 
> So I tried to increase the Thread stack size in properties file
> -OAthreadStackSize=256000
> 
> But it didnt work. Then I tried
> vbroker.se.default.scm.default.dispatcher.threadStackSize=256000

try:

vbroker.se.default.dispatcher.tp.threadStackSize=256000

or

vbroker.se.iiop_tp.scm.iiop_tp.dispatcher.threadStackSize=256000

Regards,
Ke

> 
> Still it fails. 
> 
> Is it bcoz the application is not able to set threadStackSize given in
> properties file.
> 
> I need to fix this urgently. Pls advice.
> 
> DBX output:
> Segmentation fault in sqlowque at 0xd1104f74 ($t8)
> 0xd1104f74 (sqlowque+0x1c) 7c21616e      stwux   r1,r1,r12
> (dbx) where
> sqlowque(??, ??, ??) at 0xd1104f74
> sqlccipcconnr__FP13sqlcc_connectP15sqlcc_comhandleP10sqlcc_cond(??,
> ??, ??) at 0xd1123a18
> sqlccconnr__FP13sqlcc_connectP15sqlcc_comhandleP10sqlcc_cond[1]
> [fdpr](??, ??, ??) at 0xd112aec0
> sqloCreateEnvString(??, ??) at 0xd1144c30
> sqle_db2ra_ar_driver__FP10sqle_db2raP17sqle_ar_interface[6] [fdpr](??,
> ??) at 0xd10d23ec
> sqle_database_connect__FP10sqle_db2raP10sqler_glob[1] [fdpr](??, ??)
> at 0xd10e5994
> sqleriar__FP10sqle_db2ra(??) at 0xd10d9d2c
> sqleStartUsingDatabase__FPcciT2N31P10sqlf_dbcfdT1P8sqledscbP5sqlcaT1T3(0x204949e4,
> 0x53000053, 0x1, 0x0, 0x20133818, 0x20494ae4, 0x0, 0x0) at 0xd112eabc
> sqlak_connect__FUsT1[4] [fdpr](??, ??) at 0xd1208d64 sqlacall[4]
> [fdpr](0x1d001d, 0x50005, 0x20002, 0x0, 0x0) at 0xd10df2ec
> clp_connect__FP15CLI_CONNECTINFOP15sqla_program_idUsPcN34P5sqlca(??,
> ??, ??, ??, ??, ??, ??, ??) at 0xd13aa690
> CLI_sqlConnect__FP15CLI_CONNECTINFOP5sqlcaP15CLI_ERRLISTINFO(??, ??,
> ??) at 0xd12986e4
> SQLConnect2__FPP15CLI_CONNECTINFOPUcsT2T3T2T3T2T3Uc(??, ??, ??, ??,
> ??, ??, ??, ??) at 0xd123c1a4
> SQLDriverConnect2__FPP15CLI_CONNECTINFOPvPUcsT3T4PsUsUcT9P15CLI_ERRLISTINFO(??,
> ??, ??, ??, ??, ??, ??, ??) at 0xd124197c
> SQLDriverConnect1__FPP15CLI_CONNECTINFOPvPUcsT3T4PsUs(??, ??, ??, ??,
> ??, ??, ??, ??) at 0xd123b520 SQLDriverConnect(??, ??, ??, ??, ??, ??,
> ??, ??) at 0xd1238c80 open(const RWCString&,const RWCString&,const
> RWCString&,const RWCString&,RWDBStatus&)(0x2046b1a8, 0x204962f8,
> 0x204962fc, 0x20496300, 0x20496304, 0x2046be10), line 158 in
> "db2sysh.cpp"
> open()(0x2046be08), line 86 in "db2conn.cpp"
> unnamed block $b1226, line 111 in "poolable.cpp"
> checkOut(RWDBConnection::ConnectionType)(0x2009c114, 0x1), line 111 in
> "poolable.cpp"
> getFromConnectionPool(RWDBConnection::ConnectionType)(0x2009c088,
> 0x1), line 139 in "dbasei.cpp"
> connection(RWDBConnection::ConnectionType) const(0x2009b874,
> 0x20496510, 0x1), line 294 in "dbase.cpp"
> login() const(0x2009b858, 0x204969f4), line 165 in
> "SingleDatabase.cpp"
> unnamed block $b1515, line 65 in "ClientTransaction.cpp"
> login()(0x2046bb88), line 65 in "ClientTransaction.cpp"
> aux_call(Container&)(0x2009a868, 0x20496d48), line 162 in
> "dcs_asRebsServer.cpp"
> unnamed block $b680, line 50 in "MethodHelper.cpp"
> call(Container&,int)(0x2009a868, 0x20496d48, 0x0), line 50 in
> "MethodHelper.cpp"
> unnamed block $b690, line 247 in "RIOSEnteraBridgeImpl.cpp"
> bigSwitch(Container&)(0x201800a8, 0x20496d48), line 247 in
> "RIOSEnteraBridgeImpl.cpp"
> unnamed block $b693, line 89 in "RIOSEnteraBridgeImpl.cpp"
> call(const char*)(0x201800a8, 0x2046a018), line 89 in
> "RIOSEnteraBridgeImpl.cpp"
> _call(void*,CORBA_MarshalInBuffer&,const
> char*,VISReplyHandler&)(0x201800fc, 0x204696c8, 0x201980c8,
> 0x20496f00), line 52 in "RIOSEnteraBridge_s.cpp"
> execute__11VISSkelInfoFRC14VISGIOPRequestR21CORBA_MarshalInBufferR15VISReplyHandler(0x20183048,
> 0x20469a38, 0x204696c8, 0x20496f00) at 0xd437c604
> _do_request__22VISGIOPProtocolAdapterFP14VISGIOPRequestP14VISGlobalTable(0x20469238,
> 0x20469a38, 0x20469438) at 0xd44cc158
> _dispatch_message__22VISGIOPProtocolAdapterFPQ2_14ProtocolEngine7MessageP14VISGlobalTable(0x20469238,
> 0x20469b18, 0x20469438) at 0xd44ca570
> dispatchMessage__22VISGIOPProtocolAdapterFPQ2_14ProtocolEngine7MessageR14VISThreadLocal(0x20469238,
> 0x20469b18, 0x20469438) at 0xd44cfcd4
> do_work__23VISThreadPoolDispatcherFPQ2_14ProtocolEngine15ProtocolAdapterRl(0x2017d0c8,
> 0x20469238, 0x20469390) at 0xd45008e4
> do_work__17VISDispatchWorkerFP14VISThreadLocal(0x20469388, 0x20469438)
> at 0xd4502f84 _perform_task__13VISThreadPoolFP14VISTPoolWorker(0x2017d0d4,
> 0x20469408) at 0xd4503a44
> begin__14VISTPoolWorkerFv(0x20469408) at 0xd4504d78
> _start__9VISThreadFPv(0x20469408) at 0xd372c2cc
> pthread._pthread_body(??) at 0xd00080c8
Technical Details
Message-ID: <887a1f78.0404070908.68133bd4@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <882c7a17.0404070530.578d9be3@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f753e,6bb6f202de611da0
X-Google-Attributes: gidf753e,public
X-Google-Thread: 108e24,6bb6f202de611da0
X-Google-Attributes: gid108e24,public
X-Google-ArrivalTime: 2004-04-07 10:08:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: kejin@borland.com (Ke Jin)
Newsgroups: comp.object.corba,borland.public.bes.visibroker
Subject: Re: Thread Stack Size
Date: 7 Apr 2004 10:08:00 -0700
Organization: http://groups.google.com
Lines: 108
Message-ID: <887a1f78.0404070908.68133bd4@posting.google.com>
References: <882c7a17.0404070530.578d9be3@posting.google.com>
NNTP-Posting-Host: 63.174.247.33
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1081357680 30291 127.0.0.1 (7 Apr 2004 17:08:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 7 Apr 2004 17:08:00 +0000 (UTC)