Hey Torsten,

2009/8/18 Torsten Schulz <[email protected]>:
> ==12128== Invalid write of size 2
> ==12128==    at 0x509136E: OCIPClearMxCtr (in 
> /opt/oracle/product/10.2/db_1/lib/libclntsh.so.11.1)
> ==12128==    by 0x45C6917: oracle::occi::OCCIErrorGet(void*, unsigned, 
> unsigned char*, int*, unsigned char*, unsigned, unsigned) (in 
> /opt/oracle/product/10.2/db_1/lib/libocci.so.11.1)
> ==12128==    by 0x45BDCCE: _ZN6oracle4occi16SQLExceptionImplC9EPvS2_i. (in 
> /opt/oracle/product/10.2/db_1/lib/libocci.so.11.1)
> ==12128==    by 0x45BDD7C: _ZN6oracle4occi16SQLExceptionImplC1EPvS2_i. (in 
> /opt/oracle/product/10.2/db_1/lib/libocci.so.11.1)
> ==12128==    by 0x45BEA59: oracle::occi::SQLExceptionCreate(void*, int) (in 
> /opt/oracle/product/10.2/db_1/lib/libocci.so.11.1)
> ==12128==    by 0x45BEC15: 
> oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, 
> void*, void* (*)(void*, unsigned), void* (*)(void*, void*, unsigned), void 
> (*)(void*, void*)) (in /opt/oracle/product/10.2/db_1/lib/libocci.so.11.1)
> ==12128==    by 0x805D067: (within /srv/www/htdocs/index.wt)
> ==12128==    by 0x8053536: (within /srv/www/htdocs/index.wt)
> ==12128==    by 0x8052C78: (within /srv/www/htdocs/index.wt)
> ==12128==    by 0x42D944A: 
> Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:436)

Somehwere from your application constructor you are calling
oracle::occi::Environment::createEnvironment (if you would build your
application with debug info, then you would get a more complete stack
trace instead of the 3 unknown frames in index.wt).

This call fails. I have no experience with oracle however...

Is the library, opt/oracle/product/10.2/db_1/lib/libocci.so.11.1, the
correct library ?

Googling for the topmost method (OCIPClearMxCtr) leads to a number of
hits with similar problems, including this thread
http://forums.oracle.com/forums/thread.jspa?threadID=381914, which
suggests among other things that you need to make sure to link to
pthread ?

Regards,
koen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to