Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Application crashes while using OTL class

Reply
Thread Tools

Application crashes while using OTL class

 
 
teju
Guest
Posts: n/a
 
      06-20-2008
I am using the OTL library for database
interaction(otl.sourceforge.net)

This is the sample code from my application:

strm_ << parm.corp_id();
strm_ << parm.prod_id();
write_to_log(("Before parm.eff_ts()"<<parm.eff_ts())
strm_ << parm.eff_ts(); /** Application crashes here **/
write_to_log(("After parm.eff_ts()"<<parm.eff_ts())

strm_ is otl_stream variable. eff_ts() is std::string variable and in
the query the bind variable is defined as char[50].

The application runs 24*7 and it crashes frequently at the same place.
We have ruled out the value of eff_ts() since the application restarts
and processes the same input successfully.

Any help is highly appreciated.

Regards,
Tejas

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to execute MySql Stored Procedure using C++ OTL sailesh The Lounge 0 03-30-2012 07:59 AM
James Gosling the Creator of EMACS and JAVA - leaves ORACLE - Butthen reports started coming in of odd failures. Systems would crashstrangely. We'd get crashes in applications. All applications. Crashes in thekernel. small Pox C Programming 2 07-22-2010 10:07 PM
3 Req.s - Oracle CRM / OTL / Oracle DBA craig Java 1 04-11-2008 05:34 PM
PostgreSQL - OTL programming readiness recipes ccrosetti@sunguru.com C++ 0 02-04-2006 04:02 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57