Author Topic: OS X client crashes on startup  (Read 2789 times)

0 Members and 1 Guest are viewing this topic.

Offline alphaBar

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
This crash appears to be caused by the Adobe plugin located at
/Libraries/Internet Plug-Ins/AdobeAAMDetect.plugin
Try moving that plugin to a different location so it is not found and starting BitShares again. Let me know if that fixes your issue.

You'll probably want to put the plugin back when you're done, but I am guessing that BitShares will not work while it is present. We are looking into a way to avoid loading it altogether.

That worked. Also solidifies my hate for Adobe. Thanks.

Offline modprobe

This crash appears to be caused by the Adobe plugin located at
/Libraries/Internet Plug-Ins/AdobeAAMDetect.plugin
Try moving that plugin to a different location so it is not found and starting BitShares again. Let me know if that fixes your issue.

You'll probably want to put the plugin back when you're done, but I am guessing that BitShares will not work while it is present. We are looking into a way to avoid loading it altogether.

Offline uray

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • cryptoport
i got error too, can't start mac wallet since 0.3.x

Code: [Select]
Loading config from: /Users/uraymeiviar/Library/Application Support/BitShares X/config.json
Initializing genesis state from built-in genesis file
Successfully re-indexed 0 blocks in 0 seconds.
Initializing genesis state from built-in genesis file
/index.html
/css/app.css
/js/app.js
/locale-en.json
/img/logo-ico.svg
2014-08-21 15:53:22.148 BitSharesX[21581:507] Error loading /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin:  dlopen(/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin, 265): no suitable image found.  Did find:
/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin: mach-o, but wrong architecture
2014-08-21 15:53:22.159 BitSharesX[21581:507] Cannot find executable for CFBundle 0x7fa6d7107ee0 </Library/Internet Plug-Ins/Unused> (not loaded)
BitSharesX(21581,0x7fff7123e310) malloc: *** error for object 0x7fff712cc330: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

already clean up everything in Application Support , and re install from .dmg
btsx delegate : wallet_approve_delegate delegate.cryptoport
btsx seednode : network_add_node "54.254.168.208:443"

Offline alphaBar

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
Interesting problem... looks like it has to do with Webkit plugins.

Any way to troubleshoot? I'm guessing I'm not the only one...

Offline bytemaster

Interesting problem... looks like it has to do with Webkit plugins.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline alphaBar

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
Ok, I removed everything from ~/Library/Application Support/ and now I get this:

Quote
Process:         BitSharesX [1238]
Path:            /Applications/BitSharesX.app/Contents/MacOS/BitSharesX
Identifier:      org.bitshares.btsx
Version:         .. (..)
Code Type:       X86-64 (Native)
Parent Process:  launchd [157]
Responsible:     BitSharesX [1238]
User ID:         502

Date/Time:       2014-08-20 15:16:30.342 -0700
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID: 

