OracleConnection .Open() hangs

Hi All,
First time posting here. I have a scheduled script which connect to around 200 Oracle databases and retrieve some records. sometimes, there is an Oracle db which when trying to connect it will hang the script until I manually stop it;
I try two different ways to connect but none of them generate any exception. They just hang. I was thinking about setting the connection timeout in the connection string but it has no effect at all.
for OracleConnection, I'm using Oracle.DataAccess.dll version 2.102.2.20. Here are the two connections which I tried but failed to generate any exception but hang:
In these two codes, it hangs when the conn.Open() is executed
private void TestConn1(string sSiteIP)
//string m_sConnection = "Data Source=" + sSiteIP + " ; User ID=atlasuser; Password=atlas";
string m_sConnection = "User Id=atlasuser;Password=atlas;Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = " + sSiteIP + ")(PORT = 1521)))(CONNECT_DATA =(SID = ATLAS)))";
try
DbProviderFactory factory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
DbConnection conn = factory.CreateConnection();
conn.ConnectionString = m_sConnection;
mlog.ErrorLog("Attempt to connect to : " + sSiteIP);
conn.Open();
mlog.ErrorLog("Open Connection is successful for site: " + sSiteIP);
conn.Dispose();
catch (Exception ex)
mlog.ErrorLog("Open connection failed: " + sSiteIP + " " + ex.Message);
private void TestConn2(string sSiteIP)
string m_sConnection = "User Id=atlasuser;Password=atlas;Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = " + sSiteIP + ")(PORT = 1521)))(CONNECT_DATA =(SID = ATLAS)))";
try
OracleConnection conn = new OracleConnection(m_sConnection);
mlog.ErrorLog("Attempt to connect to : " + sSiteIP);
conn.Open();
mlog.ErrorLog("Open Connection is successful for site: " + sSiteIP);
conn.Close();
conn.Dispose();
catch (Exception ex)
mlog.ErrorLog("Open connection failed: " + sSiteIP + " " + ex.Message);
When it hangs, I can't continue w/ other dbs connection. I wonder if there is another way to just test if we can make a connection to its Oracle db and generate an exception if it fails. Then I can continue w/ other dbs.
Much Appreciated,
Quyen.

Since you know which particular DB is hanging, there's a few things you can try. Try installing the newest ODP.NET version on OTN and testing only against that DB first. ODP.NET 10.2.0.2.20 is seven to eight years old. Lots of bugs have been fixed in the meantime. If that doesn't work, you'll probably have to contact Oracle Support to help. It's virtually impossible to solve any issues on a discussion forum without error information.

