New / malloc / threads core dump
Hi,
I'm trying to port a ftp client from Linux to Solaris. The client runs fine on both Linux and on *BSD.
I'm using the Sun Studio 8 C++ compiler on Solaris 9 4/04 x86.
The program crashes in the below class function:
-- CUT --
FILELIST CServer::ObtainFilelist(bool use_jump) {
FILELIST fl_temp, fl_temp1 = NULL, fl_new, fl_start = NULL;
pthread_mutex_lock(&(this->filelist_lock));
fl_temp = this->actual_filelist;
while (fl_temp) {
fl_new = new(FILELIST);
fl_new->next = NULL;
fl_new->magic = fl_temp->magic;
fl_new->is_marked = FALSE;
fl_new->name = new(char[strlen(fl_temp->name) + 1]);
if (!fl_temp1)
fl_start = fl_new;
else
fl_temp1->next = fl_new;
fl_temp1 = fl_new;
fl_temp = fl_temp->next;
pthread_mutex_unlock(&(this->filelist_lock));
*use_jump = this->prefs.use_jump;
return (fl_start);
-- CUT --
When running the program in dbx I get:
-- CUT --
t@2 (l@2) signal SEGV (no mapping at the fault address) in smalloc at 0xd2f20b09 0xd2f20b09: smalloc+0x0078: movl 0x00000008(%eax),%ecx
Current function is CServer::ObtainFilelist
1815 und bookfl_new->name = new(char[strlen(fl_temp->name) + 1]);
(dbx) where
current thread: t@2
[1] _smalloc(0x8), at 0xd2f20b09
[2] mallocunlocked(0x8), at 0xd2f20d66
[3] malloc(0x5), at 0xd2f20b57
[4] operator new(0x5), at 0xd2ff5d8c
=>[5] CServer::ObtainFilelist(this = 0x839d328, use_jump = 0xd2d8df33), line 1815 in "server.cc"
[6] CDisplayHandler::UpdateServerFilelist(this = 0x80c53a0, server = 0x839d328, window = 0x80eb600), line 1692 in "displayupdate.cc"
[7] CDisplayHandler::HandleServerMessage(this = 0x80c53a0, msg = 2, magic = 1, data = (nil)), line 4596 in "displayhandler.cc"
[8] CDisplayHandler::Loop(this = 0x80c53a0), line 4841 in "displayhandler.cc"
[9] DetachDisplayHandler(dummy = (nil)), line 302 in "main.cc"
[10] thrsetup(0xd2e30200), at 0xd2e54513
[11] lwpstart(), at 0xd2e54790
-- CUT --
I tried to replace the "fl_new->name = new(char[strlen(fl_temp->name) + 1]);" with "fl_new-name new char [255]" with success. fl_temp->name is accessible, I tried to output the contents before doing the new with success.
FILELIST is a struct and FILELIST.name is a char*.
Any help would be really appreciated.martin@sara# CC -V
CC: Sun C++ 5.5 2003/03/12
martin@sara# uname -a
SunOS sara 5.9 Generic_112234-12 i86pc i386 i86pc
Regards,
Martin Andersson
The stack trace seems to show a core dump from malloc after being asked to allocate 5 bytes. (The operator new in the standard library calls malloc to allocate storage.)
If your code was compiled optimized and without -g, the stack trace is not always reliable, however.
But assuming the trace is accurate, the crash is probably due to a corrupted heap. An invalid free() or delete can corrupt the heap data structures, and the the crash occurs at at later time, often far removed from the offending location. "Invalid" means
- using the wrong form of delete
-deleting an address that was not provided by the matching new operator
-freeing an address that was not provided by malloc/calloc/realloc
-freeing or deletting the same block more than once
The heap (and anything else in the program) can also become corrupted by storing through an invalid pointer or an uninitialized pointer. "Invalid" means the object pointed to no longer exists.
The heap can also become corrupted if you store beyond the bounds of allocated storage.
The classic error is this:
char* p = new char[strlen(msg)]; // forgot about trailing null
strcpy(p, msg); // write one byte too many
If you can't see any of these errors in the souce code (and theyare hard to find), try running under dbx with RTC (run-time checking) enabled, or use some memory debugger.
Similar Messages
-
Hi,
After learning howto setup my OCCI Environment handle
correctly for threads using;
Environment::Mode mode = (Environment::THREADED_MUTEXED,
Environment::OBJECT);
The class that encapsulates this is a singleton and used
through out the process by all the threads. This class
conection pools and is synchronised for all the threads.
However, using this singleton model, I get core dumps
when more than 1 thread attempts to execute a commit on
the database via the connection they have obtained from
this singleton class.
Instantiating the class or environment per thread does
not result in core dumps. Rather it runs smoothly.
Is this normal behaviour?
(Also when all the threads are querying the singleton
model works fine. Seems only commits)
RaffaeleHi,
I tried the THREADED_MUTEX|OBJECT but I still get core
dumps when threading. What I experience is during a
connection->commit() or any other call on a connection
when threading causes a core dump.
I use the OCCI object inrterface and my db is an object
schema. I am trying to use the full OO dev that comes
with Oracle...ott included.
Everything boils down to my singleton DB class which
is shown below; (Is there any other thread initialisation
required)
#include <db/oracle.h>
#include <env/config.h>
#include <env/errlog.h>
#include <env/stdenv.h>
#include <taucpp/except_base.h>
#include <gtcpp/mtlock.h>
#include <gtcpp/debug.h>
GTFILE;
static GtMtCritSec db_mutex;
Oracle::Oracle (GtString &userName,
GtString &password,
GtString &url,
int max,
int min,
int inc) :
_user (userName),
_pwd (password),
_url (url),
_max (max),
_min (min),
_inc (inc),
_connection (0)
GtMtAutoLock lock (db_mutex);
Environment::Mode mode
= (Environment::Mode) (Environment::THREADED_MUTEXED | Environment::OBJECT);
_system = Environment::createEnvironment (mode);
char* s = getenv ("ORACLE_HOME");
if (!s || (strlen (s) == 0))
cout << "environment variable ORACLE_HOME not initialized"
<< endl;
connect ();
Oracle::~Oracle ()
GtMtAutoLock lock (db_mutex);
if (_connection)
system->terminateConnectionPool (connection);
Environment::terminateEnvironment (_system);
void Oracle::getConnection (Connection** connection)
GTASSERT (connection);
GtMtAutoLock lock (db_mutex);
try
if (_connection)
*connection = connection->createConnection ( (char*)& (*user),
(char*)& (*_pwd));
else
Exception ex ("MSN reconnect exception");
*connection = 0;
throw ex;
catch (SQLException ex)
retry ();
catch(Exception ex)
retry();
catch (...)
void Oracle::retry ()
GtMtAutoLock lock (db_mutex);
try
if (_connection)
system->terminateConnectionPool (connection);
catch (...)
connect ();
void Oracle::terminateConnection (Connection* connection)
GTASSERT (connection);
GtMtAutoLock lock (db_mutex);
if (connection)
try
if (_connection)
_connection->terminateConnection (connection);
catch (SQLException ex)
catch (...)
Environment* Oracle::getEnvironment ()
GtMtAutoLock lock (db_mutex);
return _system;
void Oracle::connect ()
GtMtAutoLock lock (db_mutex);
try
connection = system->createConnectionPool ( (char*)& (*_user),
(char*)& (*_pwd),
(char*)& (*_url),
min,max,_inc);
catch (SQLException ex)
_connection = 0;
catch (...)
_connection = 0;
Any help much appreciated,
Raffaele -
Core dump in malloc - Signal BUS
When I did performence test for my application, core dump happened serveral times, below list two stack back trace
t@29 (l@29) terminated by signal BUS (invalid address alignment)
0xffffffff7a04f68c: t_delete+0x006c: stx %l2, [%g5 + 0x10]
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/TP_Reactor.o"
dbx: warning: see `help finding-files'
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/Reactor.o"
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/Thread_Adapter.o"
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/Base_Thread_Adapter.o"
(dbx) where
current thread: t@29
=>[1] t_delete(0x1025badb0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7a04f68c
[2] mallocunlocked(0x108, 0x0, 0x10dc40, 0xffffffff7a0a177c, 0xfffffc00, 0xffffffff), at 0xffffffff7a04ecc8
[3] malloc(0x108, 0xffffffff73d030b4, 0x10dc40, 0xffffffff7a0a177c, 0xfffffc00, 0xffffffff), at 0xffffffff7a04eaf4
[4] operator new(0x108, 0xffffffff73d030b4, 0x10dc40, 0xffffffff7a0a177c, 0x0, 0x0), at 0xffffffff7df50274
[5] MAS_TCPMessageFactory::makeNewMessage(0x102310230, 0x0, 0x310e48, 0xffffffff7c640b1c, 0x1020048f8, 0x0), at 0x101cf3ac4
[6] MAS_MessageFactory::getMessage(0x102310230, 0x0, 0x8, 0x0, 0xffffffff726eb040, 0x1020048f8), at 0x101d08f1c
[7] MAS_ProtocolLayerMgr::createMessage(0x10230fbb0, 0x1026fd230, 0x102310230, 0x0, 0x0, 0xffffffff726eb140), at 0x101ccbda4
[8] MAS_TCPSession::handle_input(0x1025b4b80, 0x1026fd230, 0x0, 0x1020048f8, 0x10230fbb0, 0x12800), at 0x101cf6ef8
[9] ACE_TP_Reactor::dispatch_socket_event(0x1023102b0, 0xffffffff726fb870, 0xffffffff726fb870, 0x0, 0x1, 0x0), at 0xffffffff7c6ee264
[10] ACE_TP_Reactor::handle_socket_events(0x1023102b0, 0xffffffff726fb97c, 0xffffffff726fba68, 0x0, 0x0, 0x0), at 0xffffffff7c6ed804
[11] ACE_TP_Reactor::dispatch_i(0x1023102b0, 0x0, 0xffffffff726fba68, 0x0, 0x0, 0x0), at 0xffffffff7c6ed2b4
[12] ACE_TP_Reactor::handle_events(0x1023102b0, 0x0, 0x3, 0x2, 0x102229220, 0xffffffff7adfe330), at 0xffffffff7c6ec7f0
[13] ACE_Reactor::run_reactor_event_loop(0x1022fb870, 0x0, 0x319144, 0x101cc6638, 0x10230fbb0, 0x1022291f0), at 0xffffffff7c6c0118
[14] initReactor(0x0, 0x1022fb870, 0xffffffff7cb82e18, 0x1020048f8, 0xffffffff7f0c2ed8, 0x0), at 0x101ceb07c
[15] ACE_Thread_Adapter::invoke_i(0x10232b1c0, 0x10232aee0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7c67106c
[16] ACE_Thread_Adapter::invoke(0x10232b1c0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7c670f14
[17] ace_thread_adapter(0x10232b1c0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7c531f88
(dbx)
Another one
t@47 (l@47) terminated by signal BUS (invalid address alignment)
0xffffffff7a14ec9c: mallocunlocked+0x018c: ldx [%l0], %g4
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/T
ask.o"
dbx: warning: see `help finding-files'
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/T
hread_Adapter.o"
dbx: warning: can't find file "/local/vendor/R24.2/ACE/ACE_wrappers/ace/.shobj/B
ase_Thread_Adapter.o"
(dbx) where
current thread: t@47
=>[1] mallocunlocked(0x100, 0x0, 0x10dc40, 0xffffffff7a1a177c, 0x0, 0x0), at 0
xffffffff7a14ec9c
[2] malloc(0x100, 0x18c314, 0x0, 0x3fff9e35, 0xfffffc00, 0xffffffff), at 0xfff
fffff7a14eaf4
[3] operator new(0x100, 0x821, 0x7fff0000, 0x2, 0xffffffff703fb7b0, 0x0), at 0
xffffffff7df50274
[4] std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<c
har> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocat
or<char> > > >::__insert_aux(0xffffffff703fb930, 0x0, 0xffffffff703fb908, 0x0, 0
xffffffff703fb948, 0x20), at 0x101bd8178
[5] MAS_ProtocolLayerMgr::getAllSessions(0xffffffff703fba20, 0x102208ec0, 0xff
ffffff703fb920, 0x102209018, 0x32808c, 0xffffffff703fb950), at 0x101bf7b88
[6] MAS_ProtocolLayerMgr::audit(0x102208ec0, 0x9496d, 0x8, 0x4364bd37, 0x9496d
, 0x9496d), at 0x101bf7c70
[7] MAS_BasicActiveObject::svc(0x102208ec0, 0x97063, 0xffffffff703fbb50, 0x3e8
, 0x8, 0x0), at 0x101c2667c
[8] ACE_Task_Base::svc_run(0x102208ec0, 0x1, 0x0, 0x0, 0x0, 0x0), at 0xfffffff
f7c93be04
[9] ACE_Thread_Adapter::invoke_i(0x10222b420, 0x102224760, 0x0, 0x0, 0x0, 0x0)
, at 0xffffffff7c67106c
[10] ACE_Thread_Adapter::invoke(0x10222b420, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff
ffffff7c670f14
[11] ace_thread_adapter(0x10222b420, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7c
531f88
(dbx) quit
Could any one share some light for me?
thanksFound the root cause. It was the heap corruption that lead to the coredump. watchmalloc is a good malloc debug library. It helped me to find the bug.
thanks for your help -
I get a core dump while making a call to malloc.
Owing to waht reasons can malloc give a coredump?Your application has corrupted the malloc heap data structures.
Use dbx' access checking feature, or use watchmalloc(3MALLOC), or libumem, or "Electric Fence", or ... to
find out where your application corrupts malloc's data structures. -
Difference between heap dump/core dump/thread dump?
Whats the difference between heap dump/core dump/thread dump?
To be very precise, Core Dump is generated when your JVM is shutted down abnormally, it contains recorded state of the working memory of a computer program at a specific time with some platform specific details
Heap Dump can be generated to see the live objects at that specific time stamp
Thread Dump can be generated to see the threads present (runing, blocked everything) in a "live JVM" at any specific time stamp -
Core dump when clearing vector of std::string/creating std:string
Hi,
I am seeing a couple of core dump which point to std::strings like the ones below. The application is a multi-threaded application and compiled on sun4u 5.8 sparc with Sun Studio 11 C++ compiler 5.8 Patch 121017-16. The stack trace is being shown from a shared library which we built and is being used by our daemon service. I stack traces points to code where simple operation like clearing of vector<std::string> or creating or erasing std::string. The runtime environment is Solaris 5.10 sun4u sparc with SUNWlibC patches of 119963-19 and 119963-10.
We had an issue with clearing of vectors earlier whcih we solved by applying some compiler patches. This issue coming even after we have built the binaries with compiler patches. I have made sure that both the daemon and the shared library are all built with same compiler version. I would appreciate if any possible direction can be given for this.
======================1=================================
$clibc.so.1`t_splay+0x10(82d828, 38, 753d736f, ff324c28, fe0b03a8, 732c6f3d)
libc.so.1`realfree+0x8c(82d7e8, 39, d995c, fe7153a4, 0, 0)
libc.so.1`_free_unlocked+0xb0(fe0b9224, 0, d9188, fe0b92a4, fe0b03a8, 555810)
libc.so.1`free+0x24(555810, 555810, d91c8, fe041ebc, fe0b03a8, 555831)
libCrun.so.1`void operator delete+4(555810, 0, 0, ffffffff, 59, 0)
libCstd_isa.so.1`std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string #Nvariant 1+0x84(0, 555838, 2160c,
555838, 38, 754b3c)
======================2=================================
$clibc.so.1`t_splay+0xf4(590e78, 3b0, 6934c8, fdfd6eb0, fe0b03a8, 0)
libc.so.1`realfree+0xb8(590e78, 5b, d995c, 0, 0, 5912b8)
libc.so.1`cleanfree+0x5c(0, 19, d90ac, fe042230, fe0b03a8, fe0b92a4)
libc.so.1`_malloc_unlocked+0xf4(8, 0, 0, fe29c734, fe0b3910, fe29c734)
libc.so.1`malloc+0x4c(8, 1, da058, fe85eb20, fe0b03a8, fe0ba518)
libCrun.so.1`void*operator new+0x28(8, 66c918, 7, fed6bf10, 14e98, 3afc38)
======================3=================================
C [libc.so.1+0x57204] free+0x2c
C [libCrun.so.1+0x665c] void operator delete(void*)+0xc
C [libCstd_isa.so.1+0xd9ac]
cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Hreplace6MIIpkc
III_pc_+0x120
C [libCstd_isa.so.1+0x1a488]
std::string &std::string::erase(unsigned,unsigned)+
0x5c
======================4=================================
C [libCstd_isa.so.1+0x119c8]
cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___M__sun_append6M
rk1_r1_+0x10
======================5=================================
C [libc.so.1+0x5639c] malloc+0x54
C [libCrun.so.1+0x70a4] void*operator new(unsigned)+0x30
C [libCstd_isa.so.1+0xc69c]
cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___I__getRep6MII_p
nH__rwstdM__string_ref4Ccn0B_n0C____+0x60
C [libCstd_isa.so.1+0xdad0]
cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Hreplace6MIIpkc
III_pc_+0x1c0
C [libCstd_isa.so.1+0xf5b4]
std::string &std::string::operator=(const char*)+0x1
08
Edited by: bekz007 on Feb 24, 2010 1:55 PMHi Clamage,
The the application in question is built using various third party libraries and we will not be able to compile it with SunStudio 12. Even if we do that we may have to test for functionality which can be a major task now.
Is there any other way in which I can proceed to verify this in client's env?
Running the app in DBX didn't work as when the process was started it said
dbx: internal warning: rtc: ld/st instruction user %r6 at 0xaca16840 in /opt/oracle/client102_1/lib32/libnnz10.so`SHATransform_SOL
dbx: system error: cannont recover; Access checking disabledBelow give are the few stack traces we got recently and most of them are coming malloc
-------------------------- Run3----------------------------------------------------
fdfd710c t_splay (590e78, 3b0, 6934c8, fdfd6eb0, fe0b03a8, 0) + f4
fdfd6af0 realfree (590e78, 5b, d995c, 0, 0, 5912b8) + b8
fdfd734c cleanfree (0, 19, d90ac, fe042230, fe0b03a8, fe0b92a4) + 5c
fdfd64a4 _malloc_unlocked (8, 0, 0, fe29c734, fe0b3910, fe29c734) + f4
fdfd6394 malloc (8, 1, da058, fe85eb20, fe0b03a8, fe0ba518) + 4c
fed5709c void*operator new(unsigned) (8, 66c918, 7, fed6bf10, 14e98, 3afc38) + 28
fe713c78 bool Safe::Session::addAttr(const char*,const char*) (5f6478, fe831127, 7d0d50, fe856bd4, 0, fe831127) + 60
fe69ac5c void Safe::Context::populateSession(Safe::Session*,Safe::GlobalUser*,Safe::User*,bool) (378400, 5f6478, 3afc38, fe8310ac, 1, fe831232) + e34
fe699c58 void Safe::Context::populateSessionQs(std::deque<Safe::Session*>&,std::deque<Safe::Session*>&) (378400, 0, 378830, 2, fe856bd4, 0) + 15e0
fe77cd64 void Safe::Cache::threadLoop() (3787e8, 378898, 378830, 0, 0, 0) + 54a4
fe7762f4 ???????? (3787d0, 0, 0, fe856bd4, fdea5a00, 16800)
fe7455d4 void*ithread_func(void*) (37a960, fe7762d8, fe856bd4, 0, 37a960, 1) + 48
fe048968 _lwp_start (0, 0, 0, 0, 0, 0)
-------------------------- Run4----------------------------------------------------
fdf5710c t_splay (659620, 58, 891658, fdfc0a2c, fe0303a8, 601200) + f4
fdf56ac4 realfree (6595c0, 59, d995c, 0, 0, 71ad08) + 8c
fdf5734c cleanfree (0, 7, d90ac, fed5631c, fe0303a8, fe0392a4) + 5c
fdf564a4 _malloc_unlocked (798, 418, 4a52a8, 4a52b0, fffffffc, fd66d060) + f4
fdf56394 malloc (794, 1, da058, fe75d8b0, fe0303a8, fe03a518) + 4c
fed5709c void*operator new(unsigned) (794, 6014a8, 6014a4, fed6bf10, 14e98, fe86ce2c) + 28
fe68e650 bool Safe::Context::privSearchGlobalUsers(std::deque<Safe::Filter*>&,std::deque<Safe::GlobalUser*>&,Safe::Error&,bool) (193088, 9d7af8, fbb7a77c, fbb7a614, fbb7a4f4, 1) + 1e8
fe6a5370 void Safe::Context::populateSessionQs(std::deque<Safe::Session*>&,std::deque<Safe::Session*>&) (193088, 19348c, 1934b8, 7858c4, fe86321c, 0) + 868
fe7891f4 void Safe::Cache::threadLoop() (193470, 193520, 1934b8, 0, 0, 0) + 54a4
fe782784 void*pollthreadfunc(void*) (193458, 0, 0, fe86321c, fde92a00, 16800) + 1c
fe751a64 void*ithread_func(void*) (4525b0, fe782768, fe86321c, 0, 4525b0, 1) + 48
fdfc8968 _lwp_start (0, 0, 0, 0, 0, 0)
-------------------------- Run5----------------------------------------------------
libc.so.1`malloc+0x4c(a, 1, da058, fd88c710, fe0303a8, fe03a518)
libCrun.so.1`void*operator new+0x28(a, fb878177, 0, fec6bf10, 14e98, 3)
libxerces-c.so.26`void*xercesc_2_6::MemoryManagerImpl::allocate+0x14(1c3e88, a, 55, fd9cea50, fda366e8, 1)
libxerces-c.so.26`xercesc_2_6::XMLTranscoder::XMLTranscoder #Nvariant 1+0x60(fb877d20, fe874e52, 5, 1c3e88, 0, fffc00)
libxerces-c.so.26`xercesc_2_6::XMLUTF8Transcoder::XMLUTF8Transcoder #Nvariant 1+0x20(fb877d20, fe874e52, 5, 1c3e88, 0, 0)
libassafe_api.so`char*ispUtil::XMLChtoUTF8+0x4c(606c338, 67c, 400, fe86321c, 5, 1)
libassafe_api.so`istring::istring #Nvariant 1+0x30(fb877f7c, fe86b470, fe86b448, fe86321c, 7a0, 400)
libassafe_api.so`void ParseUtil::endElement+0xa0(c1f888, 693288, 606c338, fe86321c, 2, 2d4a160)
libxerces-c.so.26`void xercesc_2_6::SAX2XMLReaderImpl::endElement+0x10c(876788, ece8e0, 1, fe875c80, 6043eb8, fe76d448)
libxerces-c.so.26`void xercesc_2_6::IGXMLScanner::scanEndTag+0x644(5cb4628, fb878177, 0, fd9cea50, fd864978, 3)
libxerces-c.so.26`bool xercesc_2_6::IGXMLScanner::scanContent+0x160(5cb4628, 0, 0, fd9fdb24, fd869d60, 1)
libxerces-c.so.26`void xercesc_2_6::IGXMLScanner::scanDocument+0x78(5cb4628, 0, fd85dfb0, fd87214c, 1c3e88, 2800)
libxerces-c.so.26`void xercesc_2_6::SAX2XMLReaderImpl::parse+0x8c(876788, fbf8d0, 4a, fe84a145, 0, 1c3e88)
libassafe_api.so`bool ParseUtil::Parse+0x1c0(c1f888, 67c, fb878914, 16c82d0, fe86321c, fda348dc)
libassafe_api.so`bool ispUtil::Parse+0x34(7fd350, fb878914, fe76ffc0, fe86321c, f320c, f3000)
libassafe_api.so`void PozObject::poMapInterface+0xb08(49a40a8, 2, fb8787b8, fb878914, fe86321c, 0)
libassafe_api.so`void PortableObject::poParseCallback+0x314(49a40a8, 7, fb8788d4, fb878954, fb878914, fb8787b8)
0xfe76e828(49a40a8, 0, fb8788d4, fb878954, fb878994, fb8789c0)
libassafe_api.so`void ParseUtil::endElement+0x224(3954508, 17d45a0, 1af1320, fe86321c, 395453c, a2f4f8)
libxerces-c.so.26`void xercesc_2_6::SAX2XMLReaderImpl::endElement+0x10c(96ed20, 8686b0, 1, fe875c80, 60786c0, fe76d448)
libxerces-c.so.26`void xercesc_2_6::IGXMLScanner::scanEndTag+0x644(4a533e0, fb878b4f, 0, fd9cea50, fd864978, 3)
libxerces-c.so.26`bool xercesc_2_6::IGXMLScanner::scanContent+0x160(4a533e0, 0, 0, fd9fdb24, fd869d60, 1)
libxerces-c.so.26`void xercesc_2_6::IGXMLScanner::scanDocument+0x78(4a533e0, 0, fd85dfb0, fd87214c, 1c3e88, 2800)
libxerces-c.so.26`void xercesc_2_6::SAX2XMLReaderImpl::parse+0x8c(96ed20, 10fd780, 17eb0, fe84a145, 0, 1c3e88)
libassafe_api.so`bool ParseUtil::Parse+0x1c0(3954508, 67c, fb878ed0, 6023ac8, fe86321c, fda348dc)
libassafe_api.so`bool ispUtil::Parse+0x34(49a40a8, fb878ed0, fe76e800, fe86321c, cd0840, fe86321c)
libassafe_api.so`void PortableObject::poImportObject+0x18c(49a40a8, fb878ed0, fff0b5e4, f4800, fe86321c, 3)
libassafe_api.so`void Safe::StoredObject::soExport+0x2e4(5bb7250, 49a40a8, 320, 318, ffffffff, 5bb725c)
libassafe_api.so`PozObject*Safe::StoredObject::getPozObject+0x38(5bb7250, 0, 0, 49a40a8, fe23e01c, 0)
libassafe_api.so`bool Safe::GlobalUserGroup::soMap+0x2c(5bb7250, 1, 0, 0, fb879428, 400)
libassafe_api.so`PozObject*Safe::StoredObject::soExport+0x30(5bb7250, 1, 5d916c0, fe6cec54, fe86cf4c, fe724618)
libassafe_api.so`Safe::GlobalUserGroup*Safe::Context::getCachedGlobalUserGroup+0x1f4(1dfc00, 10a2538, 2153918, 0, 0, 0)
libassafe_api.so`bool Safe::Context::expandGlobalUserGroup+0x20(1dfc00, 6e, 3541cd4, fb87a3f8, 7a0, 10a2538)
libassafe_api.so`void Safe::Context::populateSession+0x195c(1dfc00, 3541c78, 0, 59b5544, 52935d0, ffffffff)
libassafe_api.so`void Safe::Context::populateSessionQs+0x15e0(1dfc00, 0, 1e0030, 1, fe86321c, 0)
libassafe_api.so`void Safe::Cache::threadLoop+0x54a4(1dffe8, 1e0098, 1e0030, 0, 0, 0)
0xfe782784(1dffd0, 0, 0, fe86321c, fde23a00, 16800)
libassafe_api.so`void*ithread_func+0x48(4cef10, fe782768, fe86321c, 0, 4cef10, 1)Edited by: bekz007 on Mar 17, 2010 12:23 PM -
Getting core dump frequently.
Getting core dump frequently. Can any one tell what may be the problem.
The stack obtained from the core file is shown below
=>[1] t_delete(0x2c6e727, 0xfc5bc008, 0x50, 0x2c6eef8, 0x2ba5198, 0x1a0), at 0xfc542794
[2] realfree(0x2c6e727, 0xfc5c2858, 0xfc5bc008, 0x2c6eef8, 0x1a3, 0x2c6ef00), at 0xfc54240c
[3] cleanfree(0x0, 0xfc5bc008, 0xfc5c27cc, 0xfc5c284c, 0xfc5c27fc, 0x0), at 0xfc542cb0
[4] mallocunlocked(0x10, 0x0, 0xfc5bc008, 0x10, 0x22310, 0x0), at 0xfc541de4
[5] malloc(0x10, 0x0, 0x5fdfb0, 0x11221bc, 0x222e8, 0x0), at 0xfc541cd8
[6] operator new(0x10, 0x0, 0x13b88, 0x11221bc, 0xfd5fa08c, 0x10), at 0xfd5e6528
[7] operator>>(0x0, 0x23, 0x8, 0x10e5530, 0x1720034, 0x0), at 0x10edb18
[8] RWStoreTable::add(0xffbe8fe0, 0xffbe8fdc, 0x8, 0x1002, 0x1acfc00, 0x1acfc00), at 0x10edf7c
[9] RWCollectable::recursiveStoreSize(0x3501200, 0xffbe9068, 0x167bc59, 0xa, 0x1b0f8b4, 0x1b0f8bc), at 0x10cb594The program is crashing after calling the system "malloc" routine. Such a crash indicates that the heap is corrupted.
Heap corruption in a single-threaded program can be caused by
- using an uninitialized or otherwise invalid pointer
- using an object after it has been deleted
- deleting an object twice
- storing beyond the bounds of an allocated object
In a multi-threaded program, additional sources of error are failing to guard a shared object by putting it in a critical region.
These kinds of errors are difficult to find after the fact, since the program crash usually occurs long after and in a different part of the program from the actual error.
Run the program under dbx RTC (real-time checking) to get diagnositcs about some of the errors I listed above. -
Hello All,
I am developing shared libraries for Solaris 5.8 using CC v5.4 (Sun Forte 7).
These libraries are integrated with application software built with CC v5.6 (Sun Studio 9) also on Solaris 5.8.
The libraries I supply are accessed via a defined C API by the application using "dlopen".
My libraries in turn depend on other, such as libxerces, libCstd and others.
I have verified that the software libraries work correctly when run in a test harness, whether this is compiled using CC v5.4 or CC v5.6.
The application experiences the following fault:
t@4 (l@4) terminated by signal SEGV (no mapping at the fault address)
0xfeec1c98: _smalloc+0x008c: ld [%o1 + 8], %o0
The business end of the stack trace is as follows:
[5] std::valarray<double>::valarray(
[4] __rwstd::_RW_array<double>::_initial_size(
[3] operator new(0x0, ...
[2] malloc(0x1, ...
[1] _smalloc(0x8, ...
I am looking for developers with similar experiences or knowledge of this problem to try and narrow down the possible causes.
I am currently investigating the following possibilities:
Compiler patch or use -xarch=v8plus.
Inconsistent use of "-DRW_MULTI_THREAD -mt" compiler/linker options.
Incompatibility between libCstd & libstlport.
I have already referred to the following forum entries.
http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5069618
http://forum.java.sun.com/thread.jspa?threadID=5071063
The code causing this core dump is in the initialisation section of the constructor of a C++ object.
class c {
public:
c(); // constructor
protected:
std:valarray m;
a::a()
// Initialisation.
: m(0) { <<<<<<<<<< The core dump occurs in the constructor of this valarray member variable.
// Constructor code.
best regards
Geoff Krechting
Edited by: Geoff.Krechting on Apr 23, 2008 5:14 AM
Edited by: Geoff.Krechting on Apr 23, 2008 7:25 AMBoth C++ 5.4 and 5.6 are End Of Life, and little support is available for them. I recommend you upgrade to Sun Studio 11, the most recent compiler that still supports Solaris 8 (which is also End Of Life). Studio 11 is free for all uses, and rebuilding your code using it should not present any problems. You can get it here:
[http://developers.sun.com/sunstudio/products/previous/11/index.jsp]
If you don't want to change compilers, you can still mix binary code from C++ 5.4 and 5.6. The rule is that you can link binaries created by an older compiler into a program or shared library built with a newer compiler, but not the other way around. That is, you need to use C++ 5.6 for all linking steps, not C++ 5.4.
The problem you are running into might be due to a compiler bug, a bug in the runtime library, or a bug in your code.
You can reduce the chances of compiler or library bugs by getting all the current patches for your compilers and libraries here:
[http://developers.sun.com/sunstudio/downloads/patches/index.jsp]
Be sure to update the C++ runtime libraries not only on the computer where you build, but on computers where the application is run.
The crash you are seeing looks like it's due to memory corruption. Memory corruption can be caused by
- using an uninitialized pointer
- using an invalid pointer:
--- points to a deleted object
--- points to an object whose lifetime has ended
- deleting an object more than once
- mis-matched new/delete operations
Using Run-Time Checking in dbx can help you find some of these problems.
% dbx myprog
% check -all
% run -
Is there an way to get the value of a local string variable from core dump?
Hi All,
Please help me on this, How to extract the string variable content from the core file.
During core file analysis using dbx, it puts value as CLASS against string local variables.
But I need to know the exact value during the core dump.
I'm able to print other than string variables.
Is this possbile using dbx or is there any other tool can help me on this.
Thanks in advance, please find the code details below:
here is my core details:
(dbx) where -h
current thread: t@74
[1] __lwp_kill(0x0, 0x6, 0x217b8, 0x7f950b94, 0x2, 0x7f0fb944), at 0x7f99fb84
[2] raise(0x6, 0x0, 0x7f0fb958, 0x7f6a5434, 0x1, 0x7f0fb9a4), at 0x7f950b9c
[3] abort(0x7f6bf0f8, 0x4, 0x7f6bf0b8, 0x15360, 0x1, 0x7f6bf0f8), at 0x7f936d10
[4] exregister(0x7f6bf0fc, 0x4, 0x7f6bf0b8, 0x15360, 0x1, 0x7f6a5048), at 0x7f6a504c
[5] exregister(0x7f6bf0f8, 0x7f6a505c, 0x7f6bf0f8, 0x7f6bb080, 0x0, 0x1), at 0x7f6a5060
[6] exregister(0x7f0fbb28, 0x66bd8, 0xe4fd0, 0x7f6bb080, 0x7f6ba780, 0x1), at 0x7f6a4fd8
[7] 0x7f6a5edc(0x7f6bae64, 0x0, 0x66bd8, 0x14cb8, 0x14928, 0x0), at 0x7f6a5edc
=>[8] AreaManager::commitCombine(this = 0xe5234, parsedSetName = CLASS), line 369 in "AreaManager.cc"
[9] TaskDispatcher::combineParsedSet(parsedSetName = CLASS), line 113 in "TaskDispatcher.cc"
[10] CombineExecutor::run(this = 0x1312d8), line 159 in "CombineExecutor.cc"
[11] thread_body(threadObj = 0x1312d8), line 35 in "ThreadUtils.cc"
(dbx)
(dbx) dump
parsedSetName = CLASS
parsedSetCombinedName = CLASS
parserSetBuiltName = CLASS
this = 0xe5234
(dbx)
(dbx) print parsedSetName
dbx: cannot access address 0x7f6690f4
(dbx)
BR//SahooWhen I was running in a higher version, it gives follwing error:
A loadobject was found with an unexpected checksum value.
When using the same core dump binary, the result are different than the locally build binary
This is the error it pointing now:
if ((ptr = (CHAR *) malloc((unsigned int) size)) == NULL)
(dbx) proc -map
Loadobject mappings for current core file:
0x00010000 /usr/omc/1.8.0.0.56/bin/PmLoader
0x7fb80000 /usr/lib/libaio.so.1
0x7fb30000 /usr/lib/libm.so.1
0x7fbfa000 /usr/lib/libdl.so.1
is being filtered by: /usr/lib/ld.so.1
Warning: checksum in file(a5bd) doesn't match image(a5bf)
0x7faf0000 /usr/lib/libelf.so.1
Warning: checksum in file(38a7) doesn't match image(38a9)
0x7fad0000 /usr/lib/libsocket.so.1
0x7fa00000 /usr/lib/libnsl.so.1
0x7f900000 /usr/lib/libc.so.1
is being filtered by: /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
Warning: checksum in file(3b8c) doesn't match image(3ec6)
0x7f890000 /usr/informix/lib/esql/libthsql.so
0x7f830000 /usr/informix/lib/libthasf.so
0x7f7b0000 /usr/informix/lib/esql/libthgen.so
0x7f770000 /usr/informix/lib/esql/libthos.so
0x7f700000 /usr/informix/lib/esql/libifgls.so
0x7f9e0000 /usr/informix/lib/esql/libifglx.so
0x7f6d0000 /usr/lib/libthread.so.1
0x7f500000 /usr/lib/libCstd.so.1
Warning: checksum in file(1fc4) doesn't match image(3f67)
0x7f6a0000 /usr/lib/libCrun.so.1
Warning: checksum in file(1a8d) doesn't match image(b1ea)
0x7fba0000 /usr/lib/libw.so.1
is being filtered by: libc.so.1
0x7f4e0000 /usr/lib/libmp.so.2
0x7f4a0000 /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
Warning: checksum in file(0fc3) doesn't match image(27d6)
0x7f9d0000 /usr/platform/sun4u-us3/lib/libc_psr.so.1
0x7f410000 /usr/lib/nss_files.so.1
0x7fbb0000 /usr/lib/ld.so.1 [LM_ID_LDSO]
Warning: checksum in file(f2f2) doesn't match image(2a40)
dbx ./PmLoader ./core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.5' in your .dbxrc
Reading PmLoader
core file header read successfully
Reading ld.so.1
Reading libaio.so.1
Reading libm.so.1
Reading libdl.so.1
Reading libelf.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libc.so.1
Reading libthsql.so
Reading libthasf.so
Reading libthgen.so
Reading libthos.so
Reading libifgls.so
Reading libifglx.so
Reading libthread.so.1
Reading libCstd.so.1
Reading libCrun.so.1
Reading libw.so.1
Reading libmp.so.2
Reading libCstd_isa.so.1
Reading libc_psr.so.1
Reading nss_files.so.1
WARNING!!
A loadobject was found with an unexpected checksum value.
See `help core mismatch' for details, and run `proc -map'
to see what checksum values were expected and found.
dbx: warning: Some symbolic information might be incorrect.
t@1 (l@1) terminated by signal BUS (invalid address alignment)
0x7f947974: t_delete+0x0068: clr [%o1 + 8]
Current function is Malloc
40 if ((ptr = (CHAR *) malloc((unsigned int) size)) == NULL)
(dbx)
(dbx) where -h
current thread: t@1
[1] t_delete(0x17c980, 0x470, 0x1ef778, 0x7f9bc000, 0x0, 0x0), at 0x7f947974
[2] mallocunlocked(0x414, 0x0, 0x0, 0x7f9bc000, 0x0, 0x0), at 0x7f947004
[3] malloc(0x414, 0xebae0, 0x8, 0xffbfc9a8, 0xffbfc9a0, 0x1a3791), at 0x7f946e38
=>[4] Malloc(size = 1044U), line 40 in "Malloc.c"
[5] Drain_Socket(sc = 0x1ab100, fd = 10, block = 0xffbfce44), line 1648 in "ipc_sockio.c"
[6] Sockio_Refresh(instance = 0x1ab100, fd = 10U, readable = 1, writeable = 0, block = 0xffbfce44), line 3465 in "ipc_sockio.c"
[7] do_Refresh(cid = 10U, readable = 1, writeable = 0, block = 0xffbfce44), line 1238 in "ipc_IO.c"
[8] IO_Refresh(block = 0, file_descriptor = -1), line 685 in "ipc_IO.c"
[9] ipc_receive_message(gid = 0xffbfcf88, reply = 0xffbfd080, buffer = 0x11ae08 "", len = 0xffbfcf34, block = 0), line 313 in "ipc_services.c"
[10] IPCProcessor::receiveMessage(this = 0x1172d0, channelID = 2U, pReplyChannelID = 0xffbfd080), line 312 in "IPCProcessor.cc"
[11] IPCProcessor::mainLoop(this = 0x1172d0, pHandler = 0xf9c28), line 203 in "IPCProcessor.cc"
[12] IPCService::mainLoop(pMediator = 0x1172d0, pHandler = 0xf9c28), line 51 in "IPCService.cc"
[13] main(argc = 3, argv = 0xffbfe1f4), line 91 in "PmLoader.cc"
I got another instance of core dump in same m/c
Edited by: chittusun on Nov 5, 2008 5:19 AM -
JOB RSGENYTT - System core dump
Hi SDN,
While trying to upgrade our 4.6B system to ERP, JOB_RSGENYTT phase stops with a core dump, this is what i've in ST22
Someone knows how i can analyse this :S
regards
Pedro Rodrigues
ABAP runtime errors SYSTEM_CORE_DUMPED
Occurred on 17.11.2007 at 19:53:23
Process terminated by signal 0.
What happened?
Error in the SAP Basis system
ABAP/4 processor detected an internal system error.
The current ABAP program "RSGENYTT " had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Please make a note of the actions and input which caused the error.
Please make a note of the actions and input which caused the error.
To resolve the problem, contact your
SAP system administrator.
Choose "Print" for a hard coopy of the termination message. You can
display and adminster short dump messages using Transaction ST22.
Error analysis
An SAP System process was terminated by an operating system signal.
Possible reasons for this are:
1. Internal SAP System error.
2. Process was terminated externally (by the system administrator).
Last error logged in SAP kernel
Component............ "Taskhandler"
Place................ "SAP-Server appserver_DEV_00 on host appserver (wp 0)"
Version.............. 1
Error code........... 11
Error text........... "ThSigHandler: signal"
Description.......... " "
System call.......... " "
Module............... "thxxhead.c"
Line................. 8628
The error reported by the operating system is:
Error number..... " "
Error text....... " "
How to correct the error
The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
Save this file under another name.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "46B"
Application server....... "appserver"
Network address.......... "192.39.0.2"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 80686"
Database server.......... "appserver"
Database type............ "MSSQL"
Database name............ "DEV"
Database owner........... "dev"
Character set............ "English_United State"
SAP kernel............... "46D"
Created on............... "Aug 16 2007 21:26:12"
Created in............... "NT 4.0 1381 Service Pack 6 x86 MS VC++ 12.00"
Database version......... "SQL_Server_7.00 "
Patch level.............. "2337"
Patch text............... " "
Supported environment....
Database................. "MSSQL 6.5.213 or higher, MSSQL 7.0.1 or higher"
SAP database version..... "46D"
Operating system......... "Windows NT 4.0, Windows NT 5.0, Windows NT 5.1,
Windows NT 5.2, , System build information:,
, LCHN : "
User, transaction...
Client.............. 000
User................ "DDIC"
Language key........ "E"
Transaction......... "SE38 "
Program............. "RSGENYTT "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "RSGENYTT " in
The main program was "RSGENYTT ".
The termination occurred in line 0
of the source code of program " " (when calling the editor 00).
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1260
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1....+....2....+....3....+....4
LV_COUNT 0
0000
0000
LV_INDEX 0
0000
0000
LT_DDYTT Table[initial]
0000FFFD
0000FFFF
LT_DDYTF Table[initial]
0000FFFD
0000FFFF
LT_PUTTB_SHD ############################ #######ï###
000000000000000000000000000020000000E000
00000000000000000000000040000A001000F400
... + 40 ####ð###ð###################$###xæ-?ð#/?
1000F000F000000000008000000020007E23F823
00000800040000000000C0002000430086DF02FF
... + 80 #?4?########################5###
93330000000000000000000000003000
8F4F0000000000000000000000005000
LS_PUTTB_SHD /BEV1/CADD03VTV
2445324444335552222222222222222222222222
F2561F3144036460000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 002 7
2222222222222222333222222222222222232222
0000000000000000002000000000000000070000
... + 120 VLE
22222544
000006C
LV_SHD_DDXTT DDXTT~
445557222222222222222222222222
44844E000000000000000000000000
GC_BASREL_UPDATED U
5
5
LS_PUTTB_SHD-TABNAME /BEV1/CADD03VTV
244532444433555222222222222222
F2561F314403646000000000000000
LS_DDYTT ######
2222222222222222222222222222222222000000
0000000000000000000000000000000000000000
... + 40 ##########
0000000000222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 ##########
2222222222220000000000222222222222222222
0000000000000000000000000000000000000000
... + 120 ###### #########
22222222
0000000
SYST ############ï###########################
000000000000E000000000000000000000000000
000000001000F400000000000000000000000000
... + 40 ì#######################################
E000000000000000000000000000000000008000
C40000001000000010000000000000000000C000
... + 80 ########################################
0000000000000000000000000000000000000000
0000000000000000200000000000000000000000
... + 120 ########################################
00000000
0000000
SY-SUBRC 0
0000
0000
%_SSCR[] ############################`###########
0000000000000000000000000000600000000000
0000000000000000000000004000030000000000
... + 40 ################ÿÿÿÿ####################
1000000000000000FFFF00000000000000000000
0000000000001000FFFF41F07000430000000000
... + 80 ################################
00000000000000000000000000000000
00000000000000000000000000000000
10032c92 807d1400 cmp byte ptr ,0x0 ss:062ce90a=00
10032c96 7422 jz dsql_db_init+0x30d0a (10032cba)
10032c98 394e08 cmp ,ecx ds:070aeb72=????????
10032c9b 751d jnz dsql_db_init+0x30d0a (10032cba)
10032c9d 8d047f lea eax,[edi+edi*2] ds:00000000=????????
10032ca0 c1e003 shl eax,0x3
10032ca3 8bd0 mov edx,eax
10032ca5 8b4518 mov eax,[ebp+0x18] ss:062ce90a=00000000
10032ca8 2bc2 sub eax,edx
10032caa 99 cdq
FAULT-> 10032cab f7fb idiv ebx
10032cad 0fbfd0 movsx edx,ax
10032cb0 eb0b jmp dsql_db_init+0x30d0d (10032cbd)
10032cb2 6a02 push 0x2
10032cb4 58 pop eax
10032cb5 e9df040000 jmp dsql_db_init+0x311e9 (10033199)
10032cba 6a01 push 0x1
10032cbc 5a pop edx
10032cbd 803dd95a1d1000 ds:101d5ad9=00
cmp byte ptr ,0x0
10032cc4 7409 jz dsql_db_init+0x30d1f (10032ccf)
10032cc6 833dac591d1006 ds:101d59ac=00000006
cmp dword ptr ,0x6
10032ccd 7416 jz dsql_db_init+0x30d35 (10032ce5)
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
031688dc 1000d5df 00000000 018b4eb8 00000000 00000001 dbmssslib!dsql_db_init
03168978 10001cb3 03f41f80 018b6470 018b4eb8 00000035 dbmssslib!dsql_db_init
031689c4 008f47dc 010035d0 00000035 00000001 018b6470 dbmssslib!DbSlVersion
031689f4 008f1120 00000001 00000000 3f2db20c 00000000 disp+work!
054fffb8 77e64829 03e7bf20 00000000 00000000 03e7bf20 MSVCRT!endthreadex
054fffec 00000000 77bcb4bc 03e7bf20 00000000 00000000 kernel32!GetModuleHandleA
List of ABAP programs affected
Type Program Gen. date time LoadSize RollSize
Prg RSGENYTT 17.11.2007 18:56:44 112 3 840 loade
Prg SAPMSSY0 26.03.2001 12:10:18 1 6 512 loade
Prg RSDBRUNT 26.03.2001 12:09:07 19 22 376 loade
Prg RSDBSPBL 26.03.2001 11:21:26 24 6 512 loade
Prg SAPDB__S 01.06.1999 12:10:01 36 1 408 loade
Prg RSDBSPMC 01.06.1999 12:09:54 34 7 728 loade
Typ DDSHDESCR 03.09.1997 03:05:16 955 048 loade
Typ SPPARAMS 07.05.1997 13:10:38 956 024 loade
Prg SAPLSABE 01.06.1999 12:10:15 100 1 288 loade
Prg SAPLSECU 04.04.2001 18:30:22 28 6 608 loade
Prg SAPMSSY3 26.03.2001 10:57:11 269 5 368 loade
Typ ABDBG 25.05.1999 15:31:57 716 1 360 loade
Prg SAPMSSYD 22.03.2001 18:03:09 12 1 336 loade
Prg SAPFSPOR 19.10.1999 09:39:27 59 216 loade
Prg SAPLSCNT 01.06.1999 12:10:15 15 2 624 loade
Prg SAPLSVSM 22.03.2001 17:23:10 61 2 552 loade
Prg SAPLSGUI 26.03.2001 12:08:56 4 3 768 loade
Prg SAPLSTTM 22.03.2001 15:09:40 2 5 392 loade
Prg SAPLSBDC 22.03.2001 15:09:07 6 6 560 loade
Prg CL_DATAPROVIDER=============== 22.03.2001 16:53:29 62 4 128 loade
Typ OBJ_RECORD 14.02.1998 08:30:43 883 048 loade
Prg SAPLSTUP 26.03.2001 11:45:52 16 9 160 loade
Prg SAPLCNDP 26.03.2001 10:57:04 3 15 744 loade
Prg SAPSHDTV 26.03.2001 11:45:07 14 3 864 loade
Prg SAPFGUICNTL 26.03.2001 10:42:02 10 1 408 loade
Prg CL_GUI_CFW==================== 26.03.2001 11:21:21 11 13 192 loade
Prg SAPLOLEA 17.11.2007 13:23:33 5 7 656 loade
Prg SAPLSFES 26.03.2001 12:08:50 7 10 544 loade
Prg SAPLGRFC 22.03.2001 15:08:46 60 1 384 loade
Prg SAPLSTRF 17.11.2007 13:23:33 217 10 424 loade
Prg SAPLSTFI 26.03.2001 12:10:04 216 5 296 loade
Prg SAPLSUGI 17.11.2007 18:56:44 673 35 280 loade
Typ PUTTB_SHD 17.11.2007 11:26:20 682 120 loade
Prg SAPLSUGN 17.11.2007 18:56:44 691 5 296 loade
Typ DDFTX 05.11.1997 02:52:59 224 072 loade
Prg SAPLSDNT 17.11.2007 18:56:44 135 18 368 loade
Prg SAPLSDB1 17.11.2007 11:26:20 114 6 464 loade
Prg SDB1FMSS 04.04.2001 18:30:57 113 4 104 loade
Typ DDXTT 17.11.2007 18:56:44 235 048 loade
Prg RDTCMPTB 17.11.2007 18:56:44 414 10 376 loade
Prg SAPLSDB2 17.11.2007 18:56:44 225 39 216 loade
Prg SAPLSDB3 17.11.2007 18:56:44 271 9 136 loade
Prg SAPLSDD0 17.11.2007 13:23:33 133 5 200 loade
Prg RADIXTOL 01.06.1999 12:09:34 150 2 504 loade
Prg SDB2FDBS 17.11.2007 17:43:27 215 11 784 loade
Prg SAPLSDD2 01.06.1999 12:10:16 237 3 888 loade
Prg SDB2FMSS 17.11.2007 17:43:27 190 17 152 loade
Typ UVERS 16.07.1997 14:46:33 347 072 loade
Typ DD092526V 20.08.1998 11:15:55 781 048 loade
Typ X030L 05.11.1997 03:07:56 709 096 loade
Prg RADBTOUT 01.06.1999 12:09:34 124 10 448 loade
Prg SAPCNVE 01.06.1999 12:10:01 101 168 loade
Prg SAPLSDAD 17.11.2007 18:56:44 935 71 752 loade
List of internal tables
Header of PROG=RSGENYTTDATA=GT_PROT[]
TABH+ 0(20) = 0000000000000000000000000000000000000000
TABH+ 20(20) = 0000000004000000500700000000000007000000
TABH+ 40(20) = 1E0000001E0000001E0000001E000000FFFFFFFF
TABH+ 60(20) = E3000000020000000403000018972D3F00000000
TABH+ 80(20) = 0000000000000000000000000000000000000000
TABH+100(12) = 000000000000000013000000
id = 19 (0x13000000)
fill = 7 (0x07000000)
lineAdmin = 30 (0x1E000000)
lineAlloc = 30 (0x1E000000)
tabi = 0x18972D3F
pghook = 0x00000000
index = 0x00000000
hshook = 0x00000000
btree = 0x00000000
reghook = 0x00000000
lopc = 0 (0x00000000)
occu = 30 (0x1E000000)
rank = 30 (0x1E000000)
loop = -1 (0xFFFFFFFF)
leng = 227 (0xE300)
fcnt = 0 (0x0000)
lock = 0
shrd = 0
access = 1 (stdAccess)
idxKind = 0 (noIndex)
unique = 2 (nonUnique)
cmpMode = 2 (cmpSingleMcmp)
pb_func = 0x00000000
pb_handle = 0x00000000
Directory of application tables (contents)
Program
Name.......... Contents.1........2........3....+....
Directory of data areas (administration information)
Program
No.. Name.......... Lgth Ofsg Type Next Gen date Gen time
SYST
L not assigned 751 0 IN
M /%_LISTTABLE 750 1 CO 0
T global stack 749 1 2 GL
RSGENYTT
A global data 0 3 DA
L constant dat 1 4 LI .0 .0472
L constant dat 2 5 LI .0 .0367
L not assigned 3 6 IN
L SYST 4 7 TA 00
L SY 5 8 TA
L RSJOBINFO 6 9 TA
M /%_SYS%% 7 0 CO
M field symbol 8 1 FS
M /%_SSCR 9 2 CO 0
L VARI 10 3 TA
L PUTTB_SHD 11 4 TA
L DDYTT 12 5 TA
L DDYTF 13 6 TA
M field symbol 14 7 FS
M field symbol 15 8 FS
M field symbol 16 9 FS
SAPMSSY0
A global data 0 0 DA
L constant dat 1 1 LI .0 .077E
L constant dat 2 2 LI .0 .06B8
L not assigned 3 3 IN
L SYST 4 4 TA
L SY 5 5 TA
L RSJOBINFO 6 6 TA
M /%_SYS%% 7 7 CO
M field symbol 8 8 FS
M /%_LISTTABLE 9 9 CO
M /%_SYS000 10 0 CO
L TFDIR 11 1 TA
M field symbol 12 2 FS
M field symbol 13 3 FS
L TRDIR 14 4 TA
L ABMSG 15 5 TA
M field symbol 16 6 FS
L text pool 17 7 TP
RSDBRUNT
A global data 0 8 DA
L constant dat 1 9 LI .0 .1B8A
L constant dat 2 0 LI .0 .1780
L not assigned 3 1 IN
L SYST 4 2 TA
L SY 5 3 TA
L RSJOBINFO 6 4 TA
M /%_SYS%% 7 5 CO
M field symbol 8 6 FS
M /%_SSCR 9 7 CO
L VARI 10 8 TA
L TRDIR 11 9 TA
L TUVID 12 0 TA
L RSVUVINT 13 1 TA
L VARID 14 2 TA
L DFIES 15 3 TA
L SSCRTEXTS 16 4 TA
L SSCRFIELDS 17 5 TA
M /%_DYN_SEL 18 6 CO
M /%_FIELD_SEL 19 7 CO
M /%_RUNT_XX_% 20 8 CO
M field symbol 21 9 FS
M field symbol 22 0 FS
M field symbol 23 1 FS
M field symbol 24 2 FS
M field symbol 25 3 FS
L text pool 26 4 TP
RSDBSPBL
A global data 0 5 DA
L constant dat 1 6 LI .0 .09CE
L constant dat 2 7 LI .0 .0908
L not assigned 3 8 IN
L SYST 4 9 TA
L SY 5 0 TA
L RSJOBINFO 6 1 TA
M /%_SYS%% 7 2 CO
M field symbol 8 3 FS
M /%_RUNT_XX_% 9 4 CO
L text pool 10 5 TP
SAPDB__S
A global data 0 6 DA
L constant dat 1 7 LI .0 .020D
L constant dat 2 8 LI .0 .01B0
L not assigned 3 9 IN
L SYST 4 0 TA
L SY 5 1 TA
L RSJOBINFO 6 2 TA
M /%_SYS%% 7 3 CO
M field symbol 8 4 FS
M /%_SSCR 9 5 CO
L VARI 10 6 TA
L text pool 11 7 TP
A global data 12 8 DA 0
RSDBSPMC
A global data 0 9 DA
L constant dat 1 0 LI .0 .0BD7
L constant dat 2 1 LI .0 .0AE8
L not assigned 3 2 IN
L SYST 4 3 TA
L SY 5 4 TA
L RSJOBINFO 6 5 TA
M /%_SYS%% 7 6 CO
M field symbol 8 7 FS
M /%_SSCR 9 8 CO
M /%_RUNT_XX_% 10 9 CO
1 L DD23L 11 0 TA
1 L DD23T 12 1 TA
1 L RSMDY 13 2 TA
1 M field symbol 14 3 FS
1 L text pool 15 4 TP
SAPLSABE
1 A global data 0 5 DA
1 L constant dat 1 6 LI .0 .014A
1 L constant dat 2 7 LI .0 .0101
1 L not assigned 3 8 IN
1 L SYST 4 9 TA
1 L SY 5 0 TA
1 L RSJOBINFO 6 1 TA
1 M /%_SYS%% 7 2 CO
1 M field symbol 8 3 FS
1 L TRDIR 9 4 TA
1 M field symbol 10 5 FS
1 L text pool 11 6 TP
SAPLSECU
1 A global data 0 7 DA
1 L constant dat 1 8 LI .0 .0918
1 L constant dat 2 9 LI .0 .070B
1 L not assigned 3 0 IN
1 L SYST 4 1 TA
1 L SY 5 2 TA
1 L RSJOBINFO 6 3 TA
1 M /%_SYS%% 7 4 CO
1 M field symbol 8 5 FS
1 L TSL1D 9 6 TA
1 L TPFYPROPTY 10 7 TA
1 M field symbol 11 8 FS
1 L text pool 12 9 TP
RSGENYTT
1 L ABDBG 127 0 TA
SAPMSSY3
1 A global data 0 1 DA
1 L constant dat 1 2 LI .0 .0A38
1 L constant dat 2 3 LI .0 .09BF
1 L not assigned 3 4 IN
1 L SYST 4 5 TA
1 L SY 5 6 TA
1 L RSJOBINFO 6 7 TA
1 M /%_SYS%% 7 8 CO
1 M field symbol 8 9 FS
1 M /%_LISTTABLE 9 0 CO
1 M /%_SYS000 10 1 CO
1 L ABDBG 11 2 TA
1 M field symbol 12 3 FS
1 Y 13 4 LA 0
1 Y 14 5 LA 0
1 Y 15 6 LA 0
1 Y 16 7 LA 0
1 Y 17 8 LA 0
1 Y 18 9 LA 0Hi lucio,
thanks for your quick answer, update of DW didn't work, here you are dev_w22 trace
trc file: "dev_w22", trc level: 1, release: "46D"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Mon Nov 19 18:30:29 2007
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
B Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
B Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
B New connection 0 created
M relno 4640
M patchlevel 0
M patchno 2352
M intno 0
M pid 5400
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc22 5400) [dpxxdisp.c 976]
I MtxInit: -2 0 0
I
I Mon Nov 19 18:30:31 2007
I *** ERROR => New Process with the same PID
ERROR_INVALID_ADDRESS: Attempt to access invalid address. [semnt.c 1513]
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
M <ES> Memory Reset enabled
X ES initialized.
M ThSysUsrCheck: clear T22
M calling db_connect ...
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 2328
C patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
C SQLOLEDB Provider Release:08.10.3959
C Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
C Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
C Connected to db server : [appserver], dbname: DEV, dbuser: dev
B Connection 0 opened
B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time
B 000 000 R/3 000000 ACTIVE NO YES NO 20071119 183031
M db_connect o.k.
I MtxInit: 22 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
X ES initialized.
B db_con_shm_ini: WP_ID = 22, WP_CNT = 31
B dbtbxbuf: Buffer TABL (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
B dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
B dbexpbuf: Buffer CUA (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
M rdisp/reinitialize_code_page -> 0
M rdisp/hold_keeps_time_slice -> 0
M rdisp/no_hooks_for_sqlbreak -> 0
M PfReadDBVersion: use compatibility mode for stat-files
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 07D86F10
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 0D760098
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 0D760798
S using messages for server info
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A Attached to PXA (address 28230040, size 154674K)
A abap/pxa = shared
A PXA INITIALIZATION FINISHED
A -PXA--
A
A RFC rfc/dump_client_info not set, use default -1
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok
M
M =================================================
M === SSF INITIALIZATION:
M ===...SSF Security Toolkit name SAPSECULIB .
M ===...SSF trace level is 0 .
M ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
M ===...SSF hash algorithm is SHA1 .
M ===...SSF symmetric encryption algorithm is DES-CBC .
M ===...sucessfully completed.
M =================================================
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
B
B Mon Nov 19 18:40:15 2007
B dbtran INFO (init_connection '<DEFAULT>' [MSSQL:46D.00]):
B max_blocking_factor = 50, max_in_blocking_factor = 255,
B min_blocking_factor = 5, min_in_blocking_factor = 10,
B prefer_union_all = 1, prefer_union_for_select_all = 0,
B prefer_fix_blocking = 0, prefer_in_itab_opt = 0,
B convert AVG = 1, alias table FUPD = 0,
B escape_as_literal = 0, opt GE LE to BETWEEN = 0,
B select * = 0x0,
B use_hints = abap->1, dbif->1, upto->0, rule_in->0,
B rule_fae->0, concat_fae->0, concat_fae_or->0
C The IRow interface is supported by this OLEDB provider
M
M Mon Nov 19 18:40:18 2007
M call semaphore clean-up function ...
M ***LOG Q0E=> DpSigGenHandler, Exception (c0000094) [dpnttool.c 390]
M -
C-STACK -
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Application exception occurred:
Exception : c0000094 (Divide by zero)
App : disp+work.EXE (pid=5400)
When : 11/19/2007 18:40:18.134
Threads : 2
Computer Name : APPSERVER
User Name : SAPServiceDEV
Number of Processors: 4
Processor Type: x86 Family 6 Model 15 Stepping 6
Windows Version : 5.2 Current Build: 3790
Stack Dump for Thread Id 151c
eax=0000a000 ebx=00000000 ecx=00000000 edx=00000000 esi=03f48b54 edi=00000000
eip=10032cab esp=031688b0 ebp=031688dc iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
function : <nosymbols>
10032c92 807d1400 cmp byte ptr [ebp+0x14],0x0 ss:062cfc7a=00
10032c96 7422 jz dsql_db_init+0x30d0a (10032cba)
10032c98 394e08 cmp [esi+0x8],ecx ds:070afef2=????????
10032c9b 751d jnz dsql_db_init+0x30d0a (10032cba)
10032c9d 8d047f lea eax,[edi+edi*2] ds:00000000=????????
10032ca0 c1e003 shl eax,0x3
10032ca3 8bd0 mov edx,eax
10032ca5 8b4518 mov eax,[ebp+0x18] ss:062cfc7a=00000000
10032ca8 2bc2 sub eax,edx
10032caa 99 cdq
FAULT-> 10032cab f7fb idiv ebx
10032cad 0fbfd0 movsx edx,ax
10032cb0 eb0b jmp dsql_db_init+0x30d0d (10032cbd)
10032cb2 6a02 push 0x2
10032cb4 58 pop eax
10032cb5 e9df040000 jmp dsql_db_init+0x311e9 (10033199)
10032cba 6a01 push 0x1
10032cbc 5a pop edx
10032cbd 803dd95a1d1000 ds:101d5ad9=00
cmp byte ptr [EndFastload+0x19644f (101d5ad9)],0x0
10032cc4 7409 jz dsql_db_init+0x30d1f (10032ccf)
10032cc6 833dac591d1006 ds:101d59ac=00000006
cmp dword ptr [EndFastload+0x196322 (101d59ac)],0x6
10032ccd 7416 jz dsql_db_init+0x30d35 (10032ce5)
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
031688dc 1000d5df 00000000 018b76f0 00000000 00000001 dbmssslib!dsql_db_init
03168978 10001cb3 03f41f90 018b8ca8 018b76f0 00000035 dbmssslib!dsql_db_init
031689c4 008f4765 010056b8 00000035 00000001 018b8ca8 dbmssslib!DbSlVersion
031689f4 008f10a9 00000001 00000000 3f26827c 00000000 disp+work!<nosymbols>
03168a74 008f05ff 00000000 3f26827c 00000000 3f2682ec disp+work!<nosymbols>
03168a9c 008a2873 00000000 018b769c 3f2682ec 00000000 disp+work!<nosymbols>
03168b48 0089ef88 00000000 3f26827c 3f2682ec 03168d0c disp+work!<nosymbols>
03168b5c 008a1714 3f261654 00000000 00000000 00000000 disp+work!<nosymbols>
03168d0c 0089d4ec 00000000 3f26827c 3f2682ec 00000000 disp+work!<nosymbols>
03168ea0 0061f5f7 00000000 3f26827c 3f2682ec ffffffff disp+work!<nosymbols>
03168edc 00616212 00000007 03168ef8 0316f130 00000000 disp+work!<nosymbols>
03168f1c 005bf6a0 00000008 29339f2c 00000000 3f2918e0 disp+work!<nosymbols>
0316f140 00629e43 00000000 00000000 0316f170 00000001 disp+work!<nosymbols>
00e5bc44 00000000 49444553 00000000 4f525f25 0000544f disp+work!<nosymbols>
Stack Dump for Thread Id 5f4
eax=00000001 ebx=00000103 ecx=7c829f59 edx=00380000 esi=00000000 edi=00000000
eip=7c8285ec esp=054ffc74 ebp=054ffcb8 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
function : KiFastSystemCallRet
7c8285ec c3 ret
7c8285ed 8da42400000000 lea esp,[esp] ss:054ffc74=7c8270fb
7c8285f4 8d642400 lea esp,[esp] ss:08667013=00000000
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
054ffcb8 00c3475c 00000688 00000000 00000000 03e7be00 ntdll!KiFastSystemCallRet
054fff84 77bcb530 00000000 00000000 00000000 03e7be98 disp+work!<nosymbols>
054fffb8 77e64829 03e7be98 00000000 00000000 03e7be98 MSVCRT!endthreadex
054fffec 00000000 77bcb4bc 03e7be98 00000000 00000000 kernel32!GetModuleHandleA
M -
M call clean-up function ...
M in_ThErrHandle: 1
M ThSigHandler: signal (step 4, th_errno 11, action 4)
M
M Info for wp 22
M
M stat = 4
M reqtype = 4
M act_reqtype = 4
M tid = 22
M mode = 0
M len = 24
M rq_id = 139
M rq_source = 1
M rq_info = 8576
M last_tid = 22
M last_mode = 0
M int_checked_resource = 0
M ext_checked_resource = 0
M report = > <
M action = 0
M tab_name = > <
M
M Modeinfo for User T22/M0
M
M tm state = 2
M uid = 23
M term type = 0x0
M display = 0x0
M cpic_no = 0
M cpic_idx = -1
M usr = >DDIC <
M terminal = > <
M client = >000<
M conversation_ID = > <
M appc_tm_conv_idx = -1
M blockSoftCanel = NO
M imode = 2
M mode state = 0x42
M mode clean_state = 1
M th_errno = 11
M rollout_reason = 0
M last_rollout_level = 7
M async_receives = 0
M cpic_receive = 0
M em handle = 1
M roll state = 4
M abap state = 4
M em state = 3
M eg state = 1
M spa state = 3
M enq state = 0
M next hook = T-1/U-1/M255
M master hook = T-1/U-1/M255
M slave hook = T-1/U-1/M255
M debug_tid = -1
M mode type = 0x1
M debug = 0
M tcode = > <
M client conversation_ID = > <
M server conversation_ID = > <
M lock = 0
M max enq infos = 0
M act enq infos = 0
M em_hyper_hdl = NULL
M
M
M *****************************************************************************
M *
M * LOCATION SAP-Server appserver_DEV_00 on host appserver (wp 22)
M * ERROR ThSigHandler: signal
M *
M * TIME Mon Nov 19 18:40:18 2007
M * RELEASE 46D
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 11
M * MODULE thxxhead.c
M * LINE 8628
M * COUNTER 1
M *
M *****************************************************************************
M
M Entering TH_CALL_HOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M Entering ThSetStatError
M *** WARNING => sql break failed (-1)
M ThErrHandle: don't try rollback again
M ThErrHandle: call ThrCoreInfo
A ** RABAX: level LEV_RX_ROLLBACK entered.
A ** RABAX: level LEV_RX_ROLLBACK completed.
A ** RABAX: level LEV_RX_DB_ALIVE entered.
A ** RABAX: level LEV_RX_DB_ALIVE completed.
A ** RABAX: level LEV_RX_HOOKS entered.
A ** RABAX: level LEV_RX_HOOKS completed.
A ** RABAX: level LEV_RX_STANDARD entered.
C HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
C RpcExec failed. HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
C HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
C RpcExec failed. HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
C retry with SQL statement string
A ** RABAX: level LEV_RX_STANDARD completed.
A ** RABAX: level LEV_RX_C_STACK entered.
A ** RABAX: level LEV_RX_C_STACK completed.
A ** RABAX: level LEV_RX_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_INTERFACES entered.
A ** RABAX: level LEV_RX_INTERFACES completed.
A ** RABAX: level LEV_RX_GET_MESS entered.
A ** RABAX: level LEV_RX_GET_MESS completed.
A ** RABAX: level LEV_RX_INIT_SNAP entered.
A ** RABAX: level LEV_RX_INIT_SNAP completed.
A ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
A ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
A ** RABAX: level LEV_RX_WRITE_SNAP entered.
A ** RABAX: level LEV_SN_END completed.
A ** RABAX: level LEV_RX_SET_ALERT entered.
A ** RABAX: level LEV_RX_SET_ALERT completed.
A ** RABAX: level LEV_RX_COMMIT entered.
A ** RABAX: level LEV_RX_COMMIT completed.
A ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
A ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
A ** RABAX: level LEV_RX_RESET_PROGS entered.
A ** RABAX: level LEV_RX_RESET_PROGS completed.
A ** RABAX: level LEV_RX_STDERR entered.
A ** RABAX: level LEV_RX_STDERR completed.
A ** RABAX: level LEV_RX_RFC_ERROR entered.
A ** RABAX: level LEV_RX_RFC_ERROR completed.
A ** RABAX: level LEV_RX_RFC_CLOSE entered.
A ** RABAX: level LEV_RX_RFC_CLOSE completed.
A ** RABAX: level LEV_RX_IMC_ERROR entered.
A ** RABAX: level LEV_RX_IMC_ERROR completed.
A ** RABAX: level LEV_RX_DATASET_CLOSE entered.
A ** RABAX: level LEV_RX_DATASET_CLOSE completed.
A ** RABAX: level LEV_RX_ERROR_SAVE entered.
A ** RABAX: level LEV_RX_ERROR_SAVE completed.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
A ** RABAX: level LEV_RX_END entered.
A ** RABAX: level LEV_RX_END completed.
A ** RABAX: end RX_RETURN
M ThIErrHandle: Entering ThErrHdlUser
M ThErrHdlUser: set th_errno (11)
M ThErrHdlUser: save context
B Disconnecting from ALL connections:
B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time
B 022 000 R/3 000000 ACTIVE YES YES NO 20071119 183031
B Disconnected from connection 0
B statistics db_con_commit (com_total=5, com_forced=1, com_tx=1)
B statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
M ***LOG Q02=> wp_halt, WPStop (Workproc22 5400) [dpnttool.c 310]
M return from clean-up function ...
trc file: "dev_w22", trc level: 1, release: "46D"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Mon Nov 19 18:40:34 2007
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
B Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
B Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
B New connection 0 created
M relno 4640
M patchlevel 0
M patchno 2352
M intno 0
M pid 432
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc22 432) [dpxxdisp.c 976]
I MtxInit: -2 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
M <ES> Memory Reset enabled
X ES initialized.
M calling db_connect ...
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 2328
C patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
C SQLOLEDB Provider Release:08.10.3959
C Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
C Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
C Connected to db server : [appserver], dbname: DEV, dbuser: dev
B Connection 0 opened
B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time
B 000 000 R/3 000000 ACTIVE NO YES NO 20071119 184034
M db_connect o.k.
I MtxInit: 22 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
X ES initialized.
B db_con_shm_ini: WP_ID = 22, WP_CNT = 31
B dbtbxbuf: Buffer TABL (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
B dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
B dbexpbuf: Buffer CUA (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
M rdisp/reinitialize_code_page -> 0
M rdisp/hold_keeps_time_slice -> 0
M rdisp/no_hooks_for_sqlbreak -> 0
M PfReadDBVersion: use compatibility mode for stat-files
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 07D86BF0
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 0D760098
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 0D760798
S using messages for server info
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A Attached to PXA (address 28230040, size 154674K)
A abap/pxa = shared
A PXA INITIALIZATION FINISHED
A -PXA--
A
A RFC rfc/dump_client_info not set, use default -1
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok
M
M =================================================
M === SSF INITIALIZATION:
M ===...SSF Security Toolkit name SAPSECULIB .
M ===...SSF trace level is 0 .
M ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
M ===...SSF hash algorithm is SHA1 .
M ===...SSF symmetric encryption algorithm is DES-CBC .
M ===...sucessfully completed.
M =================================================
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
M ThCheckPrevUser: clean previous user T22/U23/M0/I2
M
M Modeinfo for User T22/M0
M
M tm state = 2
M uid = 23
M term type = 0x0
M display = 0x0
M cpic_no = 0
M cpic_idx = -1
M usr = >DDIC <
M terminal = > <
M client = >000<
M conversation_ID = > <
M appc_tm_conv_idx = -1
M blockSoftCanel = NO
M imode = 2
M mode state = 0x42
M mode clean_state = 1
M th_errno = 11
M rollout_reason = 0
M last_rollout_level = 7
M async_receives = 0
M cpic_receive = 0
M em handle = 1
M roll state = 3
M abap state = 3
M em state = 2
M eg state = 1
M spa state = 3
M enq state = 0
M next hook = T-1/U-1/M255
M master hook = T-1/U-1/M255
M slave hook = T-1/U-1/M255
M debug_tid = -1
M mode type = 0x1
M debug = 0
M tcode = > <
M client conversation_ID = > <
M server conversation_ID = > <
M lock = 0
M max enq infos = 0
M act enq infos = 0
M em_hyper_hdl = NULL
M
M ThCheckPrevUser: reset spa state for user T22/U23/M0
M LOCK WP ca_blk 216
M LOCK APPC ca_blk 72
M set task type ZTTABTC
M ThCleanPrevUser: clean U23 T22 M0 I2 clean state DP_DEFAULT_CLEANING from previous wp
M ThCleanPrevUser: saved MODE_REC = 40
M PfStatDisconnect: disconnect statistics
M ThCheckEmState: check ATTACH for em hdl 1
M ThCheckEmState: call EmContextAttach (em_hdl=1)
M ThIAMDel: delete tid/mode 22/0 (th_errno 23, release 1)
M ThTSCancel: set T22 M0 in status MODE_CANCEL
M ThIDeleteMode (22, 0, 3, ><, 0, 255, TRUE)
M ThIDeleteMode: no modes found ..
M no sub modes
M ThSUsrDel: delete system user
M ThSUsrDel: clean batch after error (23)
C The IRow interface is supported by this OLEDB provider
M ThScheduler: server name: appserver_DEV_00
M ThISendMsg: send message (5) to server (wp) with name >appserver_DEV_00 <
M ThISndName: send to name: >appserver_DEV_00 <
M ThISend: (tm/user/type = 22/DDIC /0x2000, mode_deleted=0)
M MSG_NAME
M ThRqOutCheck: o.k.
M abap strategy ROLL / O.K.
M ThNewWpStat: new state of T22/M0 = 0xc2
M ThISend: new wp stat: 0x0
M Adresse Offset Message by name (one way)
M -
M 0639A0C0 000000 00000000 05000000 255f4556 454e545f |........%%_EVENT_|
M 0639A0D0 000016 53434845 44554c45 52002020 20202020 |SCHEDULER. |
M -
M ThMkReq: send output to canceled mode
M make DISP owner of wp_ca_blk 216
M put request into queue (reqtype 0, prio LOW, rq_id 158)
M -OUT- sender_id WORK_PROCESS tid 22 wp_ca_blk 216 wp_id 22
M -OUT- action SEND_MSG_ONEWAY uid 23 appc_ca_blk -1 type NOWP
M -OUT- new_stat NO_CHANGE mode 0 len 268 rq_id 158
M -OUT- forward DIA
M -OUT- req_info CANCELMODE MSG_WITH_REQ_BUF MSG_WITH_OH
M NiPHostToAddr: read hostaddr 127.0.0.1 from operating system
M NiIHostToAddr: hostname localhost = addr 127.0.0.1
M NiPServToNo: read servno 3200 from operating system
M NiIServToNo: servicename sapdp00 = port 0C.80/3200
M NiCreateHandle: state nihandle-socket 1-1024 NI_INITIAL
M NiIDgSend: init datagram send_handle 1-1024
M CPU byte order: little endian, reverse network, low val .. high val
M NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
M LOCK WP ca_blk 217
M ThResFree: free resources of U23 M0 I2 (normal mode, complete free) at level 3, db_action=TH_DB_NO_ACTION
M ThResFree: reset spa state for user T22/U23/M0
M ThCallHooks: call hook >SpoolHandleHook< for event SOS_HOOK_BEFORE_SESSION_CANCEL
M PfStatDisconnect: disconnect statistics
M ThDealComm: T22/U23/M0 has no cpic conns
M ***LOG R47=> ThResFree, delete (001023) [thxxmode.c 1099]
M ThGetEnqInfo: no enq info found
M ThVBIRollBack: initialize TH-hooks
M SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_COMMIT
M SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_ROLLBACK
M ThRmLocQueue: no async request found
M ThInvalidateRfcCliId: invalidate RfcCliId at 5DA68C48
M ThRmFree: cleanup resources for T22 M0
M RmCleanUpResources2: hdr/tbl/ext_tbl = 04037058/00000000/0
M RmCleanUpResources2: no resources registered
M ThRmFree: reset eg state of T22 M0
M ThRmFree cleanup resources for T22
M RmCleanUpResources2: hdr/tbl/ext_tbl = 04037BB8/5DA68D20/1
M RmCleanUpResources2: call resource handler 0047A981 for key/entry 3/0
M ThFreeRollMemory: release eg adr 5DA68C48 for T22
M RmInitResourceTblEntry: free resource description at 5DA693A8 (ext_tbl=1)
M ThFreeRollMemory: release eg adr 5DA693A8 for T22
M RmIFreeTable: free resource table at 5DA68D20 (ext_tbl=1)
M ThFreeRollMemory: release eg adr 5DA68D20 for T22
M ThRmFree: reset eg state of T22
M ThEmFree: call EmContextDelete (em_hdl=1)
M ThResFree: save spa pointer 7FDCE7E0 and install dummy spa
M ThCheckComOrRb (event=1, full_commit=1)
M ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
M ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
M ThCheckComOrRb (event=3, full_commit=1)
M ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_COMMIT
M ThVBICmRbHook: called for commit
M ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
M ThNoClearPrevErr: clear prev no err
M ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
M ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
M ThISend: (tm/user/type = 22/SAPSYS /0x41, mode_deleted=1)
M TASK_SWITCH
M DISP
M ThRqOutCheck: o.k.
M ThISend: allowed rq_type of T22/M0 = 0
M abap strategy ROLL / O.K.
M ThNewWpStat: new MODE_REC = 40
M ThNewWpStat: new state of T22/M0 = 0xc1
M ThISend: new wp stat: 0x2
M ThMkReq: send output to canceled mode
M ThISend: complete stat record
M make DISP owner of wp_ca_blk 217
M put request into queue (reqtype 0, prio LOW, rq_id 159)
M -OUT- sender_id WORK_PROCESS tid 22 wp_ca_blk 217 wp_id 22
M -OUT- action SEND_TO_DP uid 23 appc_ca_blk -1 type NOWP
M -OUT- new_stat WP_WAIT mode 0 len 8 rq_id 159
M -OUT- req_info CANCELMODE
M NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
M REL APPC ca_blk 72
M ThISend: th_wp_waits_for_rq = TH_WP_WAITS_FOR_RQPfClearAllRec: clear statistic area
M PfStatDisconnect: disconnect statistics
M ThSysUsrCheck(1,1): check system user T22/U23/M0
M ThSysUsrCheck: clear T22
M DpITmSlotClear: clear slot 22
M DpListRemove: elem 22 not in tmadm_free_list
M DpListInsert: elem 22 already in tmadm_inuse_list
M rdisp/wp_auto_restart = 0
M rdisp/wp_abap_restart = 0
M ThSetThToolParam : restartable_wp[0] = FALSE
M ThSetThToolParam : restartable_wp[1] = TRUE
M ThSetThToolParam : restartable_wp[2] = TRUE
M ThSetThToolParam : restartable_wp[3] = FALSE
M ThSetThToolParam : restartable_wp[4] = TRUE
M ThSetThToolParam : restartable_wp[5] = TRUE
M ThSetThToolParam : restartable_wp[6] = TRUE
M ThCallHooks: call hook >HttpResetPtr< for event BEFORE_TASK_SWITCH
M TskhLoop: switch back to normal tracel level 1
B
B Mon Nov 19 20:15:39 2007
B dbtran INFO (init_connection '<DEFAULT>' [MSSQL:46D.00]):
B max_blocking_factor = 50, max_in_blocking_factor = 255,
B min_blocking_factor = 5, min_in_blocking_factor = 10,
B prefer_union_all = 1, prefer_union_for_select_all = 0,
B prefer_fix_blocking = 0, prefer_in_itab_opt = 0,
B convert AVG = 1, alias table FUPD = 0,
B escape_as_literal = 0, opt GE LE to BETWEEN = 0,
B select * = 0x0,
B use_hints = abap->1, dbif->1, upto->0, rule_in->0,
B rule_fae->0, concat_fae->0, concat_fae_or->0
M call semaphore clean-up function ...
M ***LOG Q0E=> DpSigGenHandler, Exception (c0000094) [dpnttool.c 390]
M -
C-STACK -
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Application exception occurred:
Exception : c0000094 (Divide by zero)
App : disp+work.EXE (pid=432)
When : 11/19/2007 20:15:39.822
Threads : 2
Computer Name : APPSERVER
User Name : SAPServiceDEV
Number of Processors: 4
Processor Type: x86 Family 6 Model 15 Stepping 6
Windows Version : 5.2 Current Build: 3790
Stack Dump for Thread Id 10c8
eax=0000a000 ebx=00000000 ecx=00000000 edx=00000000 esi=03f48b44 edi=00000000
eip=10032cab esp=031688b0 ebp=031688dc iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
function : <nosymbols>
10032c92 807d1400 cmp byte ptr [ebp+0x14],0x0 ss:062cfc7a=00
10032c96 7422 jz dsql_db_init+0x30d0a (10032cba)
10032c98 394e08 cmp [esi+0x8],ecx ds:070afee2=????????
10032c9b 751d jnz dsql_db_init+0x30d0a (10032cba)
10032c9d 8d047f lea eax,[edi+edi*2] ds:00000000=????????
10032ca0 c1e003 shl eax,0x3
10032ca3 8bd0 mov edx,eax
10032ca5 8b4518 mov eax,[ebp+0x18] ss:062cfc7a=00000000
10032ca8 2bc2 sub eax,edx
10032caa 99 cdq
FAULT-> 10032cab f7fb idiv ebx
10032cad 0fbfd0 movsx edx,ax
10032cb0 eb0b jmp dsql_db_init+0x30d0d (10032cbd)
10032cb2 6a02 push 0x2
10032cb4 58 pop eax
10032cb5 e9df040000 jmp dsql_db_init+0x311e9 (10033199)
10032cba 6a01 push 0x1
10032cbc 5a pop edx
10032cbd 803dd95a1d1000 ds:101d5ad9=00
cmp byte ptr [EndFastload+0x19644f (101d5ad9)],0x0
10032cc4 7409 jz dsql_db_init+0x30d1f (10032ccf)
10032cc6 833dac591d1006 ds:101d59ac=00000006
cmp dword ptr [EndFastload+0x196322 (101d59ac)],0x6
10032ccd 7416 jz dsql_db_init+0x30d35 (10032ce5)
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
031688dc 1000d5df 00000000 018b76f0 00000000 00000001 dbmssslib!dsql_db_init
03168978 10001cb3 03f41f80 018b8ca8 018b76f0 00000035 dbmssslib!dsql_db_init
031689c4 008f4765 010056b8 00000035 00000001 018b8ca8 dbmssslib!DbSlVersion
031689f4 008f10a9 00000001 00000000 3f26827c 00000000 disp+work!<nosymbols>
03168a74 008f05ff 00000000 3f26827c 00000000 3f2682ec disp+work!<nosymbols>
03168a9c 008a2873 00000000 018b769c 3f2682ec 00000000 disp+work!<nosymbols>
03168b48 0089ef88 00000000 3f26827c 3f2682ec 03168d0c disp+work!<nosymbols>
03168b5c 008a1714 3f261654 00000000 00000000 00000000 disp+work!<nosymbols>
03168d0c 0089d4ec 00000000 3f26827c 3f2682ec 00000000 disp+work!<nosymbols>
03168ea0 0061f5f7 00000000 3f26827c 3f2682ec ffffffff disp+work!<nosymbols>
03168edc 00616212 00000007 03168ef8 0316f130 00000000 disp+work!<nosymbols>
03168f1c 005bf6a0 00000008 29339f2c 00000000 3f2918e0 disp+work!<nosymbols>
0316f140 00629e43 00000000 00000000 0316f170 00000001 disp+work!<nosymbols>
00e5bc44 00000000 49444553 00000000 4f525f25 0000544f disp+work!<nosymbols>
Stack Dump for Thread Id 10c4
eax=00000001 ebx=00000103 ecx=7c829f59 edx=00380000 esi=00000000 edi=00000000
eip=7c8285ec esp=054ffc74 ebp=054ffcb8 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
function : KiFastSystemCallRet
7c8285ec c3 ret
7c8285ed 8da42400000000 lea esp,[esp] ss:054ffc74=7c8270fb
7c8285f4 8d642400 lea esp,[esp] ss:08667013=00000000
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
054ffcb8 00c3475c 00000688 00000000 00000000 03e7bdf0 ntdll!KiFastSystemCallRet
054fff84 77bcb530 00000000 00000000 00000000 03e7be88 disp+work!<nosymbols>
054fffb8 77e64829 03e7be88 00000000 00000000 03e7be88 MSVCRT!endthreadex
054fffec 00000000 77bcb4bc 03e7be88 00000000 00000000 kernel32!GetModuleHandleA
M -
M call clean-up function ...
M in_ThErrHandle: 1
M ThSigHandler: signal (step 4, th_errno 11, action 4)
M
M Info for wp 22
M
M stat = 4
M reqtype = 4
M act_reqtype = 4
M tid = 22
M mode = 0
M len = 24
M rq_id = 1131
M rq_source = 1
M rq_info = 8576
M last_tid = 22
M last_mode = 0
M int_checked_resource = 0
M ext_checked_resource = 0
M report = > <
M action = 0
M tab_name = > <
M
M Modeinfo for User T22/M0
M
M tm state = 2
M uid = 23
M term type = 0x0
M display = 0x0
M cpic_no = 0
M cpic_idx = -1
M usr = >DDIC <
M terminal = > <
M client = >000<
M conversation_ID = > <
M appc_tm_conv_idx = -1
M blockSoftCanel = NO
M imode = 2
M mode state = 0x42
M mode clean_state = 1
M th_errno = 11
M rollout_reason = 0
M last_rollout_level = 7
M async_receives = 0
M cpic_receive = 0
M em handle = 1
M roll state = 4
M abap state = 4
M em state = 3
M eg state = 1
M spa state = 3
M enq state = 0
M next hook = T-1/U-1/M255
M master hook = T-1/U-1/M255
M slave hook = T-1/U-1/M255
M debug_tid = -1
M mode type = 0x1
M debug = 0
M tcode = > <
M client conversation_ID = > <
M server conversation_ID = > <
M lock = 0
M max enq infos = 0
M act enq infos = 0
M em_hyper_hdl = NULL
M
M
M *****************************************************************************
M *
M * LOCATION SAP-Server appserver_DEV_00 on host appserver (wp 22)
M * ERROR ThSigHandler: signal
M *
M * TIME Mon Nov 19 20:15:39 2007
M * RELEASE 46D
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 11
M * MODULE thxxhead.c
M * LINE 8628
M * COUNTER 1
M *
M *****************************************************************************
M
M Entering TH_CALL_HOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M Entering ThSetStatError
M *** WARNING => sql break failed (-1)
M ThErrHandle: don't try rollback again
M ThErrHandle: call ThrCoreInfo
A ** RABAX: level LEV_RX_ROLLBACK entered.
A ** RABAX: level LEV_RX_ROLLBACK completed.
A ** RABAX: level LEV_RX_DB_ALIVE entered.
A ** RABAX: level LEV_RX_DB_ALIVE completed.
A ** RABAX: level LEV_RX_HOOKS entered.
A ** RABAX: level LEV_RX_HOOKS completed.
A ** RABAX: level LEV_RX_STANDARD entered.
C HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
C RpcExec failed. HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
C retry with SQL statement string
A ** RABAX: level LEV_RX_STANDARD completed.
A ** RABAX: level LEV_RX_C_STACK entered.
A ** RABAX: level LEV_RX_C_STACK completed.
A ** RABAX: level LEV_RX_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_INTERFACES entered.
A ** RABAX: level LEV_RX_INTERFACES completed.
A ** RABAX: level LEV_RX_GET_MESS entered.
A ** RABAX: level LEV_RX_GET_MESS completed.
A ** RABAX: level LEV_RX_INIT_SNAP entered.
A ** RABAX: level LEV_RX_INIT_SNAP completed.
A ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
A ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
A ** RABAX: level LEV_RX_WRITE_SNAP entered.
A ** RABAX: level LEV_SN_END completed.
A ** RABAX: level LEV_RX_SET_ALERT entered.
A ** RABAX: level LEV_RX_SET_ALERT completed.
A ** RABAX: level LEV_RX_COMMIT entered.
A ** RABAX: level LEV_RX_COMMIT completed.
A ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
A ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
A ** RABAX: level LEV_RX_RESET_PROGS entered.
A ** RABAX: level LEV_RX_RESET_PROGS completed.
A ** RABAX: level LEV_RX_STDERR entered.
A ** RABAX: level LEV_RX_STDERR completed.
A ** RABAX: level LEV_RX_RFC_ERROR entered.
A ** RABAX: level LEV_RX_RFC_ERROR completed.
A ** RABAX: level LEV_RX_RFC_CLOSE entered.
A ** RABAX: level LEV_RX_RFC_CLOSE completed.
A ** RABAX: level LEV_RX_IMC_ERROR entered.
A ** RABAX: level LEV_RX_IMC_ERROR completed.
A ** RABAX: level LEV_RX_DATASET_CLOSE entered.
A ** RABAX: level LEV_RX_DATASET_CLOSE completed.
A ** RABAX: level LEV_RX_ERROR_SAVE entered.
A ** RABAX: level LEV_RX_ERROR_SAVE completed.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
A ** RABAX: level LEV_RX_END entered.
A ** RABAX: level LEV_RX_END completed.
A ** RABAX: end RX_RETURN
M ThIErrHandle: Entering ThErrHdlUser
M ThErrHdlUser: set th_errno (11)
M ThErrHdlUser: save context
B Disconnecting from ALL connections:
B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time
B 022 000 R/3 000000 ACTIVE YES YES NO 20071119 184034
B Disconnected from connection 0
B statistics db_con_commit (com_total=6, com_forced=2, com_tx=2)
B statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
M ***LOG Q02=> wp_halt, WPStop (Workproc22 432) [dpnttool.c 310]
M return from clean-up function ...
trc file: "dev_w22", trc level: 1, release: "46D"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Mon Nov 19 20:15:54 2007
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
B Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
B Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
B New connection 0 created
M relno 4640
M patchlevel 0
M patchno 2352
M intno 0
M pid 4492
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc22 4492) [dpxxdisp.c 976]
I MtxInit: -2 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
M <ES> Memory Reset enabled
X ES initialized.
M calling db_connect ...
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 2328
C patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
C SQLOLEDB Provider Release:08.10.3959
C Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
C Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
C Connected to db server : [appserver], dbname: DEV, dbuser: dev
B Connection 0 opened
B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time
B 000 000 R/3 000000 ACTIVE NO YES NO 20071119 201554
M db_connect o.k.
I MtxInit: 22 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 22 initializing ....
X Using implementation std
X ES initialized.
B db_con_shm_ini: WP_ID = 22, WP_CNT = 31
B dbtbxbuf: Buffer TABL (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
B dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
B dbexpbuf: Buffer CUA (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
M rdisp/reinitialize_code_page -> 0
M rdisp/hold_keeps_time_slice -> 0
M rdisp/no_hooks_for_sqlbreak -> 0
M PfReadDBVersion: use compatibility mode for stat-files
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 07D86BF0
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 0D760098
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 0D760798
S using messages for server info
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A Attached to PXA (address 28230040, size 154674K)
A abap/pxa = shared
A PXA INITIALIZATION FINISHED
A -PXA--
A
A RFC rfc/dump_client_info not set, use default -1
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok
M
M =================================================
M === SSF INITIALIZATION:
M ===...SSF Security Toolkit name SAPSECULIB .
M ===...SSF trace level is 0 .
M ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
M ===...SSF hash algorithm is SHA1 .
M ===...SSF symmetric encryption algorithm is DES-CBC .
M ===...sucessfully completed.
M =================================================
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
M ThCheckPrevUser: clean previous user T22/U23/M0/I2
M
M Modeinfo for User T22/M0
M
M tm state = 2
M uid = 23
M term type = 0x0
M display = 0x0
M cpic_no = 0
M cpic_idx = -1
M usr = >DDIC <
M terminal = > <
M client = >000<
M conversation_ID = > <
M appc_tm_conv_idx = -1
M blockSoftCanel = NO
M imode = 2
M mode state = 0x42
M mode clean_state = 1
M th_errno = 11
M rollout_reason = 0
M last_rollout_level = 7
M async_receives = 0
M cpic_receive = 0
M em handle = 1
M roll state = 3
M abap state = 3
M em state = 2
M eg state = 1
M spa state = 3
M enq state = 0
M next hook = T-1/U-1/M255
M master hook = T-1/U-1/M255
M slave hook = T-1/U-1/M255
M debug_tid = -1
M mode type = 0x1
M debug = 0
M tcode = > <
M client conversation_ID = > <
M server conversation_ID = > <
M lock = 0
M max enq infos = 0
M act enq infos = 0
M em_hyper_hdl = NULL
M
M ThCheckPrevUser: reset spa state for user T22/U23/M0
M LOCK WP ca_blk 216
M LOCK APPC ca_blk 72
M set task type ZTTABTC
M ThCleanPrevUser: clean U23 T22 M0 I2 clean state DP_DEFAULT_CLEANING from previous wp
M ThCleanPrevUser: saved MODE_REC = 40
M PfStatDisconnect: disconnect statistics
M ThCheckEmState: check ATTACH for em hdl 1
M ThCheckEmState: call EmContextAttach (em_hdl=1)
M ThIAMDel: delete tid/mode 22/0 (th_errno 23, release 1)
M ThTSCancel: set T22 M0 in status MODE_CANCEL
M ThIDeleteMode (22, 0, 3, ><, 0, 255, TRUE)
M ThIDeleteMode: no modes found ..
M no sub modes
M ThSUsrDel: delete system user
M ThSUsrDel: clean batch after error (23)
C The IRow interface is supported by this OLEDB provider
M ThScheduler: server name: appserver_DEV_00
M ThISendMsg: send message (5) to server (wp) with name >appserver_DEV_00 <
M ThISndName: send to name: >appserver_DEV_00 <
M ThISend: (tm/user/type = 22/DDIC /0x2000, mode_deleted=0)
M MSG_NAME
M ThRqOutCheck: o.k.
M abap strategy ROLL / O.K.
M ThNewWpStat: new state of T22/M0 = 0xc2
M ThISend: new wp stat: 0x0
M Adresse Offset Message by name (one way)
M -
M 0639A0C0 000000 00000000 05000000 255f4556 454e545f |........%%_EVENT_|
M 0639A0D0 000016 53434845 44554c45 52002020 20202020 |SCHEDULER. |
M -
M ThMkReq: send output to canceled mode
M make DISP owner of wp_ca_blk 216
M put request into queue (reqtype 0, prio LOW, rq_id 1165)
M -OUT- sender_id WORK_PROCESS tid 22 wp_ca_blk 216 wp_id 22
M -OUT- action SEND_MSG_ONEWAY uid 23 appc_ca_blk -1 type NOWP
M -OUT- new_stat NO_CHANGE mode 0 len 268 rq_id 1165
M -OUT- forward DIA
M -OUT- req_info CANCELMODE MSG_WITH_REQ_BUF MSG_WITH_OH
M NiPHostToAddr: read hostaddr 127.0.0.1 from operating system
M NiIHostToAddr: hostname localhost = addr 127.0.0.1
M NiPServToNo: read servno 3200 from operating system
M NiIServToNo: servicename sapdp00 = port 0C.80/3200
M NiCreateHandle: state nihandle-socket 1-1024 NI_INITIAL
M NiIDgSend: init datagram send_handle 1-1024
M CPU byte order: little endian, reverse network, low val .. high val
M NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
M LOCK WP ca_blk 217
M ThResFree: free resources of U23 M0 I2 (normal mode, complete free) at level 3, db_action=TH_DB_NO_ACTION
M ThResFree: reset spa state for user T22/U23/M0
M ThCallHooks: call hook >SpoolHandleHook< for event SOS_HOOK_BEFORE_SESSION_CANCEL
M PfStatDisconnect: disconnect statistics
M ThDealComm: T22/U23/M0 has no cpic conns
M ***LOG R47=> ThResFree, delete (001023) [thxxmode.c 1099]
M ThGetEnqInfo: no enq info found
M ThVBIRollBack: initialize TH-hooks
M SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_COMMIT
M SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_ROLLBACK
M ThRmLocQueue: no async request found
M ThInvalidateRfcCliId: invalidate RfcCliId at 5DA68C48
M ThRmFree: cleanup resources for T22 M0
M RmCleanUpResources2: hdr/tbl/ext_tbl = 04037058/00000000/0
M RmCleanUpResources2: no resources registered
M ThRmFree: reset eg state of T22 M0
M ThRmFree cleanup resources for T22
M RmCleanUpResources2: hdr/tbl/ext_tbl = 04037BB8/5DA68D20/1
M RmCleanUpResources2: call resource handler 0047A981 for key/entry 3/0
M ThFreeRollMemory: release eg adr 5DA68C48 for T22
M RmInitResourceTblEntry: free resource description at 5DA693A8 (ext_tbl=1)
M ThFreeRollMemory: release eg adr 5DA693A8 for T22
M RmIFreeTable: free resource table at 5DA68D20 (ext_tbl=1)
M ThFreeRollMemory: release eg adr 5DA68D20 for T22
M ThRmFree: reset eg state of T22
M ThEmFree: call EmContextDelete (em_hdl=1)
M ThResFree: save spa pointer 7FDCE7E0 and install dummy spa
M ThCheckComOrRb (event=1, full_commit=1)
M ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
M ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
M ThCheckComOrRb (event=3, full_commit=1)
M ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_COMMIT
M ThVBICmRbHook: called for commit
M ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
M ThNoClearPrevErr: clear prev no err
M ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
M ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
M ThISend: (tm/user/type = 22/SAPSYS /0x41, mode_deleted=1)
M TASK_SWITCH
M DISP
M ThRqOutCheck: o.k.
M ThISend: allowed rq_type of T22/M0 = 0
M abap strategy ROLL / O.K.
M ThNewWpStat: new MODE_REC = 40
M ThNewWpStat: new state of T22/M0 = 0xc1
M ThISend: new wp stat: 0x2
M ThMkReq: send output to canceled mode
M ThISend: complete stat record
M make DISP owner of wp_ca_blk 217
M put request into queue (reqtype 0, prio LOW, rq_id 1166)
M -OUT- sender_id WORK_PROCESS tid 22 wp_ca_blk 217 wp_id 22
M -OUT- action SEND_TO_DP uid 23 appc_ca_blk -1 type NOWP
M -OUT- new_stat WP_WAIT mode 0 len 8 rq_id 1166
M -OUT- req_info CANCELMODE
M NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
M -
Investigation on JVM crash without core dump (by JIT compiler)
Hi, All
I posted "JVM crash without core dump due to CompilerThread1" couple months ago.
http://forum.java.sun.com/thread.jspa?threadID=5253434
I would like show what we found, and ask couple questions
1) The reason of JVM crash is "CompilerThread0/1 wanted to allocate more native memory and eventually exceeded the limit of 32-bit Linux (on Redhat, the limit of VIRT is 3G)
2) After we lower the heap size (to reduce process size) and added process size monitor (track process size every minute) and JIT compilation log (-XX:+PrintCompilation),
We found sometimes JVM process jumped more than 800M when compiling one method. with the following log
Total time for which application threads were stopped: 0.1997400 seconds
5828 xxx.xxx.SomeClass::someMethod (1507 bytes)
5828 COMPILE SKIPPED: out of nodes during split (not retryable)
549002.449: [GC [PSYoungGen: 517897K->28390K(551296K)] 942855K->453348K(1229952K), 0.0726350 secs]
if we saw "COMPILE SKIPPED: out of nodes during split (not retryable)", the process size of JVM (VIRT/RES) always jumped 800M~1000M, and sometimes the memory get reverted in 30mins to couple hours, and sometimes it lasted forever. (so before we have larger footprint, this jump will kill JVM, right now, if the jump lasts forever, any more allocation on top of it also can kill jvm (much rare))
3) This is definitely a bug of JVM, because
it only happened on server mode, not client mode
it is random, that method can be compiled success on other JVM or next restart (we have 20 JVMs)
the method is not that complicate, like 100 lines, (bigger method gets compiled success)
this only happen on PROD environment, we can't reproduce it locally or QA (the method is always compiled success)
It mostly like under some condition (maybe node space is not enough), to compile that method will trigger JVM trying to allocate much more native memory.
4) We are going to disable this method by ".hotspot_compiler" to fix it, right now we are using lower footprint, JVM dies rarely.
+To understand more about this, I have some questions about JIT compiling+
I saw same method are compiled more than once from JIT log, like the method caused our problem, it only happens on 2nd time compilation.
Is it that JIT compiler will recompile the method with deeper optimization level some time, and more optimization it uses, the more memory it requires?
(like gcc has -O2 -O3)
Thanks!
NeoToday, one JVM crashed again, with
{Heap before gc invocations=4188:
PSYoungGen total 540864K, used 487958K [0x8ba50000, 0xb1250000, 0xb1250000)
eden space 467328K, 100% used [0x8ba50000,0xa82b0000,0xa82b0000)
from space 73536K, 28% used [0xa82b0000,0xa96d5850,0xaca80000)
to space 71680K, 0% used [0xacc50000,0xacc50000,0xb1250000)
ParOldGen total 1024000K, used 493477K [0x4d250000, 0x8ba50000, 0x8ba50000)
object space 1024000K, 48% used [0x4d250000,0x6b439610,0x8ba50000)
PSPermGen total 101760K, used 101240K [0x2d250000, 0x335b0000, 0x4d250000)
object space 101760K, 99% used [0x2d250000,0x3352e1f8,0x335b0000)
405290.711: [GC [PSYoungGen: 487958K->17397K(544192K)] 981435K->518248K(1568192K), 0.0769350 secs]
Heap after gc invocations=4188:
PSYoungGen total 544192K, used 17397K [0x8ba50000, 0xb1250000, 0xb1250000)
eden space 472512K, 0% used [0x8ba50000,0x8ba50000,0xa87c0000)
from space 71680K, 24% used [0xacc50000,0xadd4d480,0xb1250000)
to space 70208K, 0% used [0xa87c0000,0xa87c0000,0xacc50000)
ParOldGen total 1024000K, used 500851K [0x4d250000, 0x8ba50000, 0x8ba50000)
object space 1024000K, 48% used [0x4d250000,0x6bb6cf70,0x8ba50000)
PSPermGen total 101760K, used 101240K [0x2d250000, 0x335b0000, 0x4d250000)
object space 101760K, 99% used [0x2d250000,0x3352e1f8,0x335b0000)
Total time for which application threads were stopped: 0.0779620 seconds
Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 4522768 bytes for Chunk::new. Out of swap space? -
11g Native Web Services Core Dump ( qmuwsPrintPackWSDL() )
I know that native PL/SQL web services are newer functionality, but I have not been able to find any information on the following issue on MetaLink or here on the forums. When creating 11g native web services when attempting to retrieve the WSDL documents from the server the document is only partially served (estimated at about 2/3rds) or not at all (blank document returned).
Banner: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
The alert log gains this entry:
<msg time='2009-03-30T13:23:21.843-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='16144'>
<txt>Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x98] [PC:0x37FAE2B, _qmuwsPrintPackWSDL()+1031]
</txt>
</msg>
<msg time='2009-03-30T13:23:21.906-04:00' org_id='oracle' comp_id='rdbms'
msg_id='1205222838' type='INCIDENT_ERROR' group='Access Violation'
level='1' host_id='TEST_HOST1' host_addr='10.38.11.20'
prob_key='ORA 7445 [qmuwsPrintPackWSDL()+1031]' upstream_comp='' downstream_comp=''
ecid='' errid='62733' detail_path='c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc'>
<txt>Errors in file c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc (incident=62733):
ORA-07445: exception encountered: core dump [qmuwsPrintPackWSDL()+1031] [ACCESS_VIOLATION] [ADDR:0x98] [PC:0x37FAE2B] [UNABLE_TO_READ] []
</txt>
</msg>
<msg time='2009-03-30T13:23:21.953-04:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgexProcessError:1094:3370026720' type='TRACE' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20'>
<txt>Incident details in: c:\app\diag\rdbms\orcl\orcl\incident\incdir_62733\orcl_s001_16144_i62733.trc
</txt>
</msg>
<msg time='2009-03-30T13:23:23.250-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='3120'>
<txt>Trace dumping is performing id=[cdmp_20090330132323]
</txt>
</msg>
<msg time='2009-03-30T13:23:26.093-04:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgrimswi_sweep_incident:1855:4220681759' type='ERROR' group='ami_comp'
level='8' host_id='TEST_HOST1' host_addr='10.38.11.20'>
<txt>Sweep Incident[62733]: completed
</txt>
</msg>
<msg time='2009-03-30T13:23:44.500-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='6724'>
<txt>found dead shared server 'S001', pid = (19, 3)
</txt>
</msg>The trace files contain the following:
Trace file c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V5.2 Service Pack 2
CPU : 16 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:10902M/24571M, Ph+PgF:8218M/26299M, VA:349M/2047M
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 19
Windows thread id: 16144, image: ORACLE.EXE (S001)
*** 2009-03-30 13:23:21.828
*** SESSION ID:(129.4177) 2009-03-30 13:23:21.828
*** CLIENT ID:() 2009-03-30 13:23:21.828
*** SERVICE NAME:(SYS$USERS) 2009-03-30 13:23:21.828
*** MODULE NAME:() 2009-03-30 13:23:21.828
*** ACTION NAME:() 2009-03-30 13:23:21.828
Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x98] [PC:0x37FAE2B, _qmuwsPrintPackWSDL()+1031]
Incident 62733 created, dump file: c:\app\diag\rdbms\orcl\orcl\incident\incdir_62733\orcl_s001_16144_i62733.trc
ORA-07445: exception encountered: core dump [qmuwsPrintPackWSDL()+1031] [ACCESS_VIOLATION] [ADDR:0x98] [PC:0x37FAE2B] [UNABLE_TO_READ] []I am at a loss on quickly resolving this issue. I will be attempting to find a solution via an SR, but I am not sure how responsive that will be. Any help is appreciated.
SR Number: 7504349.992Quick test for 11.1.0.7.0 (linux_x64) does not show a problem
SQL> connect sys/oracle as sysdba
Connected.
SQL> --
SQL> def USERNAME=WEB_API
SQL> --
SQL> def PASSWORD=WEB_API
SQL> --
SQL> DROP USER &USERNAME CASCADE
2 /
old 1: DROP USER &USERNAME CASCADE
new 1: DROP USER WEB_API CASCADE
DROP USER WEB_API CASCADE
ERROR at line 1:
ORA-01918: user 'WEB_API' does not exist
SQL> grant connect, resource to &USERNAME identified by &PASSWORD
2 /
old 1: grant connect, resource to &USERNAME identified by &PASSWORD
new 1: grant connect, resource to WEB_API identified by WEB_API
Grant succeeded.
SQL> begin
2 dbms_network_acl_admin.drop_acl('localhost.xml');
3 end;
4 /
begin
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/sys/acls/localhost.xml"
ORA-06512: at "XDB.DBMS_XDB", line 337
ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 428
ORA-06512: at line 2
SQL> begin
2 dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', '&USERNAME', true, 'connect');
3 dbms_network_acl_admin.assign_acl('localhost.xml', '127.0.0.1');
4 end;
5 /
old 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', '&USERNAME', true, 'connect');
new 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', 'WEB_API', true, 'connect');
PL/SQL procedure successfully completed.
SQL> COMMIT
2 /
Commit complete.
SQL> GRANT XDB_WEBSERVICES TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES TO &USERNAME
new 1: GRANT XDB_WEBSERVICES TO WEB_API
Grant succeeded.
SQL> GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
new 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO WEB_API
Grant succeeded.
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> var url varchar2(700)
SQL> --
SQL> set pages 0 long 10000
SQL> --
SQL>
SQL> CREATE OR REPLACE TYPE ACCOUNT_O AS OBJECT
2 (
3 ACCOUNT_ID NUMBER(9, 0),
4 ACCOUNT_NUMBER VARCHAR2(100),
5 ACCOUNT_NAME VARCHAR2(50),
6 ACTIVE NUMBER(1, 0),
7 DEACTIVE_DATE DATE,
8 START_DATE DATE,
9 END_DATE DATE,
10 ROLLOVER_ACCOUNT_NUMBER VARCHAR2(100),
11 ROLLOVER_ACCOUNT_NAME VARCHAR2(50),
12 ROLLOVER_SPEED_CODE VARCHAR2(10),
13 LAST_UPDATE_DATE DATE
14 )
15 /
Type created.
SQL> CREATE OR REPLACE TYPE ACCOUNT_SK AS OBJECT( ACCOUNT_ID NUMBER(38) )
2 /
Type created.
SQL> CREATE OR REPLACE PACKAGE ACCOUNT_API AS
2 FUNCTION "NEW"(ACCOUNT_ID NUMBER,
3 ACCOUNT_NUMBER VARCHAR2,
4 ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
5 ACTIVE NUMBER DEFAULT NULL,
6 DEACTIVE_DATE DATE DEFAULT NULL,
7 START_DATE DATE DEFAULT NULL,
8 END_DATE DATE DEFAULT NULL,
9 ROLLOVER_ACCOUNT_NUMBER VARCHAR2 DEFAULT NULL,
10 ROLLOVER_ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
11 ROLLOVER_SPEED_CODE VARCHAR2 DEFAULT NULL,
12 LAST_UPDATE_DATE DATE DEFAULT NULL)
13 RETURN ACCOUNT_SK;
14 PROCEDURE "UPDATE"(ACCOUNT_ID NUMBER,
15 ACCOUNT_NUMBER VARCHAR2,
16 ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
17 ACTIVE NUMBER DEFAULT NULL,
18 DEACTIVE_DATE DATE DEFAULT NULL,
19 START_DATE DATE DEFAULT NULL,
20 END_DATE DATE DEFAULT NULL,
21 ROLLOVER_ACCOUNT_NUMBER VARCHAR2 DEFAULT NULL,
22 ROLLOVER_ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
23 ROLLOVER_SPEED_CODE VARCHAR2 DEFAULT NULL,
24 LAST_UPDATE_DATE DATE DEFAULT NULL);
25 PROCEDURE "DELETE"(ACCOUNT_ID NUMBER);
26 FUNCTION "GET"(ACCOUNT_ID NUMBER) RETURN ACCOUNT_O;
27 END ACCOUNT_API;
28 /
Package created.
SQL> BEGIN
2 :url := 'http://&USERNAME:&[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/ACCOUNT_API';
3 end;
4 /
old 2: :url := 'http://&USERNAME:&[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/ACCOUNT_API';
new 2: :url := 'http://WEB_API:[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/WEB_API/ACCOUNT_API';
PL/SQL procedure successfully completed.
SQL> print url
http://WEB_API:[email protected]:80/orawsv/WEB_API/ACCOUNT_API
SQL> --
SQL> select httpuritype( :url || '?wsdl' ).getXML() from dual
2 /
<definitions name="ACCOUNT_API" targetNamespace="http://xmlns.oracle.com/orawsv/
WEB_API/ACCOUNT_API" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://
xmlns.oracle.com/orawsv/WEB_API/ACCOUNT_API" xmlns:xsd="http://www.w3.org/2001/X
MLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/WEB_API/ACCOUNT_
API" elementFormDefault="qualified">
<xsd:element name="UPDATEInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="START_DATE-DATE-IN" minOccurs="0" maxOccurs="1" t
ype="xsd:date"/>
<xsd:element name="ROLLOVER_SPEED_CODE-VARCHAR2-IN" minOccurs="0" ma
xOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER-VARCHAR2-IN" minOccurs="0
" maxOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0"
maxOccurs="1" type="xsd:string"/>
<xsd:element name="LAST_UPDATE_DATE-DATE-IN" minOccurs="0" maxOccurs
="1" type="xsd:date"/>
<xsd:element name="END_DATE-DATE-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:date"/>
<xsd:element name="DEACTIVE_DATE-DATE-IN" minOccurs="0" maxOccurs="1
" type="xsd:date"/>
<xsd:element name="ACTIVE-NUMBER-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER-VARCHAR2-IN" type="xsd:string"/>
<xsd:element name="ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0" maxOccurs
="1" type="xsd:string"/>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="UPDATEOutput">
<xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CACCOUNT_SK-NEWInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="START_DATE-DATE-IN" minOccurs="0" maxOccurs="1" t
ype="xsd:date"/>
<xsd:element name="ROLLOVER_SPEED_CODE-VARCHAR2-IN" minOccurs="0" ma
xOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER-VARCHAR2-IN" minOccurs="0
" maxOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0"
maxOccurs="1" type="xsd:string"/>
<xsd:element name="LAST_UPDATE_DATE-DATE-IN" minOccurs="0" maxOccurs
="1" type="xsd:date"/>
<xsd:element name="END_DATE-DATE-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:date"/>
<xsd:element name="DEACTIVE_DATE-DATE-IN" minOccurs="0" maxOccurs="1
" type="xsd:date"/>
<xsd:element name="ACTIVE-NUMBER-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER-VARCHAR2-IN" type="xsd:string"/>
<xsd:element name="ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0" maxOccurs
="1" type="xsd:string"/>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="NEWOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RETURN" type="tns:ACCOUNT_SKType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CACCOUNT_O-GETInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GETOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RETURN" type="tns:ACCOUNT_OType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DELETEInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DELETEOutput">
<xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ACCOUNT_SKType">
<xsd:sequence>
<xsd:element name="ACCOUNT_SK">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ACCOUNT_OType">
<xsd:sequence>
<xsd:element name="ACCOUNT_O">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID" type="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ACCOUNT_NAME">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ACTIVE" type="xsd:double"/>
<xsd:element name="DEACTIVE_DATE" type="xsd:date"/>
<xsd:element name="START_DATE" type="xsd:date"/>
<xsd:element name="END_DATE" type="xsd:date"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ROLLOVER_ACCOUNT_NAME">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ROLLOVER_SPEED_CODE">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LAST_UPDATE_DATE" type="xsd:date"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="UPDATEInputMessage">
<part name="parameters" element="tns:UPDATEInput"/>
</message>
<message name="UPDATEOutputMessage">
<part name="parameters" element="tns:UPDATEOutput"/>
</message>
<message name="NEWInputMessage">
<part name="parameters" element="tns:CACCOUNT_SK-NEWInput"/>
</message>
<message name="NEWOutputMessage">
<part name="parameters" element="tns:NEWOutput"/>
</message>
<message name="GETInputMessage">
<part name="parameters" element="tns:CACCOUNT_O-GETInput"/>
</message>
<message name="GETOutputMessage">
<part name="parameters" element="tns:GETOutput"/>
</message>
<message name="DELETEInputMessage">
<part name="parameters" element="tns:DELETEInput"/>
</message>
<message name="DELETEOutputMessage">
<part name="parameters" element="tns:DELETEOutput"/>
</message>
<portType name="ACCOUNT_APIPortType">
<operation name="UPDATE">
<input message="tns:UPDATEInputMessage"/>
<output message="tns:UPDATEOutputMessage"/>
</operation>
<operation name="NEW">
<input message="tns:NEWInputMessage"/>
<output message="tns:NEWOutputMessage"/>
</operation>
<operation name="GET">
<input message="tns:GETInputMessage"/>
<output message="tns:GETOutputMessage"/>
</operation>
<operation name="DELETE">
<input message="tns:DELETEInputMessage"/>
<output message="tns:DELETEOutputMessage"/>
</operation>
</portType>
<binding name="ACCOUNT_APIBinding" type="tns:ACCOUNT_APIPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/ht
tp"/>
<operation name="UPDATE">
<soap:operation soapAction="UPDATE"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="NEW">
<soap:operation soapAction="NEW"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="GET">
<soap:operation soapAction="GET"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="DELETE">
<soap:operation soapAction="DELETE"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="ACCOUNT_APIService">
<documentation>Oracle Web Service</documentation>
<port name="ACCOUNT_APIPort" binding="tns:ACCOUNT_APIBinding">
<soap:address location="http://127.0.0.1/orawsv/WEB_API/ACCOUNT_API"/>
</port>
</service>
</definitions>But I think you said it was intermittant -
_malloc_unlocked core dump
I am working on Solaris 7 (newest patches installed) using Sun Workshop 6. My multithreaded application runs well for a while but eventually it core dumps.
t@4 (l@1) terminated by signal SEGV (no mapping at the fault address)
The point in my code where it core dumps differs but the top of the stack always ends in
malloc(0x5fa, 0x0, 0xfea0b5c0, 0xfea0b540, 0x31, 0xff26db58)
mallocunlocked(0x0, 0x600, 0x10b9f0, 0x10bab8, 0x0, 0xff0b3f00)
Has anyone an idea?
Thanx in advance
BoerniI have a core dump, my pstack is:
----------------- lwp# 1 / thread# 1 --------------------
fe74251c realfree (3655b468, fe7c2858, fe7bc008, 1e1cc0, 36373539,
1e7f38) + 70
fe742e20 cleanfree (0, fe7bc008, fe7c27cc, fe7c284c, fe7c27e0, 0) + 58
fe741f54 mallocunlocked (1e, 0, fe7bc008, 20, 1f, 0) + f0
fe741e48 malloc (1e, 1a9f00, fe7c3a54, fe7bfc78, 339, fef53cf4) + 20
00041604 ???????? (1f0928, 48052560, ffbef450, 3c, 7400012c, 1acb78)
00042e3c ???????? (1f0918, 1ac740, 1ac718, 1ac6f0, 1ac6c8, 196c74)
00036c88 ???????? (0, 0, 0, 0, 0, 0)
----------------- lwp# 2 / thread# 2 --------------------
fe79f4b0 _signotifywait (fef1c000, ff3de79c, feee028c, 40000000,
feee1508, ff3de0c0) + 8
fef01c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 3 --------------------------------
fe79d054 doorreturn (4, fef1c000, fef1d678, 3, fef1c000, 1) + 10
feefa380 lwpstart (fe685d98, 0, 6000, ffbeeeac, 0, 0) + 18
fef01c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 4 --------------------------------
fef09300 private___lwp_cond_wait (fe20bd98, fef1cd74, fef1c000, 3,
fef1c000, 1) + 8
feefa380 lwpstart (fe20bd98, 0, 0, 0, 0, 0) + 18
fef01c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c
-------------------------- thread# 3 --------------------
feefd9e0 reapwait (fef20988, 1e8fc, 0, fef1c000, 0, 0) + 38
feefd738 _reaper (fef1ce08, fef22710, fef20988, fef1cde0, 1, fe400000)
+ 38
fef0b11c threadstart (0, 0, 0, 0, 0, 0) + 40
Help!!!
Cesar Jorge -
I have encountered a core dump problem on weblogic server 6.1 SP5 the error message
as below, I am using weblogic oci driver for oracle "libweblogicoci37.so" anyone
can help?
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 4 occurred at PC=0x242795c
Function name=(N/A)
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at weblogic.db.oci.OciLob.getLobBuf(Native Method)"heriawan" <[email protected]> wrote in message news:4063cf24$[email protected]..
I have encountered a core dump problem on weblogic server 6.1 SP5 the error message
as below, I am using weblogic oci driver for oracle "libweblogicoci37.so" anyone
can help?
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 4 occurred at PC=0x242795c
Function name=(N/A)
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.I'd seriously consider switching to oracle thin driver. Type-3 drivers, whether
they come from oracle or weblogic, are less stable than the pure java thin
driver.
HTH
Regards,
Slava Imeshev -
Value type exception causes core dump
Hi,
Here is the situation: Session EJB (SynchronousAdapterBean) running on WebLogic
7.0 is being called by C++ client using Tuxedo 8.1 Solaris 8. The SynchronousAdapterBean
has a find method which throws a user defined exception (SynchronousAdapterException)
resulting in a core dump.
I have read through much documentation on the newsgroups, edocs.bea.com, and
the examples coming with WebLogic.
Here some of the things I did:
1.
When using the 'idl' command to generate the C++ code, I did not forget to use
a '-i' to generate the implementation files: SynchronousAdapterException_i.cpp
and SynchronousAdapterException_i.h.
In my "play with it to make it work" phase, I also did this for: SynchronousAdapterEx_i.cpp
and SynchronousAdapterEx_i.h.
2.
In my C++ client, I did not forget to register the factory as such:
orb->register_value_factory
((char* const)com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException->id(),
(CORBA::ValueFactory)
new com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory());
This seemed to work because I actually put debug cout statements in the 'com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory'
in the file SynchronousAdapterEx_i.cpp and it confirmed that it was constructed
and the reference count was incremented.
3.
I know for sure that it is a 'SynchronousAdapterException' being thrown on the
server side because all the find method does it this point is:
throw new SynchronousAdapterException("test1");
Questions:
1. I read at a few places that one only has to register the "most derived" class
being thrown (in my case 'SynchronousAdapterException'). What does one do with
all the other exceptions generated:
EJBException_c.h
EJBException_c.cpp
EJBEx_c.h
EJBEx_c.cpp
CreateEx_c.h
CreateEx_c.cpp
CreateException_c.h
CreateException_c.cpp
RemoveEx_c.h
RemoveEx_c.cpp
RemoveException_c.h
RemoveException_c.cpp
RuntimeEx_c.h
RuntimeEx_c.cpp
RuntimeException_c.cpp
RuntimeException_c.h
SynchronousAdapterEx_c.cpp
SynchronousAdapterEx_c.h
SynchronousAdapterEx_i.cpp
SynchronousAdapterEx_i.h
Exc.cpp
Exc.h
Exceptionc.cpp
Exceptionc.h
2. What step could I have missed?
AlexHi Andy,
1.
Well no new member classes in SynchronousAdapterException it just looks like this:
public class SynchronousAdapterException extends Exception {
public SynchronousAdapterException() {
super();
Not available in 1.3.1, but is available in 1.4
public SynchronousAdapterException(String message, Throwable ex) {
super(message, ex);
public SynchronousAdapterException(String message) {
super(message);
Not available in 1.3.1, but is available in 1.4
public SynchronousAdapterException(Throwable ex) {
super(ex);
2.
We are using:
java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
3.
dbx produces the following, anything ring a bell?
Reading libdl.so.1
Reading libaio.so.1
Reading libmp.so.2
Reading libc_psr.so.1
Reading liborbiiop.so.71
Reading liborbtcp.so.71
detected a multithreaded program
t@2 (l@2) terminated by signal ABRT (Abort)
0xfec9bbd4: lwpkill+0x0008: bgeu,a lwpkill+0x1c
Current function is operator>>
218 mb.UnMarshalValue(::com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException,
obj);
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@2
[1] lwpkill(0x0, 0x2, 0x0, 0x6, 0x197f0, 0x4c6e0), at 0xfec9bbd4
[2] raise(0x6, 0x0, 0xffffffff, 0xc00cc, 0x8, 0xfee355c0), at 0x4c6e8
[3] abort(0xd2040, 0xbeaf8, 0xff3b2aac, 0xfee34684, 0x15398, 0xfee34874), at
0x4c6a8
[4] __Cimpl::ex_terminate(0x0, 0x0, 0xfee4a500, 0xff1edf90, 0xff09ecd0, 0x1),
at 0xfee34684
---- hidden frames, use 'where -h' to see them all ----
[6] OBB::MarshalBuf::UnMarshalValue(0xfeaf9a28, 0xc9dd8, 0xfeaf99b0, 0xff1edf90,
0xff1edfd0, 0xfed2ebb8), at 0xff0a3980
=>[7] operator>>(mb = CLASS, obj = CLASS), line 218 in "SynchronousAdapterExc.cpp"
[8] _tcr_com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterEx_unmarsh(mh =
0xce520, obj = 0xfeaf9b7c, flags = 130U), line 259 in "SynchronousAdapterEx_c.cpp"
[9] TCInterpreter::DecodeByTypeCode(0x16, 0xff1d674c, 0xfeaf9b7c, 0xce520, 0x82,
0xfeaf9b07), at 0xff0f3aec
[10] TCInterpreter::DecodeById(0xcbaa0, 0xcf230, 0xfeaf9b7c, 0xce520, 0x82,
0xfeaf9f98), at 0xff0f3c94
[11] ReplyMessage::DecodeMessageBody(0x18000, 0xcd820, 0xfeaf9f98, 0xbf358,
0xfebcffb0, 0xfed2ebb8), at 0xff0e1938
[12] GIOPMessage::DecodeBody(0xce240, 0xfeaf9f98, 0xff0dd494, 0xff0dd494, 0xffffffd0,
0xfeb93e24), at 0xff0c23a0
[13] IiopProtocol::Reply(0xd0958, 0xce240, 0xce148, 0xfeaf9f98, 0x100, 0xfebd0010),
at 0xfeb94064
[14] IiopMsgReceiver::MsgReceived(0xca5a0, 0xce240, 0xce148, 0xfeaf9f98, 0x0,
0xfeaf9f98), at 0xfeb9bc74
[15] GiopMessageProtocol::MsgReceived(0xcb358, 0xfeaf9dd8, 0xd1160, 0xfeaf9f98,
0x0, 0xfeaf9f98), at 0xfebac6fc
[16] MessageManager::RecvMsgFirstTime(0xcf8c0, 0xce240, 0xd1160, 0xcb358, 0xd11d0,
0xfeaf9f98), at 0xfebab1b0
[17] MessageManager::AvailableForRecvMsg(0xcf8c0, 0xd1160, 0xcb358, 0xfeaf9f98,
0x3e8, 0xd1170), at 0xfebaa030
[18] ChannelManager::DoReadWork(0xff1d674c, 0xfebd0038, 0xd1160, 0x0, 0x0, 0xcfd58),
at 0xfeba54dc
[19] ChannelManager::DoIt(0xcb3b0, 0xfeaf9f98, 0x0, 0xfebcffd0, 0xcfda0, 0xfebcffd0),
at 0xfeba0750
[20] WorkerManager::DoWorkerThread(0x0, 0xca648, 0xfeaf9f98, 0xcfda0, 0xfeba9924,
0x0), at 0xfeba7894
[21] WorkerThread(0xcfd98, 0xfeafa000, 0x0, 0x0, 0x0, 0x0), at 0xfeba9974
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)
Thanks,
Alex
Andy Piper <[email protected]> wrote:
"Alex" <[email protected]> writes:
It sounds like you have done all the right steps. More comments in-line:
1.
When using the 'idl' command to generate the C++ code, I did not forgetto use
a '-i' to generate the implementation files: SynchronousAdapterException_i.cpp
and SynchronousAdapterException_i.h. Ok.
In my "play with it to make it work" phase, I also did this for: SynchronousAdapterEx_i.cpp
and SynchronousAdapterEx_i.h.This should not be necessary - XXXEx is an IDL exception.
2.
In my C++ client, I did not forget to register the factory as such:
orb->register_value_factory
((char* const)com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException->id(),
(CORBA::ValueFactory)
new com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory());Ok. What does the Exception actually look like in Java? (Incidentally
the _i file creates a useful helper function called _register() which
will do this step for you). Did you register all member classes? You
are correct about most derived types being the important ones, but you
need to also register member classes if they are not standard.
This seemed to work because I actually put debug cout statements inthe 'com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory'
in the file SynchronousAdapterEx_i.cpp and it confirmed that it wasconstructed
and the reference count was incremented.
3.
I know for sure that it is a 'SynchronousAdapterException' being thrownon the
server side because all the find method does it this point is:
throw new SynchronousAdapterException("test1");Ok (incidentally you are not running the server on JDK 1.4 are
you. This would cause problems).
Questions:
1. I read at a few places that one only has to register the "most derived"class
being thrown (in my case 'SynchronousAdapterException'). What doesone do with
Yes.
all the other exceptions generated:These are just needed at compile time so that you don't get undefined
symbols.
2. What step could I have missed?Its not clear. You should try running in a debugger and seeing where
its falling over.
andy
Maybe you are looking for
-
I recently reinstalled CS6 Design Standard, Illustrator and Bridge crash on startup.
These are my system specifications, 13-inch, Mid 2012 Macbook Pro, 2.5 GHz Intel Core i5, 4GB 1600 MHz DDR3, Intel HD Graphics 4000 1024 MB, OSX 10.9.1 this is the error report for illustrator CS6 Process: Adobe Illustrator [12957] Path:
-
Please , I need help in SCWCD certification
Hi all, I'm SCJP certified programmer and I'm willing to take the SCWCD exam I've studied several books and I'm ready to start practicing on exam simulators I just can't find real good and free exams on the web if any one can direct me to some profis
-
Creating a new concatenated identification field
Hi, I would like to add an additional field called 'UNIQUE_ID' (varchar2) that would consist from the previous FID field. FID is a number field (long integer). For example, for a certain table SCHEMA.TELCO I would need to add a prefix "TK-" (without
-
I have Elements 9 and I just downloaded a few actions. The error that comes up when I try to run the actions is "The command 'Make' is not available." I have created a new layer so that it is not trying to perform the action on the background layer
-
Help setting up my a1211 mb pro, to connect to ps3
i am trying to get my ps3 to recognize my mb pro laptop model A1211 as a media server with either wired or wifi connection need a "how-to-setup instructions for dummies" thanks current devices Motorola (time warner) Surfboard sbg6580 DOCSIS 3.0 gatew