Author Topic: bitshareX client 0.4.8 crashes on mac osx 10.9.4 [resolved]  (Read 2767 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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 davidpbrown

try this for downloading the blockchain:
https://github.com/BitShares/bitshares_toolkit/wiki/Using-Chain-Servers#using-a-chain-server-to-sync-with-bitshares-x

also at least "OPEN" a wallet .. (not necessarily unlock it, .. just open it)

That help?

Just to suggest for now that adding the chain servers as suggested and the opting for refresh database, had the splash screen for 10mins before that disappeared; the client appeared about 10mins after that; and 10mins laters I'm looking at the wallet open without my doing anything about that but not yet connected - harddrive is grinding away as if it's making some sort of progress and I hope to come back in a while and see it's reconnected to the usual p2p and updating. So far, so good..
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline bytemaster

The issue is the ADOBE plugin installed in /Library/Internet Plugins...

Next version will detect this plugin and warn you rather than crash.

Quote
7   com.AdobeAAMDetectLib.AdobeAAMDetect   0x00000001254ed239 NP_Initialize + 409
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
try this for downloading the blockchain:
https://github.com/BitShares/bitshares_toolkit/wiki/Using-Chain-Servers#using-a-chain-server-to-sync-with-bitshares-x

also at least "OPEN" a wallet .. (not necessarily unlock it, .. just open it)

That help?

Offline davidpbrown

Relatively clean Linux Mint 17 old laptop but it complied ok. 0.4.7 worked fine. It's just 0.4.8 that falls over within ~10mins of downloading the blockchain, regardless of whether it's a clean new wallet or the old one.

I've got log files which are peppered with Bad file descriptors and alsorts.. but not sure what to make of those. Sample of the end of p2p.log below from line 17523. I don't know, if the last line is useful..

Code: [Select]
20140827T180823.861167  bitshares      execute_markets ] execute markets [] chain_database.cpp:766
20140827T180824.052536  bitshares on_closing_connectio ] Peer 95.85.52.135:49550 is disconnecting us because: I rejected your connection request (hello message) so I'm disconnecting node.cpp:2296
20140827T180824.453273  bitshares terminate_inactive_c ] Forcibly disconnecting from handshaking peer 23.239.5.30:1776 due to inactivity of at least 5 seconds node.cpp:1089
20140827T180824.453407  bitshares terminate_inactive_c ] Peer's negotiating status: hello_sent, bytes sent: 0, bytes received: 0 node.cpp:1093
20140827T180824.453485  bitshares terminate_inactive_c ] Forcibly disconnecting from handshaking peer 121.40.126.75:46136 due to inactivity of at least 5 seconds node.cpp:1089
20140827T180824.453533  bitshares terminate_inactive_c ] Peer's negotiating status: connecting, bytes sent: 0, bytes received: 0 node.cpp:1093
20140827T180824.453606  bitshares terminate_inactive_c ] Forcibly disconnecting from handshaking peer 95.85.33.16:8764 due to inactivity of at least 5 seconds node.cpp:1089
20140827T180824.453653  bitshares terminate_inactive_c ] Peer's negotiating status: connecting, bytes sent: 0, bytes received: 0 node.cpp:1093
20140827T180824.453726  bitshares terminate_inactive_c ] Forcibly disconnecting from handshaking peer 106.185.26.162:1776 due to inactivity of at least 5 seconds node.cpp:1089
20140827T180824.453772  bitshares terminate_inactive_c ] Peer's negotiating status: connecting, bytes sent: 0, bytes received: 0 node.cpp:1093
20140827T180824.453843  bitshares terminate_inactive_c ] Forcibly disconnecting from handshaking peer 178.79.148.143:1776 due to inactivity of at least 5 seconds node.cpp:1089
20140827T180824.453890  bitshares terminate_inactive_c ] Peer's negotiating status: connecting, bytes sent: 0, bytes received: 0 node.cpp:1093
20140827T180824.459469  bitshares rebroadcast_pending_ ] skip rebroadcast_pending while syncing client.cpp:1028
20140827T180824.745374  bitshares            read_loop ] disconnected 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler

    {"len":16}
    bitshares  stcp_socket.cpp:72 readsome message_oriented_connection.cpp:195
20140827T180824.765168  bitshares send_queued_messages ] Error sending message: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"error","file":"asio.cpp","line":28,"method":"read_write_handler","hostname":"","thread_name":"asio","timestamp":"20140827T180824.764855"},"format":"${message} ","data":{"message":"Bad file descriptor"}},{"context":{"level":"warn","file":"stcp_socket.cpp","line":95,"method":"writesome","hostname":"","thread_name":"bitshares","timestamp":"20140827T180824.764922"},"format":"","data":{"len":400}},{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":235,"method":"send_message","hostname":"","thread_name":"bitshares","timestamp":"20140827T180824.764967"},"format":"unable to send message","data":{}}]}.  Closing connection. peer_connection.cpp:199
20140827T180824.804430  bitshares           connect_to ] fatal: error connecting to peer 178.79.148.143:1776: 9 canceled_exception: Canceled
Operation cancelled
    {"message":"Operation cancelled"}
    asio  asio.cpp:17 read_write_handler peer_connection.cpp:169