Similar Messages

  • OracleConnection.Open() OverflowException

    hi, getting following exceptions in connection object on production environment :
    System.OverflowException: Arithmetic operation resulted in an overflow.
    at Oracle.DataAccess.Client.OracleConnection.Open()
    the problem occures after system is running about a day without any issues, once exeption occured, each attempt to open connection fails till hosting process is restarted
    we are using Oracle.DataAccess, Version 2.102.2.21 on windows server 2003 64 bit, Oracle 10g enterprise edition.
    connection configured by pool usage : 'Min Pool Size=10;Connection Lifetime=80;Connection Timeout=60;Incr Pool Size=5;Decr Pool Size=2;Min Pool Size=10;Connection Lifetime=80;Connection Timeout=60;Incr Pool Size=5;Decr Pool Size=2'
    any help appreciated.
    Thanks,
    EV

    Hi Folks -
    Kind of related to the problem above ... we had the following error
    System.OverflowException: Arithmetic operation resulted in an overflow.
    using W2K3 R2 64 bit with IIS 6.0 and the .Net 2.0 framework with an Oracle 10.2.0.4 client connecting to an 11g database (bug in the 11g client forced us to fall back to using 10 client for now).
    Anyways we had installed the 10.2.0.2x64(beta) version of the ODAC components and almost immediately afterwards started getting the System.OverflowException: Arithmetic operation resulted in an overflow error.
    For us, the solution was to download the ODAC 10.2.0.3 and install it. No more System.OverflowException: Arithmetic operation resulted in an overflow errors after this.
    Hope this will help someone.
    LJ
    Message was edited by:
    4n6

  • How do I fix Mountain Lion issue after login where Keychain Access attempts to open, hanging up with "application not responding" message?

    How do I fix Mountain Lion issue after login where Keychain Access attempts to open, hanging up with "application not responding" message?

    You could try booting into Safe Mode to see if that will help. And "Repair Permissions" in Disk Utility.
    Have you got Keychain set to open on Login or is it attempting to open on it's own.

  • Page opening hangs ,and loads with errors

    page opening hangs ,and loads with errors,
    terry.

    Terry,
    You need to be much more descriptive when posting. We have no idea what "page" you are referring to.

  • Db-open hangs indefinitely

    Hi,
    I am creating a primary database for which I am associating 3 secondary database.Then I create one more primary database.. the open hangs at this point. I have attested the code
    #include <db_cxx.h>
    #define DATABASE_HOME "/export/home1/nandish/BerkeleyDB64/BerkeleyDB.4.5/"
    #define DATADIR "/export/home/nandish/workspace/MentisSecondary/"
    #include <iostream>
    #include<stdio.h>
    class BerkleyDemo
    public:
         BerkleyDemo();
         virtual ~BerkleyDemo();
    using namespace std;
    using std::ostream;
    using std::cout;
    using std::cerr;
    int count=0;
    struct StdRecord
         int id;
         int marks;
         int sid;
    BerkleyDemo::BerkleyDemo()
    BerkleyDemo::~BerkleyDemo()
    int getname(Db* secondary, const Dbt pkey, const Dbt pdata, Dbt *skey);
    int main()
         DbEnv * dbenv = new DbEnv(0);
         dbenv->set_error_stream(&std::cerr);
         dbenv->set_cachesize(0,200*1024*1024, 20);
         dbenv->set_errpfx("progname");
         int ret;
         (void) dbenv->set_data_dir(DATADIR);
         try
              if (dbenv->open(DATABASE_HOME, DB_CREATE | DB_INIT_MPOOL | DB_INIT_CDB, 0))
                   cout<<"Error opening the environment";
                   exit(-1);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         //Db Primary
         Db *db = new Db(dbenv,0);
         db->set_error_stream(&std::cerr);
         //db->set_flags(DB_DUP | DB_DUPSORT);
         db->set_pagesize(1024);
         db->set_bt_minkey(4);
         if (db->open(NULL, "/export/home1/nandish/workspace/MentisSecondary/Test.db", NULL,
                   DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         //Db Secondary
         Db *sdb = new Db(dbenv,0);
         sdb->set_error_stream(&std::cerr);
         sdb->set_pagesize(1024);
         //sdb->set_flags(DB_DUP | DB_DUPSORT);
         sdb->set_bt_minkey(4);
         if (sdb->open(NULL, "/export/home1/nandish/workspace/TestSecondary.db",
                   NULL, DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         try
              db->associate(NULL,sdb,getname,0);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         Db *sdb1 = new Db(dbenv,0);
         sdb1->set_error_stream(&std::cerr);
         sdb1->set_pagesize(1024);
         //sdb->set_flags(DB_DUP | DB_DUPSORT);
         sdb1->set_bt_minkey(4);
         if (sdb1->open(NULL, "/export/home1/nandish/workspace/TestSecondary1.db",
                   NULL, DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         try
              db->associate(NULL,sdb1,getname,0);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         Db *sdb2 = new Db(dbenv,0);
         sdb2->set_error_stream(&std::cerr);
         sdb2->set_pagesize(1024);
         //sdb->set_flags(DB_DUP | DB_DUPSORT);
         sdb2->set_bt_minkey(4);
         if (sdb->open(NULL, "/export/home1/nandish/workspace/TestSecondary2.db",
                   NULL, DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         try
              db->associate(NULL,sdb2,getname,0);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         //Db Primary
         std::cout<<"\n Creating 2 Primary File";
         Db *db1 = new Db(dbenv,0);
         db1->set_error_stream(&std::cerr);
         //db->set_flags(DB_DUP | DB_DUPSORT);
         db1->set_pagesize(1024);
         db1->set_bt_minkey(4);
         if (db->open(NULL, "/export/home1/nandish/workspace/MentisSecondary/Test1.db", NULL,
                   DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         //Insert records
         int i=1;
         long starTime = (long)clock();
         Dbc *dbcp;
         db->cursor(NULL, &dbcp, DB_WRITECURSOR);
         while (i < 1000)
              StdRecord *stdRecord = new StdRecord();
              stdRecord->id=i;
              stdRecord->marks=i*100;
              stdRecord->sid=i+1;
              int keyValue = stdRecord->id;
              Dbt key(&keyValue, sizeof(int));
              Dbt data(stdRecord, sizeof(struct StdRecord));
              try
                   ret = dbcp->put(&key, &data,DB_KEYLAST);
                   if (ret != 0)
                        cout << "Error to put the record!!! "<< endl;
                        exit(-1);
              catch(DbException X)
                   cout<<X.get_errno();
                   const char * str=X.what();
                   cout<<str;
              free(stdRecord);
              i++;
         long endTime = (long)clock();
         cout<<"\n Time Taken :"<<endTime-starTime;
         Dbt key;
         Dbt skey;
         Dbt data;
         int keyVal = 9;
         memset(&skey, 0, sizeof(Dbt));
         memset(&key, 0, sizeof(Dbt));
         memset(&data, 0, sizeof(Dbt));
         skey.set_data(&keyVal);
         skey.set_size(sizeof(keyVal));
         key.set_flags(DB_DBT_MALLOC);
         data.set_flags(DB_DBT_MALLOC);
         Dbc *sdbc;
         sdb->cursor(NULL,&sdbc,0);
         try
              int i=0;
              while(i++ <999)
                   cout<<"\n Return Status :"<<sdbc->pget(&skey,&key,&data,DB_SET)<<"\n";
                   cout<<(*((int*)skey.get_data()));
                   cout<<(*((int*)data.get_data()));
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         sdbc->close();
         sdb->close(0);
         dbcp->close();
         db->close(0);
         dbenv->close(0);
         return 1;
    int getname(Db* secondary, const Dbt pkey, const Dbt pdata, Dbt *skey)
         StdRecord *stdRecord;
         stdRecord = (StdRecord *)pdata->get_data();
         memset(skey, 0, sizeof(Dbt));
         skey->set_data(&stdRecord->sid);
         skey->set_size(sizeof(stdRecord->sid));
         return 0;
    }

    Hi,
    No message is printed or stack trace is generated.It just hangs.
    Skeleton
    DbEnv->open();
    PrimaryDb1->open();
    SecDb1->open();
    PrimaryDb1->assocaite(SecDb1);
    PrimaryDb2->open()........................Control hangs here
    Simple code
    #include <db_cxx.h>
    #define DATABASE_HOME "."
    #include <iostream>
    #include<stdio.h>
    class BerkleyDemo
    public:
         BerkleyDemo();
         virtual ~BerkleyDemo();
    using namespace std;
    using std::ostream;
    using std::cout;
    using std::cerr;
    int count=0;
    struct StdRecord
         int id;
         int marks;
         int sid;
    BerkleyDemo::BerkleyDemo()
    BerkleyDemo::~BerkleyDemo()
    int getname(Db* secondary, const Dbt pkey, const Dbt pdata, Dbt *skey);
    int main()
         DbEnv * dbenv = new DbEnv(0);
         dbenv->set_error_stream(&std::cerr);
         dbenv->set_cachesize(0,200*1024*1024, 20);
         dbenv->set_errpfx("progname");
         int ret;
         dbenv->set_data_dir("/export/home1/nandish/workspace/MentisSecondary/");
         try
              if (dbenv->open("/export/home1/nandish/workspace/MentisSecondary/",DB_CREATE | DB_INIT_MPOOL | DB_INIT_CDB, 0))
                   cout<<"Error opening the environment";
                   exit(-1);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         //Db Primary
         Db *db = new Db(dbenv,0);
         db->set_error_stream(&std::cerr);
         //db->set_flags(DB_DUP | DB_DUPSORT);
         db->set_pagesize(1024);
         db->set_bt_minkey(4);
         std::cout<<"\n Creating Primary File 1";
         if (db->open(NULL, "/export/home1/nandish/workspace/Test.db", NULL,
                   DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         //Db Secondary
         Db *sdb = new Db(dbenv,0);
         sdb->set_error_stream(&std::cerr);
         sdb->set_pagesize(1024);
         //sdb->set_flags(DB_DUP | DB_DUPSORT);
         sdb->set_bt_minkey(4);
         std::cout<<"\n Creating Sec File 1";
         if (sdb->open(NULL, "/export/home1/nandish/workspace/TestSecondary.db",
                   NULL, DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
         try
                   std::cout<<"\n Creating 2 Primary File 1";
              db->associate(NULL,sdb,getname,0);
         catch(DbException X)
              cout<<X.get_errno();
              const char * str=X.what();
              cout<<str;
         //Db Primary
         std::cout<<"\n Creating 2 Primary File";
         Db *db1 = new Db(dbenv,0);
         db1->set_error_stream(&std::cerr);
         //db->set_flags(DB_DUP | DB_DUPSORT);
         db1->set_pagesize(1024);
         db1->set_bt_minkey(4);
         if (db->open(NULL, "/export/home1/nandish/workspace/MentisSecondary/Test1.db", NULL,
                   DB_BTREE, DB_CREATE, 0600))
              cout<<"Error opening Data base";
              exit(-1);
    return 0;
    int getname(Db* secondary, const Dbt pkey, const Dbt pdata, Dbt *skey)
         StdRecord *stdRecord;
         stdRecord = (StdRecord *)pdata->get_data();
         memset(skey, 0, sizeof(Dbt));
         skey->set_data(&stdRecord->sid);
         skey->set_size(sizeof(stdRecord->sid));
         return 0;
    }

  • ITunes will not open - hangs up every time

    I am running os x 10.8.5, on a mac book pro 2.4 ghz intel core 2 duo. 
    iTunes will NOT open and run.  It starts up, then hangs, nonresponsive, every single time. 
    NOTE - I already reinstalled iTunes, to no avail. 

    I have the same problem. This is information from Console (I am not highly technical...):-
    18/04/2014 16:23:22.052 digest-service[1043]: digest-request: uid=0
    18/04/2014 16:23:22.078 rpcsvchost[1045]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    18/04/2014 16:23:22.084 digest-service[1043]: digest-request: init request
    18/04/2014 16:23:22.086 digest-service[1043]: digest-request: init return domain: IMAC-FF98D9 server: JENNIFER-ROBERTSS-IMAC
    18/04/2014 16:23:23.065 configd[18]: network changed: v4(en0+:192.168.1.19) DNS+ Proxy+ SMB+
    18/04/2014 16:23:23.073 mDNSResponder[48]: mDNS_RegisterInterface: Frequent transitions for interface en0 (192.168.1.19)
    18/04/2014 16:23:28.179 com.apple.launchd[1]: (com.apple.smb.preferences) Throttling respawn: Will start in 4 seconds
    18/04/2014 16:23:28.180 com.apple.launchd[1]: (com.apple.smb.preferences) Throttling respawn: Will start in 4 seconds
    18/04/2014 16:23:28.291 com.apple.launchd[1]: (com.apple.smb.preferences) Throttling respawn: Will start in 4 seconds
    18/04/2014 16:23:32.297 digest-service[1043]: digest-request: uid=0
    18/04/2014 16:23:32.298 digest-service[1043]: digest-request: init request
    18/04/2014 16:23:32.299 digest-service[1043]: digest-request: init return domain: IMAC-FF98D9 server: JENNIFER-ROBERTSS-IMAC
    18/04/2014 16:24:31.624 coreaudiod[182]: Disabled automatic stack shots because audio IO is active
    18/04/2014 16:48:44.472 coreaudiod[182]: Enabled automatic stack shots because audio IO is inactive
    18/04/2014 16:48:44.591 coreaudiod[182]: Disabled automatic stack shots because audio IO is active
    18/04/2014 16:53:22.073 SubmitDiagInfo[1105]: Launched to submit Diagnostics and Usage
    18/04/2014 16:53:34.974 SubmitDiagInfo[1105]: Submitted hang report: file://localhost/Library/Logs/DiagnosticReports/iTunes_2014-04-18-112155_Deletion of personal Info
    18/04/2014 16:53:36.408 SubmitDiagInfo[1105]: Submitted hang report: file://localhost/Library/Logs/DiagnosticReports/iTunes_2014-04-18-140121_JDeletion of personal Info
    18/04/2014 16:53:50.558 SubmitDiagInfo[1105]: SubmitDiagInfo successfully uploaded 69 diagnostic messages.
    18/04/2014 16:55:08.333 coreaudiod[182]: Enabled automatic stack shots because audio IO is inactive
    18/04/2014 16:55:08.474 coreaudiod[182]: Disabled automatic stack shots because audio IO is active
    18/04/2014 16:58:05.358 spindump[1122]: iTunes [1114] didn't gather any samples due to audio running
    18/04/2014 16:58:05.369 com.apple.launchd.peruser.501[152]: ([0x0-0xed0ed].com.apple.iTunes[1114]) Exited: Terminated: 15
    18/04/2014 16:58:35.370 com.apple.usbmuxd[966]: stopping.
    18/04/2014 16:58:35.384 com.apple.usbmuxd[1128]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
    18/04/2014 16:58:49.000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=1130[GoogleSoftwareUp] clearing CS_VALID
    18/04/2014 17:07:20.058 coreaudiod[182]: Enabled automatic stack shots because audio IO is inactive
    18/04/2014 17:07:20.064 coreaudiod[182]: Disabled automatic stack shots because audio IO is active
    18/04/2014 17:07:40.950 coreaudiod[182]: Enabled automatic stack shots because audio IO is inactive
    18/04/2014 17:07:41.092 coreaudiod[182]: Disabled automatic stack shots because audio IO is active
    18/04/2014 17:10:18.887 coreservicesd[72]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationReady to notificationID=682
    18/04/2014 17:10:19.050 coreservicesd[72]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=683
    18/04/2014 17:14:29.162 coreaudiod[182]: Enabled automatic stack shots because audio IO is inactive
    18/04/2014 17:17:12.190 com.apple.launchd.peruser.501[152]: ([0x0-0xf70f7].com.apple.iTunes[1138]) Exited: Terminated: 15
    18/04/2014 17:17:15.171 spindump[1161]: Saved hang report for iTunes version 11.1.5 (11.1.5) to /Library/Logs/DiagnosticReports/iTunes_2014-04-18-171715_Deletion of personal Info
    18/04/2014 17:17:52.904 com.apple.launchd.peruser.501[152]: ([0x0-0x105105].com.apple.iTunes[1169]) Exited: Terminated: 15
    18/04/2014 17:17:56.187 spindump[1172]: Saved hang report for iTunes version 11.1.5 (11.1.5) to /Library/Logs/DiagnosticReports/iTunes_2014-04-18-171756_Deletion of personal Info
    18/04/2014 17:19:28.048 Google Chrome[245]: CGSGetWindowOwner: Invalid (NULL) window
    18/04/2014 17:22:05.027 Dock[179]: no information back from LS about running process
    18/04/2014 17:22:13.076 com.apple.launchd.peruser.501[152]: ([0x0-0x106106].com.apple.iTunes[1179]) Exited: Terminated: 15
    1Deletion of personal Info
    18/04/2014 17:22:43.077 com.apple.usbmuxd[1128]: stopping.
    18/04/2014 17:22:43.090 com.apple.usbmuxd[1202]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
    18/04/2014 17:25:15.249 spindump[1236]: Saved spin report for iTunes version 11.1.5 (11.1.5) to /Library/Logs/DiagnosticReports/iTunes_2014-04-18-172515_
    18/04/2014 17:28:57.471 com.apple.quicklook.satellite[1258]: [QL] Using too much memory (176 MB), hit critical threshold (120 MB), exiting immediately to clean up.
    18/04/2014 17:28:58.877 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0[1258]) Exited: Killed: 9
    18/04/2014 17:28:58.900 xpcd[194]: com.apple.quicklook.satellite[1258]: registration request failed: (0x12, 0xd) process failed sandbox check
    18/04/2014 17:29:01.161 com.apple.quicklook.satellite[1261]: [QL] Using too much memory (203 MB), hit critical threshold (120 MB), exiting immediately to clean up.
    18/04/2014 17:29:01.175 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0[1261]) Exited: Killed: 9
    18/04/2014 17:29:26.982 com.apple.usbmuxd[1202]: stopping.
    18/04/2014 17:29:26.996 com.apple.usbmuxd[1262]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
    18/04/2014 17:29:53.783 com.apple.quicklook.satellite[1263]: [QL] Using too much memory (207 MB), hit critical threshold (120 MB), exiting immediately to clean up.
    18/04/2014 17:29:53.799 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0[1263]) Exited: Killed: 9
    18/04/2014 17:29:53.799 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0) Throttling respawn: Will start in 8 seconds
    18/04/2014 17:30:04.152 com.apple.quicklook.satellite[1265]: [QL] Using too much memory (212 MB), hit critical threshold (120 MB), exiting immediately to clean up.
    18/04/2014 17:30:04.167 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0[1265]) Exited: Killed: 9
    18/04/2014 17:30:04.167 com.apple.launchd[1]: (com.apple.quicklook.satellite.40AC1A46-B151-4C53-9C2E-4394668D4CC0) Throttling respawn: Will start in 8 seconds
    18/04/2014 17:30:16.008 Google Chrome[245]: CGSGetWindowOwner: Invalid (NULL) window
    18/04/2014 17:31:09.286 com.apple.launchd.peruser.501[152]: ([0x0-0x117117].com.apple.iTunes[1271]) Exited: Terminated: 15
    18/04/2014 17:31:12.682 spindump[1274]: Saved hang report for iTunes version 11.1.5 (11.1.5) to /Library/Logs/DiagnosticReports/iTunes_2014-04-18-173112_Deletion of personal Info
    18/04/2014 17:31:39.287 com.apple.usbmuxd[1262]: stopping.
    18/04/2014 17:31:39.333 com.apple.usbmuxd[1282]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
    18/04/2014 17:33:50.125 com.apple.quicklook.satellite[1268]: bootstrap_look_up2 failed with 0x44c
    18/04/2014 17:33:50.000 kernel[0]: Sandbox: sandboxd(1285) deny mach-lookup com.apple.coresymbolicationd
    18/04/2014 17:33:52.469 Dock[179]: no information back from LS about running process
    18/04/2014 17:33:56.463 sandboxd[1285]: ([1268]) QuickLookSatelli(1268) deny mach-lookup com.apple.PowerManagement.control

  • Envp- open hangs after crash

    Hello All,
    If I repeatedly kill a test app that opens and closes a BDB databaseate, I eventually get into a state where envp->open() freezes and never returns. I accept that open() may throw an exception and I may need to call Open() again with the DB_RECOVER flag, but I can not allow it to hang indefinitely. It is not an option for me to call open() with the DB_RECOVER flag every time I open the database because this must be process and thread safe.
    Can anyone offer some assistance for how to get around this problem? The only solution I could think of was to spawn a new thread from which to call envp->open, and kill that thread if it did not complete in time, but that is hardly an acceptable solution.
    I am using BDB version 4.7.25.
    I am opening the environment with the following code:
         const int MAX_THREAD_COUNT = 30;
         const int MAX_LOGFILE_SIZE = 2097152;
         DbEnv* envp = NULL;
         u_int32_t envFlags =
         DB_CREATE | // Create the environment if it does not exist
         DB_INIT_LOCK | // Initialize the locking subsystem
         DB_INIT_TXN | // Initialize the transactional subsystem.
         DB_INIT_MPOOL | // Initialize the memory pool (in-memory cache)
         DB_THREAD; // Cause the environment to be free-threaded
         // Add recover option
         if (dbRecoverAttempt > 0)
              envFlags = envFlags | DB_RECOVER;
         // Create and open the environment
         envp = new DbEnv(0);
         envp->set_lk_detect(DB_LOCK_YOUNGEST);
         envp->set_thread_count(MAX_THREAD_COUNT);
         envp->set_isalive(&is_alive);
         envp->set_lg_max(MAX_LOGFILE_SIZE);
         envp->set_flags(DB_LOG_AUTO_REMOVE, 1);
         envp->open(dbDir, envFlags, 0/*callback*/);
    Regards,
    Todd Kobus

    Hello Michael,
    We have implemented a monitor thread that calls failchk(), but the monitor thread is blocked during environment open and close operations. Should I be calling failchk() immediately prior to calling envp->close() to limit the potential for a deadlocked close operation?
    Update: I tried adding a call to failchk() immediately prior to my call to envp->close(). I managed to get a hang from within failchk() on my first test run.
    Occasionally, I get the following output when calling envp->open() on an environment that has recently died within a different process:
    unable to join the environment
    Recovery function for LSN 2 194808 failed on forward pass
    PANIC: No such file or directory
    unable to join the environment
    Followed by an "Attempted to read or write protected memory. This is often an indication that..." exception
    Regards,
    Todd

  • File opening hang in lion 10.7.2

    I'm using a new mac book pro ( MD318 ) .
    recently I had a problem with file opening in finder. after I am trying to open the folder in finder , it hangs and I have to wait about 1~2 minutes for opening the folder.
    I followed this http://www.macworld.com/article/163227/2011/10/fix_a_lion_file_opening_hang_in_m ac_os_x_10_7_2.htmlhttp://www.macworld.com/article/163227/2011/10/fix_a_lion_file_opening_hang_in_m ac_os_x_10_7_2.html but it didn't help me.
    and yes I created a new user and delete my current user .  the problem is still there
    for the records I repaired my disk permission via disk utility and still the problem didn't fixed.
    there isn't any problem in browsing folders in "my computer" in windows, so I guess there is not a hardware problem.
    any Idea ?

    While booted in Safe Mode, did the Finder crash?
    1. If no, do this in Terminal:
    rm ~/Library/Preferences/com.apple.finder.plist
    2. If yes, remove any non-Apple files from
    /Library/LaunchDaemons
    (move them to your Desktop so that you can put them back later if it doesn't solve the problem)
    3. In either case, after doing either 1 or 2 above, restart the mac and test.

  • File opening hangs in Photoshop

    Hi,
    I recently purchased a Design starter Kit for mobiles from another author. The problem is when I open the file the PSD file first flickers and on the History panel shows 4 Layers -one it shows Open and then it shows Delete layer, Delete Layer and then it hangs it says photshop not responding I waited for 15 min and still didnt open. Other PSD files opens in my machine but only this file no matter even after the author revised and saved the file in CS3 format.
    This particular file has lot of groups and layers - Is this is the reason for not opening??
    I have
    Dell XPS - ATI Radeon accerlator card _ 4 GB Ram Windows 7 OS and Photoshop CS 4 all originals
    The author is using Mac machine - Using Photoshop CS5 version
    Can anyone give me some clue why this happening?

    What model Radeon?
    Check for a new display driver on the ATI website.  Sometimes specific documents will exercise the display driver in ways not seen in other documents.
    -Noel

  • Folders stuck open/hanging won't close

    I have been having problems lately with things that hang an example is if I open something like a folder and later try to close it it will stick or hang there until I reboot or log out and back in again . I have 2 gigs of ram and am running a e8400 duel core that is 3 ghz so it has something to do with Arch could someone tell me how I can fix this? it isn't happening all of time time but it seems to be happening more frequently .

    Shadowmeph wrote:I am new to this I am not sure what you mean by toggle, unless you mean switching between things then yes  I am always switching things multi tasking all I know is when I used to use Ubuntu I never had any problems with this it reminds me of back when I had a single core Pentium 4 it was a very good computer but even with 2 gigs of ram and a 3.4ghz processor it couldn't keep up with my multi tasking which I don't do allot all at once. but this computer I have now is a duel core 3 ghz which shouldn't have any problems at all so it must be something with the way My Archy is ( I am blaming me not the os lol)
    I meant switching hidden files off and on.
    The reason why I'm asking these questions is because Thunar becomes completely unresponsive for me on both of my computers under normal usage. Look in your log files. I can't remember which log it is, so look in the everything log (/var/log/everything.log). You'll probably see thousand of errors per second being dumped into the logs the last time it happened. This is known problem with Thunar, but it seems to happen a lot more with some users than others.

  • Db- open() hangs on a machine (64bit), its working on another (32bit)

    Hi,
    my app hangs when opening a db. This occurs on a 64bit linux server, it's working on a 32bit linux desktop. The code snippet is:
    u_int32_t flags = DB_CREATE; /* database open flags */
    ret = this->dbp->open(this->dbp,
    NULL,
    file,
    NULL,
    DB_HASH,
    flags,
    0);
    It hangs when fsync'ing the db file. Following is the stacktrace after attaching to the hanging process via gdb:
    (gdb)
    #0 0x00007f2ce2820a90 in fdatasync () from /lib/libc.so.6
    #1 0x00007f2ce3382b4d in __os_fsync () from /usr/lib/libdb-4.7.so
    #2 0x00007f2ce333db7e in __db_new_file () from /usr/lib/libdb-4.7.so
    #3 0x00007f2ce33650ea in __fop_file_setup () from /usr/lib/libdb-4.7.so
    #4 0x00007f2ce333e042 in __db_open () from /usr/lib/libdb-4.7.so
    #5 0x00007f2ce3336a2f in __db_open_pp () from /usr/lib/libdb-4.7.so
    #6 0x0000000000403647 in DBD::openDB (this=0x7fffebb40b40) at DBD.cpp:43
    #7 0x000000000040248e in DBD (this=0x7fffebb40b40, filename=
    {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, Mp = 0x7fffebb40ab0 "\210"}}) at DBD.h:29
    #8 0x00000000004024eb in OffsetIndex (this=0x7fffebb40b40, filename=
    {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, Mp = 0x7fffebb40b80 "\210"}}) at OffsetIndex.h:22
    #9 0x0000000000402107 in main (argc=2, argv=0x7fffebb40ca8) at osmindexer.cpp:30
    (gdb)
    Anyone can give a hint how to solve the problem?
    Thx,
    Chris

    Hi,
    Could you please answer a few questions to help isolate the problem:
    1) Does the database you are opening already exist?
    2) If it already exists, was it created on the same machine?
    3) Can you reproduce the same hang when creating a DB_BTREE database, instead of DB_HASH?
    4) Is the application actually hung in the fsync call, or is does it appear to be in an infinite loop (ie: can you make progress by stepping through the application in gdb)?
    Thanks,
    Alex Gorrod,
    Oracle Berkeley DB

  • Opening hang reports

    My main problem is, after recently upgrading to Leopard I get frequent hangs in Safari (sometimes other applications too, but unlike Safari, these usually resolve themselves in a few seconds). Hoping to post a couple of the hang reports (are these the same ones that I send to Apple?), I tried to open them but on the frame of the blank window it says, "You do not have permission to read this log." Why not? In the related information dialog box, unlocking it and changing things to Read & Write or Read Only doesn't work. How do I access these reports? Or is this not even the info you guys need to understand what's going on with my computer (which worked just fine until I stupidly upgraded to Leopard)?
    Any ideas about what to do to resolve the main problem, of course, would also be welcome. I see lots of people with these same issues but not much by way of clear solutions. Thanks.

    Not sure this will work, but have you tried logging in as the Root User?
    I've done it in Tiger, but haven't tried in Leopard yet.
    this should lay it out for you.
    You'll need to enable login at startup. (in preferences?)
    Personally, I'm considering downgrading today.

  • OracleConnection opening more than one session.

    Hi,
    I am using ODP.NET 10.2 client, when i try to connect to Oracle database using OracleConnection object it is creating more than one session object.
    I created one windows application, then i added the below code in form load event of the application
    Please find the below code
    string strConnection1 = "Persist Security Info=False;User ID=service1;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ases;";
    string strConnection2 = "Persist Security Info=False;User ID=service1;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ASES;";
    string strConnection3 = "Persist Security Info=False;User ID=service1_customer;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ases;";
    OracleConnection con = new OracleConnection(strConnection1);
    con.Open();
    OracleConnection con1 = new OracleConnection(strConnection2);
    con1.Open();
    OracleConnection con2 = new OracleConnection(strConnection3);
    con2.Open();
    When i run the below Query
    select * from V$session where PROGRAM='WindowsApplication7.vshost.exe'
    I am getting 6 session. Please help me out in this regard.

    The Error message was “Unable to open connection” once it reach the maximum session.
    I agree for that, Previously I was not disposing that connection object. Presently I am using keyword to dispose the connection object.
    Here I have doubt
    In connection string the pooling attribute is true by default.
    Scenario 1:
    If I specify externally(through connection string it behaves very badly) like pooling=true in the connection string. It will create more than one session.
    Scenario 2 :
    If I donot specify pooling attribute in connection string it will create only one session and it will consume the same session for all the instance.
    Below is the code snippet
    Here is the example for scenario 2
    private void button3_Click(object sender, EventArgs e)
    //Connection string which donot have a pooling value.
    string strConnection1 = "Persist Security Info=False;User ID= is_customer;Data Source=ISD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;PASSWORD=is;";
    using(OracleConnection con = new OracleConnection(strConnection1))
    con.Open();
    MessageBox.Show(GetSID(con));
    //con.Dispose();
    using (OracleConnection con2 = new OracleConnection(strConnection1))
    con2.Open();
    MessageBox.Show(GetSID(con2));
    //con2.Dispose();
    Scenario 1 Example:
    private void button7_Click(object sender, EventArgs e)
    string strConnection1 = "Persist Security Info=False;User ID= is_customer;Data Source=ISD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=is;";
    using (OracleConnection con = new OracleConnection(strConnection1))
    con.Open();
    MessageBox.Show(GetSID(con));
    //con.Dispose();
    using (OracleConnection con2 = new OracleConnection(strConnection1))
    con2.Open();
    MessageBox.Show(GetSID(con2));
    //con2.Dispose();
    GetSID is the function which is used to fetch the session of the connection string.
    private string GetSID(OracleConnection con)
         OracleCommand cmd = new OracleCommand();
         cmd.Connection = con;
         cmd.CommandText = "select SYS_CONTEXT('USERENV','SID') from dual";
    object sid = cmd.ExecuteScalar();
    return Convert.ToString(sid);
    In Scenario 2 example I will get only one session ID.
    But in Scenarion 1 example I will get different session ID’s.
    Please suggest what is the problem.
    Message was edited by:
    user476285

  • Oracle 11gR2 alter database open hangs for a long time

    Hi,
    We are cloning oracle apps database with RAC to non-RAC. We did the ORACLE_HOME clone and then duplicated the database with rman.
    It completed successfully.
    While trying to bounce the database, the db startup option hangs at "alter database open" for a long time
    There are no errors in the alert log file. It just waits at "alter database open"
    Please help and thanks in advance.
    Regards
    Sasikala

    These are the lines in the trace file
    Instance name: stdby
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 9
    Unix process pid: 434204, image: oracle@developmentDR (MMAN)
    *** 2011-01-31 09:32:40.713
    *** SESSION ID:(208.1) 2011-01-31 09:32:40.713
    *** CLIENT ID:() 2011-01-31 09:32:40.713
    *** SERVICE NAME:() 2011-01-31 09:32:40.713
    *** MODULE NAME:() 2011-01-31 09:32:40.713
    *** ACTION NAME:() 2011-01-31 09:32:40.713
    def_comp: comp id 7 bp state 4
    And I din try opening the db with resetlogs. Do you want me to do that?
    thanks

  • ZTE Open hangs most of the times

    I've been using ZTE Open for months now but i have a problem. It hangs most of the times. First of all i thought it was an early build(1.0) so i installed 1.1(stable), 1.2, 1.3 and running 1.4 now but the problem is same. It hangs! and when it does i have to lock the phone and wait for sometime to unlock it or just direct remove the battery(sometimes it doesn't solve the problem but sometimes it does). I can't now know for sure that will i be able to receive my incoming call or not?
    It just freezes most of the times. Tried so many things like clearing cache installing different ROMs(1.2, 1.3) etc but same problem
    Anyone having the same problem?
    Any suggestions?

    linuxholic,
    I have a bit a learning curve with logs, but I am really happy that this issue was resolved for you.
    I did find this in your second log
    <blockquote>
    D/memalloc( 114): /dev/pmem: Freeing buffer base:0x4ccb3000 size:16384 offset:1
    409024 fd:159
    E/AudioPolicyManager( 118): setOutputDevice() setting same device 0x0 or null d
    evice for output 1
    I/Adreno200-EGLSUB( 114): <CreateImage:991>: Android Image
    I/Adreno200-EGLSUB( 114): <GetImageAttributes:1256>: RGBX_8888
    D/memalloc( 114): /dev/pmem: Freeing buffer base:0x4ccef000 size:81920 offset:1
    654784 fd:166
    D/memalloc( 114): /dev/pmem: Freeing buffer base:0x4cd03000 size:81920 offset:1
    736704 fd:199
    I/Gecko ( 114): -*- QCContentHelper_QC_B2G: receiveMessage: 'RIL:RegisterMobi
    leConnectionMsg' arrived from content process
    I/Gecko ( 114): -*- QCContentHelper_QC_B2G: Already registered this target!
    I/ONCRPC ( 117): rpc_handle_rpc_call: for Xid: 3d8, Prog: 31000000, Vers: fc37
    ad5c, Proc: 00000012
    I/ONCRPC ( 117): rpc_handle_rpc_call: Find Status: 0 Xid: 3d8
    I/ONCRPC ( 117): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 3d8
    D/SST_QC_B2G( 114): Signal Strength changed; sending info to content process
    D/SIGNAL_STRENGTH_QC_B2G( 114): GetDbm = -57
    D/SIGNAL_STRENGTH_QC_B2G( 114): GetRelSignalStrength = 90
    D/SIGNAL_STRENGTH_QC_B2G( 114): GetDbm = -57
    D/SIGNAL_STRENGTH_QC_B2G( 114): GetRelSignalStrength = 90
    I/Gecko ( 114): -*- QCContentHelper_QC_B2G: sendMessage to content process: R
    IL:VoiceInfoChanged{connected : true,emergencyCallsOnly : false,roaming : false,
    type : 'unknown',signalStrength : -57,relSignalStrength : 90,network : {mcc : '4
    10', mnc : '07', longName : 'WaridTel', shortName : 'Warid'},cell : {gsmLocation
    AreaCode : 711, gsmCellId :44393},state : 'registered'}
    I/Gecko ( 114): -*- QCContentHelper_QC_B2
    </blockquote>
    Something was incoming to freeze the buffer then a process went in to change the setting of the network connection strength. But I do not speak log. If the issue did continue though, what I meant by steps were the exact actions you took while you were capturing the logs. These steps help when filing a bug in bugzilla.

