Hello Koen, first thank you for the help.
I've searched for the reason, but I don't found it. If i start the index.wt from command-line, the application starts without error (but it don't run, it's clear). If I start it with build-in http-server (linked with -lwthttp), the application works fine. So I've searched for the libraries they are in the wthttp but not in wtfcgi: libz, libssl, libboost_filesystem, libdl. I've linked them in my application, but it don't run too :( There's no difference in the libraries no. Then I've included the export... for oracle in the apache-starter. But it don't run too :( The Makefile are created with qmake, so I don't know how to get more debug-information with it. Does anyone know how to take them on with qmake? Greetings Torsten As for your Koen Deforche schrieb: > 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 > ------------------------------------------------------------------------------ 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
