Menu

#2724 TkAqua crashes on scrolling event

obsolete: 8.6b1.1
closed-works-for-me
5
2011-01-06
2009-12-03
No

The 8.6b1.1 version of TkAqua crashes when scrolling in a certain way. Holding the mouse button pressed on a scrolling arrow will cause wish to crash with the following message:

wish8.6-aqua(1797,0xb0103000) malloc: free_garbage: garbage ptr = 0x1418c80, has non-zero refcount = 1
2009-12-03 11:32:32.995 wish8.6-aqua[1797:10b] *** Assertion failure in +[NSEvent startPeriodicEventsAfterDelay:withPeriod:], /SourceCache/AppKit/AppKit-949.54/AppKit.subproj/NSEvent.m:1765
2009-12-03 11:32:32.995 wish8.6-aqua[1797:10b] An uncaught exception was raised
2009-12-03 11:32:32.997 wish8.6-aqua[1797:10b] Periodic events are already being generated
2009-12-03 11:32:32.997 wish8.6-aqua[1797:10b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Periodic events are already being generated'
2009-12-03 11:32:32.998 wish8.6-aqua[1797:10b] Stack: (
2470170603,
2514165307,
2470170059,
2478157508,
2525052112,
2526164841,
2524622328,
2523486967,
2523276965,
2195129,
2196449,
3235242,
1389874,
2705113,
2707855,
3011097,
2707855,
2737327,
2738193,
2198337,
2523500175,
2523499980,
2524627019,
2526164928,
2524622328,
2523486967,
2523276965,
2195129,
2196449,
3235242,
1421705,
1483183,
25904,
25689
)
Trace/BPT trap

The same is true, when scrolling by holding the mouse pressed on the slider trough (tested on MacOS X 10.5 and 10.6).

Discussion

  • Daniel A. Steffen

    I cannot reproduce this with 8.5.8 or HEAD on 10.6.2, please verify that you still see this there.

    If yes, please provide more details or a sample script, maybe this depends on how your scrollbars were created?

     
  • Torsten Berg

    Torsten Berg - 2009-12-07

    I also cannot reproduce this on MacOS X 10.6.2 using the current HEAD (compiled yesterday). The error only seems to occur on MacOS X 10.5.8. I can try to verify that next week (now away from the 10.5 machine).

     
  • Torsten Berg

    Torsten Berg - 2009-12-07

    ... and yes, the error is only on Tcl 8.6b1.1, not on 8.5.8

     
  • Kevin Walzer

    Kevin Walzer - 2011-01-06
    • status: open --> closed-works-for-me
     
  • Kevin Walzer

    Kevin Walzer - 2011-01-06

    I can't reproduce this on CVS HEAD (01/06/2011).