Maybe you are looking for

  • Has anyone got the QT stand alone installer to work?

    OK, Has anyone got the QT stand alone installer to work that has a problem getting IT6 to work also? You can look at my original thread and see what I've been through: http://discussions.apple.com/thread.jspa?threadID=262511&tstart=0 and now am stuck

  • Compress the request of inventory cube 0ic_c03

    Hi experts, I want to compress the infocube 0ic_c03 daily for the delta requests through process chains. In the process chain, process types there are 2 options: 1.Collapse only those requests that were loaded XXX days ago 2.Number of requests that y

  • Putting a speaker nexto to the cinema display

    Hi, I have a 27" thunderbolt apple cinema display which is hooked up with my macbook pro; I also have a wireless speaker which is always on my dek next to the display and I use it whe music; so I want to know if magnets in the speaker can damage the

  • I need help making rounded edge rectangular buttons

    Howdy, I need to know how to make the buttons I insert appear rectangular with rounded edges. Any help anyone can offer would be appreciated. I have a subscription to an online tutorial, but I don't even know how to ask it to teach me what I need to

  • Anyone know why my computer would shutdown on it's own?

    So far it this has happened three times now. My computer for no apparent (at least not apparent to me) has shutdown on it's own. After the second time it happened, I took the tower into the Apple store and the mac genius at the genius bar suggested t