Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.4rc / OS X 10.10 getting persistent NSTouch exception
Forum Updated to NodeBB v4.3 + New Features

Qt 5.4rc / OS X 10.10 getting persistent NSTouch exception

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krekeltronics
    wrote on last edited by
    #1

    We have a hybrid desktop app with some web content that I have tried displaying using both Qt WebKit and Qt WebEngine views. I believe a new exception is occurring since updating to the 10.10.2 developer seed. It can lead to crashes, but when it doesn't, it is persistent in the console and makes any other debugging impossible. Has anyone else run into this?

    @2014-12-04 15:36:16.719 appname[68517:4206796] -[NSTouch _initWithPreviousTouch:newPhase:position:isResting:]: unrecognized selector sent to instance 0x7feef1b07490
    2014-12-04 15:36:16.720 appname[68517:4206796] (
    0 CoreFoundation 0x00007fff8edcf66c __exceptionPreprocess + 172
    1 libobjc.A.dylib 0x00007fff9509276e objc_exception_throw + 43
    2 CoreFoundation 0x00007fff8edd26dd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3 CoreFoundation 0x00007fff8ed19aa4 forwarding + 1028
    4 CoreFoundation 0x00007fff8ed19618 _CF_forwarding_prep_0 + 120
    5 AppKit 0x00007fff91bf541c -[NSEvent _initTouches] + 2048
    6 AppKit 0x00007fff91b9e26d -[NSEvent _initWithCGSEvent:eventRef:] + 3253
    7 AppKit 0x00007fff91a38584 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 422
    8 AppKit 0x00007fff91a2c463 -[NSApplication run] + 594
    9 libqcocoa.dylib 0x000000011039a92d _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 2189
    10 QtCore 0x00000001065365dd _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 381
    11 QtCore 0x00000001065395ba _ZN16QCoreApplication4execEv + 346
    12 appname 0x0000000105792040 main + 304
    13 appname 0x0000000105791f04 start + 52
    )@

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you reproduce this with a minimal compilable example ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        krekeltronics
        wrote on last edited by
        #3

        [quote author="SGaist" date="1417730762"]Hi,

        Can you reproduce this with a minimal compilable example ?[/quote]

        Sure, give this a try:
        https://www.dropbox.com/s/q7gpzx7cllsvq85/qtWebTest.zip?dl=0

        It will give a window with a 200px wide maps view. move the mouse over the map and you will see the exceptions filling the console. move the mouse off of the map and the exceptions cease. This happens identically with Qt WebEngine and Qt WebKit views.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          krekeltronics
          wrote on last edited by
          #4

          FWIW, now with the current OS X 10.10.2 developer seed, this no longer occurs. May have been something in the earlier 10.10.2 developer build.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Well, good ! Problem fixed ! :)

            Well, I don't like that kind of thing resolving for themselves magically...

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved