reproducible crash in osx (for me, anyone else?) #4854

issue meoso opened this issue on September 5, 2014
  1. meoso commented at 1:08 PM on September 5, 2014: none

    Both version 0.9.2.1 and 0.9.3rc1 : OSX version 10.9.4

    File > Receive addresses. Click anywhere, then Close. Click anywhere on gui: CRASH.

    also reproduced with: Bitcoin-Qt>About Bitcoin-Qt>Okay. click gui: CRASH

    a crash log: http://pastebin.com/Maz5nHCy

  2. laanwj added the label GUI on Sep 5, 2014
  3. laanwj added the label Mac on Sep 5, 2014
  4. laanwj commented at 2:08 PM on September 5, 2014: member

    Ehh this doesn't look good. You're the first to report this, though, so it may be something in your setup. @theuni any ideas?

  5. laanwj commented at 2:09 PM on September 5, 2014: member

    From the crash log:

    0   QtWidgets                           0x000000010f020a5a QWidget::mapFromGlobal(QPoint const&) const + 58
    1   QtWidgets                           0x000000010f025586 QWidgetWindow::handleTabletEvent(QTabletEvent*) + 598
    2   QtWidgets                           0x000000010f022e81 QWidgetWindow::event(QEvent*) + 561
    3   QtWidgets                           0x000000010efcd61c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
    4   QtWidgets                           0x000000010efd016a QApplication::notify(QObject*, QEvent*) + 6250
    5   QtCore                              0x000000010e54e102 QCoreApplication::notifyInternal(QObject*, QEvent*) + 114
    6   QtGui                               0x000000010e96694f   QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) + 911
    

    Seeing processTabletEvent is curious. Are you perhaps using a drawing tablet and 'drawing' in bitoin-qt?

  6. meoso commented at 3:04 PM on September 5, 2014: none

    i use a "bamboo fun with pen" as my primary mouse. (it works just as any mouse but it's a pen). nothing else gives me error due to this "mouse"

  7. gavinandresen commented at 3:08 PM on September 5, 2014: contributor

    I can't reproduce on my desktop OSX 10.9.4 machine running 0.9.3rc1. Maybe a Qt-on-a-tablet issue?

  8. meoso commented at 3:19 PM on September 5, 2014: none

    updated wacom drivers just in case. did not solve. i can deal with it (reopen) but thought it was worth reporting. second crash report just for extra: http://pastebin.com/d2WNn6sE

  9. laanwj commented at 3:20 PM on September 5, 2014: member

    Do you have a normal mouse around to do a check if this is the problem?

  10. laanwj commented at 3:23 PM on September 5, 2014: member

    Qt5's drawing tablet handling is a mess by the way, and close to useless. I've noticed this before while experimenting with it on Linux (but cannot reproduce this particular problem with my drawing tablet on Linux). I wonder if we can compile Qt without it @theuni. Hopefully this will have the effect of just treating it as another mouse.

  11. meoso commented at 3:25 PM on September 5, 2014: none

    normal mouse works without crash. so it looks like you guys found the source!

  12. theuni commented at 12:39 AM on September 6, 2014: member

    Looks like this is https://bugreports.qt-project.org/browse/QTBUG-36848 There's no obvious way to compile without tablet support, but there is a QT_NO_TABLETEVENT define that may work. Since this is the only qt5 tablet-related crash (that I've seen, anyway), it may make more sense to backport their fix and carry it.

  13. laanwj commented at 2:33 AM on September 6, 2014: member

    @theuni Sure, if there is a fix then using that is better...

  14. theuni referenced this in commit 2a29d12ac7 on Sep 6, 2014
  15. theuni commented at 2:59 AM on September 6, 2014: member

    @meoso If you are willing, could you please give this build a try? https://bitcoincore.org/cfields/bitcoin-qt-tabletfix-6ee78938e

    That's the full osx bitcoin-qt binary. It was built from current master with this change: https://github.com/theuni/bitcoin/commit/2a29d12ac7d6b290a40320a8ec60b36efc9bbc7f

    Please assume that I am malicious and trying to steal your coins with this binary. I'm not, but you shouldn't trust me on that :)

  16. meoso commented at 12:40 PM on September 8, 2014: none

    works perfectly well without crashes -- i look froward to a release.

  17. theuni commented at 6:11 PM on September 8, 2014: member

    @meoso Thanks for reporting and for testing. Both were extremely useful. @laanwj What do you think about that change? It's basically just changing to a smart pointer so that it can be cleaned up elsewhere. Obviously I can't speak to the qt codebase, but it seems like worst-case this would break some tablet functionality, but we already know it's broken without it. So i think this is the fix with the least amount of possible unintended consequences.

  18. theuni referenced this in commit 21f139b4a6 on Sep 8, 2014
  19. laanwj closed this on Sep 10, 2014

  20. laanwj referenced this in commit 6a8d15cc16 on Sep 10, 2014
  21. rebroad referenced this in commit 3cd8789b1f on Sep 11, 2014
  22. meoso commented at 1:51 PM on October 3, 2014: none

    @theuni ummm, the release of 0.9.3 did not seem to include this, as it crashes for me.

  23. theuni commented at 6:03 PM on October 3, 2014: member

    Ugh yea, I forgot to backport this one. Will do so now.

  24. laanwj commented at 6:53 AM on October 4, 2014: member

    Right, any changes in master will be in 0.10.0, not 0.9.x, unless explicitly backported.

  25. meoso commented at 2:41 PM on March 16, 2015: none

    just dropping a big thank you as the released v0.10.0 does indeed fix my issue.

  26. reddink referenced this in commit cd7c67c3ef on May 27, 2020
  27. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me