You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/12/10 08:34:04 UTC
DO NOT REPLY [Bug 15217] New: -
ti_pthread_mutex_lock on Sun Solaris8
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15217
ti_pthread_mutex_lock on Sun Solaris8
Summary: ti_pthread_mutex_lock on Sun Solaris8
Product: Xerces-C++
Version: 2.1.0
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Critical
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: syangloo@hotmail.com
I using the xerces c++ (binary) for my program, it can compile successful. I
hit error when execute the program with this error code "Segmentation Fault -
core dumped".
I going to the debug mode for the program with the core file, i getting below
info from the debug mode.
$ dbx ESUB core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.0' in your .dbxrc
Reading ESUB
core file header read successfully
Reading ld.so.1
Reading libxerces-c.so.21
Reading libamtCpp.so
Reading libCstd.so.1
Reading libCrun.so.1
Reading libm.so.1
Reading libw.so.1
Reading libthread.so.1
Reading libc.so.1
Reading libpthread.so.1
Reading libnsl.so.1
Reading libsocket.so.1
Reading libamt.so
Reading libdl.so.1
Reading libmp.so.2
Reading libamtXML310.so
Reading libamtICUUC140.so
Reading libamtICUDATA.so
Reading libCstd_isa.so.1
Reading libc_psr.so.1
detected a multithreaded program
t@1 (l@1) terminated by signal SEGV (no mapping at the fault address)
0xfedcbb04: _ti_pthread_mutex_lock+0x0004: ldub [%i0 + 0x5], %o0
Current function is CStaticAmiWrapper::subscribe
81 session = sessionFactory->createSession
((char*) "SUBSCRIBER_SESSION");
(dbx) where
current thread: t@1
[1] _ti_pthread_mutex_lock(0x0, 0x4d4, 0xfe7f59a8, 0x91f90, 0xc5870,
0x91f98), at
0xfedcbb0
4
[2] XMLPlatformUtils::compareAndSwap(0xfe8198e4, 0x60800, 0x60800, 0x0,
0xfe82c060,
0x60800
), at 0xfe7ba8a8
[3] gScannerMutex(0x60800, 0x60800, 0xfe82c060, 0xfffffff8, 0x0, 0xa3e61), at
0xfe7c6284
[4] XMLScanner::commonInit(0xbd568, 0xfe7f59a8, 0xbd568, 0xff366200,
0xff379b2c, 0x90f90),
at 0xfe7c7650
[5] XMLScanner::XMLScanner(0x3ff, 0xbd570, 0xbd580, 0xbd5d4, 0xbd568,
0xbd568), at
0xfe7c64
84
[6] DOMParser::DOMParser(0x7fd28, 0xbd568, 0xbd568, 0x7fd34, 0x7fd38,
0x7fd28), at
0xfe793b
bc
[7] AmDOMParser::AmDOMParser(0x7fd28, 0x7fd28, 0x7ae88, 0xff1cac60,
0xff379b2c, 0x7ae88),
a
t 0xfe78ca10
[8] CRpsTree::Initialize(0x7ae88, 0xfeac07a4, 0x7ae88, 0xbbab0, 0xfeac07a4,
0x7f054), at
0x
fea5a470
[9] amRpsCreate(0x12, 0xbbab0, 0xfeac07a4, 0xffbef72c, 0xfeace958, 0x0), at
0xfea50260
[10] amSessCreateX(0x4729b, 0xfeace958, 0x0, 0xfeac07a4, 0xc59d8,
0xffbef848), at
0xfe9fb67
0
[11] AmSessionFactory::createSession(0xbfdd0, 0x4729b, 0xff06e1e8,
0xff058a50, 0x0, 0x0),
a
t 0xff044044
=>[12] CStaticAmiWrapper::subscribe(subscription = true, amiDest = CLASS, topic
= CLASS,
amiR
esp = CLASS), line 81 in "CStaticAmiWrapper.cpp"
[13] main(argc = 3, argv = 0xffbefbb4), line 46 in "CSub.cpp"
(dbx)
For what i see is the main problem is the
pthread. "_ti_pthread_mutex_lock+0x0004"
How can i solve this problem? Any Patch for it?
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org