Sleep/Wake UUID:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x7fff7d001330: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff94f1e866 __pthread_kill + 10
1   libsystem_pthread.dylib          0x00007fff8fc7035c pthread_kill + 92
2   libsystem_c.dylib                0x00007fff8bbadb1a abort + 125
3   libsystem_malloc.dylib           0x00007fff954b107f free + 411
4   libstdc++.6.dylib                0x0000000113026bce std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) + 302
5   libstdc++.6.dylib                0x000000011302a8ce std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) + 62
6   libstdc++.6.dylib                0x00007fff95d63b44 std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) + 430
7   com.AdobeAAMDetectLib.AdobeAAMDetect   0x000000012be2d239 NP_Initialize + 409
8   QtWebKit                         0x000000010f5406b5 WebCore::PluginPackage::load() + 245
9   QtWebKit                         0x000000010f53f71a WebCore::PluginPackage::fetchInfo() + 42
10  QtWebKit                         0x000000010f490157 WebCore::PluginPackage::createPackage(WTF::String const&, long const&) + 55
11  QtWebKit                         0x000000010f48c915 WebCore::PluginDatabase::refresh() + 677
12  QtWebKit                         0x000000010f48c40c WebCore::PluginDatabase::installedPlugins(bool) + 236
13  QtWebKit                         0x000000010f0d1e04 PlatformStrategiesQt::getPluginInfo(WebCore::Page const*, WTF::Vector<WebCore::PluginInfo, 0ul, WTF::CrashOnOverflow>&) + 1348
14  QtWebKit                         0x000000010f3f3976 WebCore::PluginData::PluginData(WebCore::Page const*) + 134
15  QtWebKit                         0x000000010f3d9c4e WebCore::Page::pluginData() const + 46
16  QtWebKit                         0x000000010feda4a1 WebCore::DOMImplementation::createDocument(WTF::String const&, WebCore::Frame*, WebCore::KURL const&, bool) + 305
17  QtWebKit                         0x000000010f33e503 WebCore::DocumentWriter::createDocument(WebCore::KURL const&) + 147
18  QtWebKit                         0x000000010f33dfaa WebCore::DocumentWriter::begin(WebCore::KURL const&, bool, WebCore::Document*) + 106
19  QtWebKit                         0x000000010f5ea2cd WebCore::SVGImage::dataChanged(bool) + 669
20  QtWebKit                         0x000000010f423c08 WebCore::Image::setData(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 104
21  QtWebKit                         0x000000010f325d5e WebCore::CachedImage::finishLoading(WebCore::ResourceBuffer*) + 158
22  QtWebKit                         0x000000010f368935 WebCore::SubresourceLoader::didFinishLoading(double) + 133
23  QtWebKit                         0x000000010f514331 WebCore::QNetworkReplyHandler::finish() + 257
24  QtWebKit                         0x000000010f512c4b WebCore::QNetworkReplyHandlerCallQueue::flush() + 203
25  QtWebKit                         0x000000010f515f1a WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 58
26  QtCore                           0x0000000112993c6f QMetaObject::activate(QObject*, int, int, void**) + 1871
27  QtNetwork                        0x0000000111f7ff41 QNetworkReplyHttpImplPrivate::finished() + 1153
28  QtNetwork                        0x0000000112000b2d QNetworkReplyHttpImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1901
29  QtCore                           0x000000011298cd7b QObject::event(QEvent*) + 747
30  QtWidgets                        0x000000010ea702dc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
31  QtWidgets                        0x000000010ea72d9b QApplication::notify(QObject*, QEvent*) + 6187
32  org.bitshares.btsx               0x000000010d1ed56e BitSharesApp::notify(QObject*, QEvent*) + 14
33  QtCore                           0x00000001129605d7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
34  libqcocoa.dylib                  0x00000001149edad6 QCocoaEventDispatcherPrivate::processPostedEvents() + 278
35  libqcocoa.dylib                  0x00000001149ee478 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
36  com.apple.CoreFoundation         0x00007fff913705b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37  com.apple.CoreFoundation         0x00007fff91361c62 __CFRunLoopDoSources0 + 242
38  com.apple.CoreFoundation         0x00007fff913613ef __CFRunLoopRun + 831
39  com.apple.CoreFoundation         0x00007fff91360e75 CFRunLoopRunSpecific + 309
40  com.apple.HIToolbox              0x00007fff8d9b1a0d RunCurrentEventLoopInMode + 226
41  com.apple.HIToolbox              0x00007fff8d9b17b7 ReceiveNextEventCommon + 479
42  com.apple.HIToolbox              0x00007fff8d9b15bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
43  com.apple.AppKit                 0x00007fff9252624e _DPSNextEvent + 1434
44  com.apple.AppKit                 0x00007fff9252589b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
45  com.apple.AppKit                 0x00007fff9251999c -[NSApplication run] + 553
46  libqcocoa.dylib                  0x00000001149ed1d4 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2420
47  QtCore                           0x000000011295cacd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
48  QtCore                           0x0000000112960007 QCoreApplication::exec() + 359
49  org.bitshares.btsx               0x000000010d1ebce0 BitSharesApp::run() + 2608
50  org.bitshares.btsx               0x000000010d1eb1b5 BitSharesApp::run(int&, char**) + 469
51  org.bitshares.btsx               0x000000010d1ccdc4 main + 20
52  libdyld.dylib                    0x00007fff993f35fd start + 1

Offline testz

The only version that works on my machine is 0.2.3. Both 0.3.0 and 0.4.4 are crashing.

Can you try to delete all BitSharesX data files/folders (except wallets folder) and run it again?
Make sure that you have backup first, if not, use Export menu from 0.2.3 wallet.

Offline alphaBar

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
The only version that works on my machine is 0.2.3. Both 0.3.0 and 0.4.4 are crashing.

Offline alphaBar

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
Right after displaying "calculating the last 3 digits of pi" the client crashes. Output:

Quote
Process:         BitSharesX [781]
Path:            /Applications/BitSharesX.app/Contents/MacOS/BitSharesX
Identifier:      org.bitshares.btsx
Version:         .. (..)
Code Type:       X86-64 (Native)
Parent Process:  launchd [157]
Responsible:     BitSharesX [781]
User ID:         502

Date/Time:       2014-08-20 10:57:04.019 -0700
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID: 


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x7fff7d001330: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff94f1e866 __pthread_kill + 10
1   libsystem_pthread.dylib          0x00007fff8fc7035c pthread_kill + 92
2   libsystem_c.dylib                0x00007fff8bbadb1a abort + 125
3   libsystem_malloc.dylib           0x00007fff954b107f free + 411
4   libstdc++.6.dylib                0x0000000113473bce std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) + 302
5   libstdc++.6.dylib                0x00000001134778ce std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) + 62
6   libstdc++.6.dylib                0x00007fff95d63b44 std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) + 430
7   com.AdobeAAMDetectLib.AdobeAAMDetect   0x000000012d084239 NP_Initialize + 409
8   QtWebKit                         0x000000010f9986b5 WebCore::PluginPackage::load() + 245
9   QtWebKit                         0x000000010f99771a WebCore::PluginPackage::fetchInfo() + 42
10  QtWebKit                         0x000000010f8e8157 WebCore::PluginPackage::createPackage(WTF::String const&, long const&) + 55
11  QtWebKit                         0x000000010f8e4915 WebCore::PluginDatabase::refresh() + 677
12  QtWebKit                         0x000000010f8e440c WebCore::PluginDatabase::installedPlugins(bool) + 236
13  QtWebKit                         0x000000010f529e04 PlatformStrategiesQt::getPluginInfo(WebCore::Page const*, WTF::Vector<WebCore::PluginInfo, 0ul, WTF::CrashOnOverflow>&) + 1348
14  QtWebKit                         0x000000010f84b976 WebCore::PluginData::PluginData(WebCore::Page const*) + 134
15  QtWebKit                         0x000000010f831c4e WebCore::Page::pluginData() const + 46
16  QtWebKit                         0x00000001103324a1 WebCore::DOMImplementation::createDocument(WTF::String const&, WebCore::Frame*, WebCore::KURL const&, bool) + 305
17  QtWebKit                         0x000000010f796503 WebCore::DocumentWriter::createDocument(WebCore::KURL const&) + 147
18  QtWebKit                         0x000000010f795faa WebCore::DocumentWriter::begin(WebCore::KURL const&, bool, WebCore::Document*) + 106
19  QtWebKit                         0x000000010fa422cd WebCore::SVGImage::dataChanged(bool) + 669
20  QtWebKit                         0x000000010f87bc08 WebCore::Image::setData(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 104
21  QtWebKit                         0x000000010f77dd5e WebCore::CachedImage::finishLoading(WebCore::ResourceBuffer*) + 158
22  QtWebKit                         0x000000010f7c0935 WebCore::SubresourceLoader::didFinishLoading(double) + 133
23  QtWebKit                         0x000000010f96c331 WebCore::QNetworkReplyHandler::finish() + 257
24  QtWebKit                         0x000000010f96ac4b WebCore::QNetworkReplyHandlerCallQueue::flush() + 203
25  QtWebKit                         0x000000010f96df1a WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 58
26  QtCore                           0x0000000112de7c6f QMetaObject::activate(QObject*, int, int, void**) + 1871
27  QtNetwork                        0x00000001123cbf41 QNetworkReplyHttpImplPrivate::finished() + 1153
28  QtNetwork                        0x000000011244cb2d QNetworkReplyHttpImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1901
29  QtCore                           0x0000000112de0d7b QObject::event(QEvent*) + 747
30  QtWidgets                        0x000000010eec92dc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
31  QtWidgets                        0x000000010eecbd9b QApplication::notify(QObject*, QEvent*) + 6187
32  org.bitshares.btsx               0x000000010d64756e BitSharesApp::notify(QObject*, QEvent*) + 14
33  QtCore                           0x0000000112db45d7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
34  libqcocoa.dylib                  0x0000000114e3aad6 QCocoaEventDispatcherPrivate::processPostedEvents() + 278
35  libqcocoa.dylib                  0x0000000114e3b478 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
36  com.apple.CoreFoundation         0x00007fff913705b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37  com.apple.CoreFoundation         0x00007fff91361c62 __CFRunLoopDoSources0 + 242
38  com.apple.CoreFoundation         0x00007fff913613ef __CFRunLoopRun + 831
39  com.apple.CoreFoundation         0x00007fff91360e75 CFRunLoopRunSpecific + 309
40  com.apple.HIToolbox              0x00007fff8d9b1a0d RunCurrentEventLoopInMode + 226
41  com.apple.HIToolbox              0x00007fff8d9b17b7 ReceiveNextEventCommon + 479
42  com.apple.HIToolbox              0x00007fff8d9b15bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
43  com.apple.AppKit                 0x00007fff9252624e _DPSNextEvent + 1434
44  com.apple.AppKit                 0x00007fff9252589b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
45  com.apple.AppKit                 0x00007fff9251999c -[NSApplication run] + 553
46  libqcocoa.dylib                  0x0000000114e3a1d4 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2420
47  QtCore                           0x0000000112db0acd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
48  QtCore                           0x0000000112db4007 QCoreApplication::exec() + 359
49  org.bitshares.btsx               0x000000010d645ce0 BitSharesApp::run() + 2608
50  org.bitshares.btsx               0x000000010d6451b5 BitSharesApp::run(int&, char**) + 469
51  org.bitshares.btsx               0x000000010d626dc4 main + 20
52  libdyld.dylib                    0x00007fff993f35fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff94f1f662 kevent64 + 10
1   libdispatch.dylib                0x00007fff8ec15421 _dispatch_mgr_invoke + 239
2   libdispatch.dylib                0x00007fff8ec15136 _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib           0x00007fff94f1ee6a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8fc70f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib          0x00007fff8fc73fb9 start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib           0x00007fff94f1ee6a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8fc70f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib          0x00007fff8fc73fb9 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff94f1ee6a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8fc70f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib          0x00007fff8fc73fb9 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib           0x00007fff94f1ee6a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8fc70f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib          0x00007fff8fc73fb9 start_wqthread + 13

Thread 6:: com.apple.CFSocket.private
0   libsystem_kernel.dylib           0x00007fff94f1e9aa __select + 10
1   com.apple.CoreFoundation         0x00007fff913ada03 __CFSocketManager + 867
2   libsystem_pthread.dylib          0x00007fff8fc6f899 _pthread_body + 138
3   libsystem_pthread.dylib          0x00007fff8fc6f72a _pthread_start + 137
4   libsystem_pthread.dylib          0x00007fff8fc73fc9 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib           0x00007fff94f1e716 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff8fc71c3b _pthread_cond_wait + 727
2   org.bitshares.btsx               0x000000010db1915c boost::condition_variable::do_wait_until(boost::unique_lock<boost::mutex>&, timespec const&) + 76
3   org.bitshares.btsx               0x000000010db16172 fc::thread_d::process_tasks() + 562
4   org.bitshares.btsx               0x000000010db1a7ca fc::thread_d::start_process_tasks(long) + 26

Thread 8:
0   libsystem_kernel.dylib           0x00007fff94f1aa1a mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff94f19d18 mach_msg + 64
2   com.apple.CoreFoundation         0x00007fff91361f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation         0x00007fff91361539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation         0x00007fff91360e75 CFRunLoopRunSpecific + 309
5   com.apple.AppKit                 0x00007fff926c605e _NSEventThread + 144
6   libsystem_pthread.dylib          0x00007fff8fc6f899 _pthread_body + 138
7   libsystem_pthread.dylib          0x00007fff8fc6f72a _pthread_start + 137
8   libsystem_pthread.dylib          0x00007fff8fc73fc9 thread_start + 13