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

Similar Messages

  • Firefox will not open again after crashing

    Firefox crashed and brought up the Mozilla crash reporter. When I tried to restart firefox it just brought up another crash reporter and so on. I tried restarting my computer and it did nothing. When I look at the troubleshooting on this website it tells me to look in my menu bar, but I can't even open Firefox to get to that menu. Then it sends me to firefox won't start, and when I click on the part of that page about it crashing, it sends me in a circle right back to the page which told me to check my menu bar. My firefox also recently auto-updated.

    Have you tried running Firefox with all add-on disabled (aka. safe mode)? Look in your start menu, there is an entry called "Firefox (safe mode).

  • Opening DB after a crash on Windows hangs

    If our application crashes on Windows sometimes on restart a DB open hangs. Here is the stack:
    0b7efad0 6363cb5d KERNEL32!WaitForSingleObject+0xf
    0b7efb18 636794d9 MDSConfig!__memp_fopen+0x37d
    0b7efb84 636790e0 MDSConfig!__db_dbenv_mpool+0x1c9
    0b7efba8 636489c3 MDSConfig!__db_dbenv_setup+0x90
    0b7efbd8 6364521b MDSConfig!__db_open+0x1a3
    0b7efc14 6361a1cd MDSConfig!__db_open_pp+0x1cb
    Running in debugger shows it has stopped on this line:
    check:     MUTEX_LOCK(dbenv, hp->mtx_hash);
    We are using file based shared memory on version 4.5.20. Deleting the __db.001 file allows the DB to be opened.
    Can anyone explain what is happenning? Is the mutex held in the __db.001 file and appears to be held because the crash has left the data inconsistent?
    Thanks.
    Edited by: 796651 on Sep 22, 2010 9:55 PM
    Edited by: 796651 on Sep 22, 2010 9:57 PM

    Firefox is designed to show a different screen if there are two consecutive crash resumptions, but perhaps there is just enough success that you aren't getting the other screen.
    You might find it more convenient to always get the "choose windows and tabs" screen, so here is how you do that:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered
    (3) Double-click the '''browser.sessionstore.max_resumed_crashes''' preference and change the value from 1 to 0 and OK that.
    ''Note: Please don't modify other sessionstore preferences without researching them first.''

  • TS1702 any app I download from the app store doesn't open. after I finished downloading the app I tap it to open but it crashes as soon as i finish downloading it. yes, the downloading process works but any app I download won't launch. pls help

    any app I download from the app store doesn't open. after I finished downloading the app I tap it to open but it crashes as soon as i finish downloading it. yes, the downloading process works but any app I download won't launch. pls help

    Hi,
    Install the v10.6.6 combo update available here. It's ok to do this even though you are already running v10.6.6. The combo includes fixes that were not included in the original update.
    http://support.apple.com/kb/DL1349
    Restart your Mac and try the MAS again.
    You can download apps directly from the MAS once you have it running.
    Considering the TM backup took so long, make sure there's enough space on your Mac startup disk.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. *Make sure you always have a minimum of 15% free disk space.*
    Carolyn

  • After crashing, Firefox is not re-openeing saved tabs from my last session, but is re-opening tabs from a session over a month old. How do I find my saved tabs?

    After crashing, Firefox is not re-opening saved tabs from my last session, but is re-opening tabs from a session over a month old. How do I find my saved tabs?

    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • Adobe Reader hangs after opening a PDF file for a minuet

    Adobe Reader hangs after opening a PDF file for a minuet

    Pat. Thanks for your promote reply. I have resolved the issue.
    Closing the tools pane at the right side:
    open Adobe Reader without opening a PDF file
    collapse 'Tools' pane
    then open some PDF
    It shouldn't hang anymore

  • I have installed windows 8 on my mac book pro with bootcamp 4 and the issue is whenever i open windows 8 , It hangs after 15 minutes and does not work . How to resolve this issue?

    I have installed windows 8 on my mac book pro with bootcamp 4 and the issue is whenever i open windows 8 , It hangs after 15 minutes and does not work . How to resolve this issue? Is it compatibility issue ?

    Please also see Boot Camp: Set the default operating system.

  • 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.

  • I have Mozilla Firefox as my browser vs Internet explorer. This morning when I tried to open Mozilla after several attempts it said it had crashed with a window that I could check the box to send the report to Mozilla but it wont even let me send the repo

    have Mozilla Firefox as my browser vs Internet explorer. This morning when I tried to open Mozilla after several attempts it said it had crashed with a window that I could check the box to send the report to Mozilla but it wont even let me send the report I can get on the internet with explorer but dont want to go back to that so would I just delete mozzila and start all over or will that not clear up the problem? Im lost help

    Have you tried any of the solutions in [[Firefox crashes when you open it]]?

  • Indesign CC opens "untitled document" after crashing

    After crashing, Indesign CC recovers the open documents in "untitled documents" instead of using the original documentnames.

    That's what's supposed to happen. It's up to you if you want to overwrite the last actual saved version with one that might potentially have a problem. I always opt to do a save as to a new version name.

  • Outlook for mac 2011 hangs after opening contacts

    Outlook for mac 2011 hangs after opening contacts . Shows it is syncing but is not updated  . Tried rebuilding the identity

    Hi,
    This is the forum to discuss questions and feedback for Windows-based Microsoft Office client. Since your query is directly related to Office for mac, I would suggest you to post in the forum of
    Office for Mac, where you can get more experienced responses:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011?tab=Threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Since upgrading from FF 3.x to 8.0.1, I'm experiencing more hangs and crashes. Most recently, FF lost ALL OF MY OPEN TABS. Is there any way to get them back?

    I had a TON of browsing history in those tabs and there is NO WAY I could recreate it all manually. Is there any possibility that FF could get them back even though the "Restore Previous Session" menu option is greyed out? BTW, I've had more hangs and crashes with 8.0.1 than with any previous version of Firefox.

    Did that inadvertently (can someone at Mozilla tell me if the download procedure has changed? I only wanted to download the new version, not install it right away, but it got installed with no input from me. I DO NOT APPRECIATE THAT. Starting to lose my love of firefox.)
    Everything is just GONE. Thanks, firefox team, for nothing.

  • Safari 7.1 hangs and crashes when any extension installed

    Hi
    after latest Safari upgrade (ver 7.1 seed 1), Safari hangs and crashes after I install any extensions. When I delete all extensions from extensions dir, the problem disappear.
    Thank's for any advice.
    Date/Time:       2014-07-12 10:14:58 +0200
    OS Version:      10.9.4 (Build 13E28)
    Architecture:    x86_64
    Report Version:  18
    Command:         Safari
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Version:         7.1 (9537.85.5)
    Build Version:   2
    Project Name:    WebBrowser
    Source Version:  7537085005000000
    Parent:          launchd [144]
    PID:             7146
    Event:           hang
    Duration:        7.99s
    Steps:           80 (100ms sampling interval)
    Hardware model:  MacBookPro11,2
    Active cpus:     8
    Fan speed:       2153 rpm
    Free pages:      534132 pages (+226260)
    Pageins:         2 pages
    Pageouts:        0 pages
    Swapins:         0 pages
    Swapouts:        0 pages
    Process:         Safari [7146]
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Architecture:    x86_64
    Parent:          launchd [144]
    UID:             502
    Task size:       86388 pages (+7)
    CPU Time:        0.036s
      Thread 0x1ab7c    DispatchQueue 1          priority 47       
      80 start + 1 (libdyld.dylib) [0x7fff8c68c5fd]
        80 SafariMain + 267 (Safari) [0x10a683bcd]
          80 NSApplicationMain + 940 (AppKit) [0x7fff83e1c783]
            80 -[NSApplication run] + 553 (AppKit) [0x7fff83e3199c]
              80 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 161 (Safari) [0x10a4b2690]
                80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 (AppKit) [0x7fff83e3d89b]
                  80 _DPSNextEvent + 1434 (AppKit) [0x7fff83e3e24e]
                    80 _BlockUntilNextEventMatchingListInModeWithFilter + 65 (HIToolbox) [0x7fff8aa975bc]
                      80 ReceiveNextEventCommon + 479 (HIToolbox) [0x7fff8aa977b7]
                        80 RunCurrentEventLoopInMode + 226 (HIToolbox) [0x7fff8aa97a0d]
                          80 CFRunLoopRunSpecific + 309 (CoreFoundation) [0x7fff86309e75]
                            80 __CFRunLoopRun + 1525 (CoreFoundation) [0x7fff8630a6a5]
                              80 __CFRunLoopDoTimers + 298 (CoreFoundation) [0x7fff863c05aa]
                                80 __CFRunLoopDoTimer + 1151 (CoreFoundation) [0x7fff8634ef1f]
                                  80 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 (CoreFoundation) [0x7fff8634f3e4]
                                    80 WebCore::timerFired(__CFRunLoopTimer*, void*) + 20 (WebCore) [0x10bb23ec4]
                                      80 WebCore::ThreadTimers::sharedTimerFiredInternal() + 175 (WebCore) [0x10bb23faf]
                                        80 WebCore::DOMTimer::fired() + 318 (WebCore) [0x10bc8a0be]
                                          80 WebCore::ScheduledAction::execute(WebCore::Document*) + 144 (WebCore) [0x10bc8a250]
                                            80 WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext*) + 537 (WebCore) [0x10bc8a4d9]
                                              80 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*) + 63 (JavaScriptCore) [0x10af5c7cf]
                                                80 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 438 (JavaScriptCore) [0x10ada0576]
                                                  80 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 35 (JavaScriptCore) [0x10b0b4e83]
                                                    80 callToJavaScript + 311 (JavaScriptCore) [0x10b1268f3]
                                                      80 llint_entry + 22744 (JavaScriptCore) [0x10b12c3f0]
                                                        80 ??? [0x32eb0d80299a]
                                                          80 llint_entry + 22744 (JavaScriptCore) [0x10b12c3f0]
                                                            80 ??? [0x32eb0d80299a]
                                                              80 llint_entry + 10037 (JavaScriptCore) [0x10b12924d]
                                                                80 llint_slow_path_get_by_id + 696 (JavaScriptCore) [0x10af3f308]
                                                                  80 WebCore::JSHTMLEmbedElement::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) + 28 (WebCore) [0x10c2d1d8c]
                                                                    80 WebCore::JSHTMLEmbedElement::getOwnPropertySlotDelegate(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) + 24 (WebCore) [0x10bd9d7d8]
                                                                      80 bool WebCore::pluginElementCustomGetOwnPropertySlot<WebCore::JSHTMLEmbedElement, WebCore::JSHTMLElement>(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&, WebCore::JSHTMLEmbedElement*) + 195 (WebCore) [0x10bd9d8a3]
                                                                        80 WebCore::pluginElementCustomGetOwnPropertySlot(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&, WebCore::JSHTMLElement*) + 34 (WebCore) [0x10c38b622]
                                                                          80 WebCore::pluginScriptObject(JSC::ExecState*, WebCore::JSHTMLElement*) + 150 (WebCore) [0x10bcc6606]
                                                                            80 WebCore::HTMLPlugInElement::pluginWidget() const + 23 (WebCore) [0x10bcc66b7]
                                                                              80 WebCore::HTMLEmbedElement::renderWidgetForJSBindings() const + 70 (WebCore) [0x10bd9d906]
                                                                                80 WebCore::Document::updateLayoutIgnorePendingStylesheets(WebCore::Document::RunP ostLayoutTasks) + 297 (WebCore) [0x10bf80189]
                                                                                  80 WebCore::FrameView::flushAnyPendingPostLayoutTasks() + 111 (WebCore) [0x10c07bd9f]
                                                                                    80 WebCore::FrameView::updateEmbeddedObjects() + 159 (WebCore) [0x10c07bd0f]
                                                                                        80 WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets() + 299 (WebCore) [0x10bb40eab]
                                                                                          80 WebCore::ScrollView::addChild(***::PassRefPtr<WebCore::Widget>) + 125 (WebCore) [0x10bb85bbd]
                                                                                            80 WebCore::ScrollView::platformAddChild(WebCore::Widget*) + 145 (WebCore) [0x10c69dae1]
                                                                                              80 -[WebHTMLView addSubview:] + 50 (WebKitLegacy) [0x10b9154a2]
                                                                                                80 -[NSView addSubview:] + 364 (AppKit) [0x7fff83e527d4]
                                                                                                  80 -[NSView _setWindow:] + 2899 (AppKit) [0x7fff83e55190]
                                                                                                    80 -[WebBaseNetscapePluginView viewDidMoveToWindow] + 163 (WebKitLegacy) [0x10b924473]
                                                                                                      80 -[WebBaseNetscapePluginView start] + 212 (WebKitLegacy) [0x10b9246c4]
                                                                                                        80 -[WebHostedNetscapePluginView createPlugin] + 402 (WebKitLegacy) [0x10b924962]
                                                                                                          80 WebKit::NetscapePluginHostManager::instantiatePlugin(***::String const&, int, ***::String const&, WebHostedNetscapePluginView*, NSString*, NSArray*, NSArray*, NSString*, NSURL*, bool, bool, bool, bool) + 57 (WebKitLegacy) [0x10b9508d9]
                                                                                                            80 WebKit::NetscapePluginHostManager::hostForPlugin(***::String const&, int, ***::String const&) + 194 (WebKitLegacy) [0x10b924c32]
                                                                                                              80 WebKit::NetscapePluginHostManager::spawnPluginHost(***::String const&, int, unsigned int, unsigned int&, ProcessSerialNumber&) + 52 (WebKitLegacy) [0x10b924d44]
                                                                                                                80 WebKit::NetscapePluginHostManager::initializeVendorPort() + 161 (WebKitLegacy) [0x10b9251c1]
                                                                                                                  80 _WKPACheckInApplication + 133 (WebKitLegacy) [0x10b925265]
                                                                                                                    80 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8da19a1a]
                                                                                                                     *80 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff80002167d0]
      Thread 0x1ab93    DispatchQueue 2          priority 49         cpu time   0.005s
      80 _dispatch_mgr_thread + 52 (libdispatch.dylib) [0x7fff8a4f2136]
        80 kevent64 + 10 (libsystem_kernel.dylib) [0x7fff8da1e662]
         *80 ??? (mach_kernel + 3959520) [0xffffff80005c6ae0]
      Thread 0x1aba8    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 WebCore::IconDatabase::iconDatabaseSyncThread() + 295 (WebCore) [0x10bb0c0f7]
                80 WebCore::IconDatabase::syncThreadMainLoop() + 411 (WebCore) [0x10bb0e71b]
                  80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                   *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abb2    priority 63       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 thread_fun + 25 (QuartzCore) [0x7fff86fc22ad]
              80 CA::Render::Server::server_thread(void*) + 195 (QuartzCore) [0x7fff86fc2377]
                80 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8da19a1a]
                 *80 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff80002167d0]
      Thread 0x1abb5    priority 63       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 __NSThread__main__ + 1318 (Foundation) [0x7fff85eec76b]
              80 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348 (Foundation) [0x7fff85eec967]
                80 CFRunLoopRunSpecific + 309 (CoreFoundation) [0x7fff86309e75]
                  80 __CFRunLoopRun + 1161 (CoreFoundation) [0x7fff8630a539]
                    80 __CFRunLoopServiceMachPort + 181 (CoreFoundation) [0x7fff8630af15]
                      80 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8da19a1a]
                       *80 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff80002167d0]
      Thread 0x1abb8    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 __select + 10 (libsystem_kernel.dylib) [0x7fff8da1d9aa]
             *80 ??? (mach_kernel + 4079664) [0xffffff80005e4030]
      Thread 0x1abe7    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::BlockAllocator::blockFreeingThreadMain() + 227 (JavaScriptCore) [0x10ad5d983]
                80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                  80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                   *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abe8    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abe9    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abea    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abeb    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abec    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abed    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abee    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::BlockAllocator::blockFreeingThreadMain() + 227 (JavaScriptCore) [0x10ad5d983]
                80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                  80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                   *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abef    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abf0    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abf1    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abf2    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]
                80 JSC::GCThread::waitForNextPhase() + 171 (JavaScriptCore) [0x10ad5e1cb]
                  80 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47 (libc++.1.dylib) [0x7fff8c3c5d43]
                    80 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8da1d716]
                     *80 psynch_cvcontinue + 0 (pthread) [0xffffff7f80b51940]
      Thread 0x1abf3    priority 47       
      80 thread_start + 13 (libsystem_pthread.dylib) [0x7fff88339fc9]
        80 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8833572a]
          80 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff88335899]
            80 ***::wtfThreadEntryPoint(void*) + 15 (JavaScriptCore) [0x10ad53c3f]
              80 JSC::GCThread::gcThreadMain() + 88 (JavaScriptCore) [0x10ad5e028]

    Here's a simple AppleScript I wrote to work around this 'issue'
    -- Safari_Extensions
    -- author: Matt D
    -- email: [email protected]
    -- created: 07.17.2014
    try -- ask whether or not to disable or enable Safari extensions
      display dialog "Safari Extensions" buttons {"Enable", "Disable", "Cancel"} with icon stop default button 1
      set userChoice to button returned of result
      if userChoice = "Disable" then
      do shell script "defaults write com.apple.Safari ExtensionsEnabled 0"
      display dialog "Extensions Disabled!" buttons {"Ok"} with icon applet default button 1
      else if userChoice = "Enable" then
      do shell script "defaults write com.apple.Safari ExtensionsEnabled 1"
      display dialog "Extensions Enabled!" buttons {"Ok"} with icon applet default button 1
      else if userChoice = "Cancel" then
      display dialog "You quit" buttons {"Ok"} with icon applet default button 1
      quit
      end if
    end try
    try -- Restart Safari with the Extension Flag set
      display dialog "Restart Safari?" buttons {"Restart", "Cancel"} with icon stop default button 1
      set userChoice to button returned of result
      if userChoice = "Restart" then
      do shell script "killall Safari; open -a Safari"
      else if userChoice = "Cancel" then
      quit
      end if
    end try
    Here's my blog post about it http://oramatt.com/2014/07/17/safari-extension-changer/

  • Safari hangs and crashes

    I've owned a MPB for 13 months and for 13 months it's been nothing but headaches.
    I know that to other Mac users this sounds negative because Apple products are cool, but my experience with my MPB has been nothing but negative.
    I've written to the Cupertino office, I've written to the Apple store where I purchased this unit, and am currently waiting for an answer (been about ten days since i mailed out copies of problem logs and description of problems).
    One trip to genius bar = zero resolution.
    Two apple care calls = zero resolution.
    Countless inquiries on the forums = zero resolution.
    Safari hangs and crashes.
    Word will lock up really badly. The other day I had a doc opened, started a new doc, it took my MPB 17 seconds to start a new doc.
    XL will lock up though not as much (and I don't use it as much).
    I'm a blogger, so I use Safari and Word from morning to night.
    This morning no video (vimeo, youtube, other video types) would play on Safari.
    On safari some weird flickering of different color panes sometimes occurs. Sometimes I get some grey vertical bars across.
    When I go full-screen while watching Netflix the screen goes dark, I have to refresh the page, restart the movie.
    If anyone has a suggestion as to what to do, please help me.
    These problems have been present since day one. This was a unit which was an exchange. The first MPB I got from the Tysons Corner store in Virginia had a graphic card on the fritz, I returned it after 3 days.
    Can anyone understand my frustration?
    Ali Naderzad

    Hi
    I'm not using Tiger so I don't know the terminology used in OnyX's Tiger version. Anyway, the steps are in the Automation panel. I believe "maintenance scripts" is used in both versions. Not sure about the caches. Have a look at this post for explanations.
    If the above doesn't help, I suggest you start a new thread, as your issues may be different than the originator of this thread. Include a copy of the entire crash report (note: If the crash report says "hang", then OnyX is usually the remedy.) Otherwise, select "report" on the quit panel, then copy/paste the entire crash report to your post in the new thread.

  • Add bookmark hangs and crashes safari 7

    After upgrade to OSX 10.9 and Safari 7.0, trying to add or edit bookmarks do not work.
    Safari hangs and crashes the OS

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    In the Console window, look under the heading DIAGNOSTIC AND USAGE INFORMATION on the left for crash or panic reports. If you don't see that heading, select
    View ▹ Show Log List
    from the menu bar.
    A crash report has a name that begins with the name of the crashed process and ends in ".crash". It may be under either of the two subcategories, "System" and "User." A panic report has a name that begins with "Kernel" and ends in ".panic".
    Select the most recent of each and post the entire contents — the text, please, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post any other kind of diagnostic report, such as a hang log — they're very long and not helpful.

Maybe you are looking for