20140827T180824.804814  bitshares           connect_to ] fatal: error connecting to peer 121.40.126.75:46136: 9 canceled_exception: Canceled
Operation cancelled
    {"message":"Operation cancelled"}
    asio  asio.cpp:17 read_write_handler peer_connection.cpp:169
20140827T180824.805509  bitshares            read_loop ] disconnected 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler

    {"len":16}
    bitshares  stcp_socket.cpp:72 readsome message_oriented_connection.cpp:195
20140827T180824.808809  bitshares           connect_to ] fatal: error connecting to peer 106.185.26.162:1776: 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler peer_connection.cpp:169
20140827T180824.809665  bitshares            read_loop ] disconnected 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler

    {"len":16}
    bitshares  stcp_socket.cpp:72 readsome message_oriented_connection.cpp:195
20140827T180825.156033  bitshares            read_loop ] disconnected 11 eof_exception: End Of File
End of file
    {"message":"End of file"}
    asio  asio.cpp:22 read_write_handler

    {"len":16}
    bitshares  stcp_socket.cpp:72 readsome message_oriented_connection.cpp:190
20140827T180825.794035  bitshares on_closing_connectio ] Peer 207.12.89.119:1700 is disconnecting us because: I rejected your connection request (hello message) so I'm disconnecting node.cpp:2296
20140827T180825.794419  bitshares            read_loop ] disconnected 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler

    {"len":16}
    bitshares  stcp_socket.cpp:72 readsome message_oriented_connection.cpp:195
20140827T180825.838812  bitshares send_queued_messages ] Error sending message: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"error","file":"asio.cpp","line":28,"method":"read_write_handler","hostname":"","thread_name":"asio","timestamp":"20140827T180825.838464"},"format":"${message} ","data":{"message":"Bad file descriptor"}},{"context":{"level":"warn","file":"stcp_socket.cpp","line":95,"method":"writesome","hostname":"","thread_name":"bitshares","timestamp":"20140827T180825.838547"},"format":"","data":{"len":96}},{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":235,"method":"send_message","hostname":"","thread_name":"bitshares","timestamp":"20140827T180825.838588"},"format":"unable to send message","data":{}}]}.  Closing connection. peer_connection.cpp:199
20140827T180825.997473  bitshares ~message_oriented_co ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"error","file":"asio.cpp","line":28,"method":"read_write_handler","hostname":"","thread_name":"asio","timestamp":"20140827T180818.745864"},"format":"${message} ","data":{"message":"Bad file descriptor"}},{"context":{"level":"warn","file":"stcp_socket.cpp","line":72,"method":"readsome","hostname":"","thread_name":"bitshares","timestamp":"20140827T180818.745956"},"format":"","data":{"len":16}},{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":198,"method":"read_loop","hostname":"","thread_name":"bitshares","timestamp":"20140827T180818.746171"},"format":"disconnected ${e}","data":{"e":"0 exception: unspecified\nBad file descriptor \n    {\"message\":\"Bad file descriptor\"}\n    asio  asio.cpp:28 read_write_handler\n\n    {\"len\":16}\n    bitshares  stcp_socket.cpp:72 readsome"}}]}
« Last Edit: August 27, 2014, 06:57:28 pm by davidpbrown »
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I get Segmentation Fault on Linux.. without any of the detailed error above.

Happy to provide logs or whatever other detail might be useful.. unclear atm which log is useful for fixing this.
You compiled it your own? Some info about your version / distrubution etc. would be helpful

Offline davidpbrown

I get Segmentation Fault on Linux.. without any of the detailed error above.

Happy to provide logs or whatever other detail might be useful.. unclear atm which log is useful for fixing this.
« Last Edit: August 27, 2014, 06:13:51 pm by davidpbrown »
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Yup. Still dealing with this myself. Looks like if we really want to use the app we'll have to install a Windows emulator.

Offline enforest

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi, me again. The updated version did not work, crashes every time when I open it. The error message is:

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

Date/Time:       2014-08-27 08:01:04.948 +0800
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  3B78FC41-9B91-D3D9-7BB4-4DB9043344B1

