[omniORB] omniOrb & Oracle problems
Jan Knobloch
jknobloch at pikeelectronic.com
Fri Jun 16 17:27:12 BST 2006
Hi,
I am using omniOrb 4.0.6 on Aplha OpenVMS 8.2 and Oracle 10g 10.1.03.
If I run simple application in SINGLE_THREAD_MODEL it crashes on access
violation on different places. Mostly in oracle execute statement call.
cxx switches:
cxx /DEFINE=("OPENVMS","OMNIORB") /NAME=AS_IS /DEBUG /NOOPT
/WARN=(DISA=(REFTEMPORARY)) /FLOAT=IEEE
/INCLUDE=("APP_ROOT:[NTMK.][src.test1]","APP_ROOT:[NTMK.][src.GlobIDL]","APP
_ROOT:[NTMK.][inc]","APP_ROOT:[NTMK.][incdb]","APP_ROOT:[PPF.][inc]","/OMNII
NC","/ORACLE_HOME/precomp/public")/REPOSITORY=APP_ROOT:[NTMK.][src.test1.obj
]/OBJ=APP_ROOT:[NTMK.][src.test1.obj] APP_ROOT:[NTMK.][src.test1]test1.cpp
lnproc switches:
LNPROC projectDir:[bin]ht.exe
APP_ROOT:[NTMK.][src.ht.obj]ht.obj,.,omnilib:omni_share.olb/LIB/REPOSITORY=(
APP_ROOT:[NTMK.][src.ht.obj],omnilib:) CPP D
omniORB: Distribution date: Thu Apr 14 17:19:57 BST 2005 dgrisby
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: ISO-8859-1 UTF-8.
omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1)
ISO-8859-1(1.0) UTF-8(1.2) UTF-8(1.1).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Information: the omniDynamic library is not linked.
omniORB: Current configuration is as follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: abortOnInternalError = 0
omniORB: acceptBiDirectionalGIOP = 0
omniORB: acceptMisalignedTcIndirections = 0
omniORB: bootstrapAgentHostname =
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 5000
omniORB: clientTransportRule = * unix,ssl,tcp
omniORB: diiThrowsSysExceptions = 0
omniORB: dumpConfiguration = 0
omniORB: endPoint = giop:tcp::
omniORB: endPointPublishAllIFs = 0
omniORB: giopMaxMsgSize = 2097152
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: inConScanPeriod = 180
omniORB: lcdMode = 0
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.2
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 0
omniORB: omniORB_27_CompatibleAnyExtraction = 0
omniORB: oneCallPerConnection = 0
omniORB: outConScanPeriod = 120
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal = [Null]
omniORB: scanGranularity = 5
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * unix,ssl,tcp
omniORB: strictIIOP = 1
omniORB: supportBootstrapAgent = 0
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 0
omniORB: tcAliasExpand = 0
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 1
omniORB: traceExceptions = 1
omniORB: traceInvocations = 0
omniORB: traceLevel = 100
omniORB: traceThreadId = 0
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 1
omniORB: verifyObjectExistsAndType = 0
omniORB: Initialising incoming endpoints.
omniORB: Bind to address 0.0.0.0.
omniORB: No list of interface addresses; fall back to system hostname.
omniORB: My hostname is pike04.PIKEW2K.PIKEELECTRONIC.COM.
omniORB: Starting serving incoming endpoints.
cannot open file projectDir:[etc]test1.env
16.06.2006 16:23:12.573 COM - Debug Level changed to 9
16.06.2006 16:23:12.595 EVT - Debug Level changed to 9
16.06.2006 16:23:12.597 TCP - Debug Level changed to 9
16.06.2006 16:23:12.598 DEF - Debug Level changed to 9
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:192.168.1.4:50215
16.06.2006 16:23:12.869 File Reopened to projectDir:[log.test1]test104.log
16.06.2006 16:23:12.871 DEF - DebugFileName :
projectDir:[log.test1]test104.log
16.06.2006 16:23:12.943 DEF - DebugFileSize : 800000
16.06.2006 16:23:13.172 DEF - FlushEvery : 1
16.06.2006 16:23:13.200 DEF - DebugLevel : 9
16.06.2006 16:23:13.233 DEF - DebugStdOut : 1
omniORB: WARNING -- a nil (0) pointer is wrongly used as a
nil object reference.
omniORB: Creating ref to remote: root/myPOA<0>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:ProcessIDL:1.0
omniORB: send codeset service context: (ISO-8859-1,UTF-16)
omniORB: Client attempt to connect to giop:tcp:192.168.1.4:50208
omniORB: Switch rope to use address giop:tcp:192.168.1.4:50208
omniORB: throw giopStream::CommFailure from
[SRC.LIB.OMNIORB.ORBCORE]GIOPSTREAM.CC;1:1076(0,NO,TRANSIENT_ConnectFailed)
omniORB: throw TRANSIENT from [SRC.LIB.OMNIORB.ORBCORE]OMNIOBJREF.CC;1:759
(NO,TRANSIENT_ConnectFailed)
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef(IDL:ProcessIDL:1.0) -- deleted.
16.06.2006 16:23:13.501 DEF - Process::Process(): --->>>
omniORB: Adding root/myPOA<0> (activating) to object table.
omniORB: State root/myPOA<0> (activating) -> active
omniORB: Creating ref to local: root/myPOA<0>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:ProcessIDL:1.0
omniORB: ObjRef(IDL:ProcessIDL:1.0) -- deleted.
omniORB: Adding root/myPOA<1> (activating) to object table.
omniORB: State root/myPOA<1> (activating) -> active
omniORB: Creating ref to local: root/myPOA<1>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:DebugIDL:1.0
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Scavenger task execute.
omniORB: ObjRef(IDL:DebugIDL:1.0) -- deleted.
16.06.2006 16:23:13.945 DEF - Process::Process(): <<<---
16.06.2006 16:23:14.752 DB - dbLogin(): Successfull connection to Oracle DB
as ntmk/ntmk at padb
16.06.2006 16:23:14.786 DEF - getSysDate: --->>>
16.06.2006 16:23:14.822 DEF - getSysDate: Date '16:24:08 16.06.2006'
16.06.2006 16:23:14.852 DEF - getSysDate: <<<---
16.06.2006 16:23:15.088 DEF - Timer::start: --->>>
16.06.2006 16:23:15.118 EVT - EventHandler::addEvent: --->>>
16.06.2006 16:23:15.151 EVT - EventHandler::addEvent: New Event 1 Handle
28409060
16.06.2006 16:23:15.184 EVT - EventHandler::addEvent: <<<---
16.06.2006 16:23:15.218 DEF - Timer::start: <<<---
16.06.2006 16:23:15.251 DEF - eventHandlerThread started
16.06.2006 16:23:15.283 DEF - Process test1 is started
16.06.2006 16:23:15.491 EVT - eventHandlerThread: --->>>
16.06.2006 16:23:15.723 EVT - eventHandlerThread: Waiting for new timers
16.06.2006 16:23:17.717 EVT - handleVMSTimer: --->>>
16.06.2006 16:23:17.749 EVT - handleVMSTimer: Timer 28409060 received
16.06.2006 16:23:17.782 EVT - handleVMSTimer: <<<---
16.06.2006 16:23:17.984 EVT - eventHandlerThread: New events to be processed
16.06.2006 16:23:18.015 EVT - eventHandlerThread: Waiting timers 1
omniORB: WARNING -- a nil (0) pointer is wrongly used as a
nil object reference.
omniORB: Creating ref to local: root/myPOA<0>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:ProcessIDL:1.0
omniORB: Create dummy omni_thread in rmutex lock.
16.06.2006 16:23:18.088 EVT - Process::ProcessIDL_i::handleEvent: --->>>
16.06.2006 16:23:18.122 EVT - Process::ProcessIDL_i::handleEvent: Event
received. Handler:28409060
16.06.2006 16:23:18.164 DEF - Timer::handle_event: --->>>
16.06.2006 16:23:18.286 DEF - Test1::timeoutReceive: --->>>
16.06.2006 16:23:18.321 DEF - getSysDate: --->>>
%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual
address=0000000001D037F0, PC=FFFFFFFF808A0CE0, PS=0000001B
Improperly handled condition, image exit forced by last chance handler.
Signal arguments: Number = 0000000000000005
Name = 000000000000000C
0000000000000004
0000000001D037F0
FFFFFFFF808A0CE0
000000000000001B
Register dump:
R0 = FFFFFFFF808A0CE0 R1 = 0000000001D048B8 R2 = 0000000000547928
R3 = 0000000000557000 R4 = 0000000000000002 R5 = 0000000000000001
R6 = 0000000000000000 R7 = 0000000000246008 R8 = 0000000001D09028
R9 = 0000000000037040 R10 = FFFFFFFFFFFFFFFF R11 = 0000000000000001
R12 = 0000000000029A48 R13 = 0000000000000000 R14 = 0000000000000000
R15 = 0000000041540001 R16 = 0000000001D04928 R17 = 0000000001D048F8
R18 = 0000000001D04930 R19 = 0000000000000000 R20 = 0000000000000000
R21 = 000000000024C1F8 R22 = 0000000000000000 R23 = 00000000000E6E60
R24 = 0000000000244040 R25 = 0000000000000004 R26 = FFFFFFFF80B49544
R27 = 00000000001F3298 R28 = 0000000000000000 R29 = FFFFFFFF8191E340
SP = 000000007AE3C000 PC = FFFFFFFF808A0CE0 PS = 000000000000001B
%CXXL-F-TERMINATE, terminate() or unexpected() called
Improperly handled condition, image exit forced by last chance handler.
Signal arguments: Number = 0000000000000003
Name = 0000000005F78424
00000000000A7C18
100000000000001B
Register dump:
R0 = 0000000000000000 R1 = 000000007AE3B618 R2 = 0000000000032E10
R3 = 0000000000000000 R4 = 0000000000000149 R5 = 00000000000D0320
R6 = 000000001000000C R7 = 000000007FF87FC0 R8 = 0000000001D09028
R9 = 0000000000037040 R10 = FFFFFFFFFFFFFFFF R11 = 0000000000000001
R12 = 0000000000029A48 R13 = FFFFFFFF81942118 R14 = 0000000000000000
R15 = 0000000041540001 R16 = 0000000005F78424 R17 = 0000000000000000
R18 = 0000000001D0B340 R19 = 0000000000000002 R20 = 0000000000000015
R21 = 0000000000000006 R22 = 0000000000000000 R23 = 000000000000000A
R24 = 0000000000244040 R25 = 0000000000000001 R26 = 00000000000A7C18
R27 = 00000000001FD500 R28 = 100000000000001B R29 = 000000007AE3B610
SP = 000000007AE3B610 PC = 00000000000A7C18 PS = 100000000000001B
Once also in omniOrb as follows:
omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3
omniORB: giopWorker task execute.
omniORB: Accepted connection from giop:tcp:192.168.1.4:50198 because of this
rule: "* unix,ssl,tcp"
omniORB: inputMessage: from giop:tcp:192.168.1.4:50198 98 bytes
omniORB:
4749 4f50 0102 0100 5600 0000 0200 0000 GIOP....V.......
0000 0000 0000 0000 1400 0000 ff6d 7950 .............myP
4f41 fed5 bb92 4401 0002 7400 0000 0003 OA....D...t.....
0600 0000 4576 656e 7400 0000 0100 0000 ....Event.......
0100 0000 0c00 0000 0100 0000 0100 0100 ................
0901 0100 6c31 0000 0600 0000 e803 0100 ....l1..........
0c00 ..
omniORB: Receive codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: WARNING -- method 'Event' raised an unexpected
exception (not a CORBA exception).
omniORB: sendChunk: to giop:tcp:192.168.1.4:50198 68 bytes
omniORB:
4749 4f50 0102 0101 3800 0000 0200 0000 GIOP....8.......
0200 0000 0000 0000 1e00 0000 4944 4c3a ............IDL:
6f6d 672e 6f72 672f 434f 5242 412f 554e omg.org/CORBA/UN
4b4e 4f57 4e3a 312e 3000 0000 0100 4d4f KNOWN:1.0.....MO
0200 0000 ....
omniORB: Scan for idle connections (1150467077,406483700)
omniORB: Scavenger reduce idle count for strand 19E9390 to 35
omniORB: Scan for idle connections done (1150467077,406483700).
omniORB: Scan for idle connections (1150467082,651268200)
omniORB: Scavenger reduce idle count for strand 19E9390 to 34
omniORB: Scan for idle connections done (1150467082,651268200).
Do you have anybody some idea?
Thanks,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060616/20b37d2d/attachment-0001.htm
More information about the omniORB-list
mailing list