Sleep/Wake UUID: 090E6D1E-03BC-4A82-B163-70EB965C50EB

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 0x7fff7b6aa330: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff96d0f866 __pthread_kill + 10
1   libsystem_pthread.dylib          0x00007fff8afd735c pthread_kill + 92
2   libsystem_c.dylib                0x00007fff97367b1a abort + 125
3   libsystem_malloc.dylib           0x00007fff962ae07f free + 411
4   libstdc++.6.dylib                0x000000010bc14bce std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) + 302
5   libstdc++.6.dylib                0x000000010bc188ce std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) + 62
6   libstdc++.6.dylib                0x00007fff8fd3cb44 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   0x00000001254ed239 NP_Initialize + 409
8   QtWebKit                         0x00000001081166b5 WebCore::PluginPackage::load() + 245
9   QtWebKit                         0x000000010811571a WebCore::PluginPackage::fetchInfo() + 42
10  QtWebKit                         0x0000000108066157 WebCore::PluginPackage::createPackage(WTF::String const&, long const&) + 55
11  QtWebKit                         0x0000000108062915 WebCore::PluginDatabase::refresh() + 677
12  QtWebKit                         0x000000010806240c WebCore::PluginDatabase::installedPlugins(bool) + 236
13  QtWebKit                         0x0000000107ca7e04 PlatformStrategiesQt::getPluginInfo(WebCore::Page const*, WTF::Vector<WebCore::PluginInfo, 0ul, WTF::CrashOnOverflow>&) + 1348
14  QtWebKit                         0x0000000107fc9976 WebCore::PluginData::PluginData(WebCore::Page const*) + 134
15  QtWebKit                         0x0000000107fafc4e WebCore::Page::pluginData() const + 46
16  QtWebKit                         0x0000000108ab04a1 WebCore::DOMImplementation::createDocument(WTF::String const&, WebCore::Frame*, WebCore::KURL const&, bool) + 305
17  QtWebKit                         0x0000000107f14503 WebCore::DocumentWriter::createDocument(WebCore::KURL const&) + 147
18  QtWebKit                         0x0000000107f13faa WebCore::DocumentWriter::begin(WebCore::KURL const&, bool, WebCore::Document*) + 106
19  QtWebKit                         0x00000001081c02cd WebCore::SVGImage::dataChanged(bool) + 669
20  QtWebKit                         0x0000000107ff9c08 WebCore::Image::setData(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 104
21  QtWebKit                         0x0000000107efbd5e WebCore::CachedImage::finishLoading(WebCore::ResourceBuffer*) + 158
22  QtWebKit                         0x0000000107f3e935 WebCore::SubresourceLoader::didFinishLoading(double) + 133
23  QtWebKit                         0x00000001080ea331 WebCore::QNetworkReplyHandler::finish() + 257
24  QtWebKit                         0x00000001080e8c4b WebCore::QNetworkReplyHandlerCallQueue::flush() + 203
25  QtWebKit                         0x00000001080ebf1a WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 58
26  QtCore                           0x000000010b57cc6f QMetaObject::activate(QObject*, int, int, void**) + 1871
27  QtNetwork                        0x000000010ab5af41 QNetworkReplyHttpImplPrivate::finished() + 1153
28  QtNetwork                        0x000000010abdbb2d QNetworkReplyHttpImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1901
29  QtCore                           0x000000010b575d7b QObject::event(QEvent*) + 747
30  QtWidgets                        0x00000001076442dc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
31  QtWidgets                        0x0000000107646d9b QApplication::notify(QObject*, QEvent*) + 6187
32  org.bitshares.btsx               0x0000000105d6625e BitSharesApp::notify(QObject*, QEvent*) + 14
33  QtCore                           0x000000010b5495d7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
34  libqcocoa.dylib                  0x000000010d5eead6 QCocoaEventDispatcherPrivate::processPostedEvents() + 278
35  libqcocoa.dylib                  0x000000010d5ef478 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
36  com.apple.CoreFoundation         0x00007fff946c85b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37  com.apple.CoreFoundation         0x00007fff946b9c62 __CFRunLoopDoSources0 + 242
38  com.apple.CoreFoundation         0x00007fff946b93ef __CFRunLoopRun + 831
39  com.apple.CoreFoundation         0x00007fff946b8e75 CFRunLoopRunSpecific + 309
40  com.apple.HIToolbox              0x00007fff8ea5ea0d RunCurrentEventLoopInMode + 226
41  com.apple.HIToolbox              0x00007fff8ea5e7b7 ReceiveNextEventCommon + 479
42  com.apple.HIToolbox              0x00007fff8ea5e5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
43  com.apple.AppKit                 0x00007fff92b5424e _DPSNextEvent + 1434
44  com.apple.AppKit                 0x00007fff92b5389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
45  com.apple.AppKit                 0x00007fff92b4799c -[NSApplication run] + 553
46  libqcocoa.dylib                  0x000000010d5ee1d4

Does that mean there is conflict with AdobeAAMDetect plugin?
« Last Edit: August 27, 2014, 07:30:52 pm by bytemaster »