Anonymous | Login | 2022-08-18 23:40 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000937 | OMNeT++ | runtime / Tkenv | public | 2015-10-21 08:04 | 2016-03-04 10:23 | ||||
Reporter | till | ||||||||
Assigned To | rhornig | ||||||||
Priority | urgent | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | won't fix | ||||||
Platform | x86_64 | OS | OS X | OS Version | 10.11 | ||||
Product Version | 4.6 | ||||||||
Target Version | Fixed in Version | 5.0 | |||||||
Summary | 0000937: opp_run crashes under certain dual monitor conditions | ||||||||
Description | For a demo I arranged two monitors on top of each other. When OMNeT++ is placed at the top monitor the run-until dialog cannot be opened. Error below! I imagine it is due to the negative offset! | ||||||||
Additional Information | 2015-10-21 09:58:31.298 opp_run[2749:7239124] *** Assertion failure in -[_NSCGSWindow setFrame:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1404.12/CGS.subproj/NSCGSWindow.m:616 2015-10-21 09:58:31.390 opp_run[2749:7239124] An uncaught exception was raised 2015-10-21 09:58:31.390 opp_run[2749:7239124] Invalid parameter not satisfying: CGRectContainsRect(CGRectMake((CGFloat)INT_MIN, (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN), frame) 2015-10-21 09:58:31.394 opp_run[2749:7239124] ( 0 CoreFoundation 0x00007fff91788bd2 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff8f5944fa objc_exception_throw + 48 2 CoreFoundation 0x00007fff9178d8aa +[NSException raise:format:arguments:] + 106 3 Foundation 0x00007fff8d941f46 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 AppKit 0x00007fff9bf4bf87 -[_NSCGSWindow setFrame:] + 250 5 AppKit 0x00007fff9c0224a0 _NSCreateWindowWithOpaqueShape2 + 201 6 AppKit 0x00007fff9c02107c -[NSWindow _commonAwake] + 1960 7 AppKit 0x00007fff9c020860 -[NSWindow _makeKeyRegardlessOfVisibility] + 85 8 AppKit 0x00007fff9c0207ad -[NSWindow makeKeyAndOrderFront:] + 27 9 Tk 0x000000010f95b7f5 XMapWindow + 164 10 Tk 0x000000010f8cca99 Tk_MapWindow + 178 11 Tk 0x000000010f8d533e TkInstallFrameMenu + 271 12 Tcl 0x000000010fa5dd2e TclServiceIdle + 77 13 Tcl 0x000000010fa445e0 Tcl_DoOneEvent + 352 14 Tk 0x000000010f8ad3a1 TkGetDisplayOf + 689 15 Tcl 0x000000010f9d645a Tcl_ListMathFuncs + 1981 16 Tcl 0x000000010fa1a47a Tcl_ExprObj + 27205 17 Tcl 0x000000010fa51c06 TclObjInterpProcCore + 692 18 Tcl 0x000000010f9d645a Tcl_ListMathFuncs + 1981 19 Tcl 0x000000010fa1a47a Tcl_ExprObj + 27205 20 Tcl 0x000000010fa51c06 TclObjInterpProcCore + 692 21 Tcl 0x000000010f9d645a Tcl_ListMathFuncs + 1981 22 Tcl 0x000000010fa1a47a Tcl_ExprObj + 27205 23 Tcl 0x000000010fa51c06 TclObjInterpProcCore + 692 24 Tcl 0x000000010f9d645a Tcl_ListMathFuncs + 1981 25 Tcl 0x000000010fa1a47a Tcl_ExprObj + 27205 26 Tcl 0x000000010fa1d6f8 Tcl_ExprObj + 40131 27 Tcl 0x000000010f9d8023 TclEvalObjEx + 382 28 Tk 0x000000010f8da628 TkToplevelWindowForCommand + 21210 29 Tk 0x000000010f95421b Tk_SetCaretPos + 1531 30 libsystem_trace.dylib 0x00007fff91107082 _os_activity_initiate + 75 31 AppKit 0x00007fff9c0889b5 -[NSApplication sendAction:to:from:] + 460 32 AppKit 0x00007fff9c08874f -[NSMenuItem _corePerformAction] + 336 33 AppKit 0x00007fff9c0884af -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114 34 libsystem_trace.dylib 0x00007fff91107082 _os_activity_initiate + 75 35 AppKit 0x00007fff9c11ad18 -[NSMenu performActionForItemAtIndex:] + 131 36 AppKit 0x00007fff9c11ac8b -[NSMenu _internalPerformActionForItemAtIndex:] + 35 37 AppKit 0x00007fff9c11aae3 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107 38 AppKit 0x00007fff9bfbf23d NSSLMMenuEventHandler + 708 39 HIToolbox 0x00007fff8b05498e _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1231 40 HIToolbox 0x00007fff8b053e18 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404 41 HIToolbox 0x00007fff8b069df6 SendEventToEventTarget + 40 42 HIToolbox 0x00007fff8b0b3d2e _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 411 43 HIToolbox 0x00007fff8b0df0f7 SendMenuCommandWithContextAndModifiers + 59 44 HIToolbox 0x00007fff8b0df0a8 SendMenuItemSelectedEvent + 188 45 HIToolbox 0x00007fff8b0def84 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96 46 HIToolbox 0x00007fff8b0df92e _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 711 47 HIToolbox 0x00007fff8b0df5c8 _HandleMenuSelection2 + 460 48 AppKit 0x00007fff9bfaa38e _NSHandleCarbonMenuEvent + 277 49 AppKit 0x00007fff9be1f281 _DPSNextEvent + 1906 50 AppKit 0x00007fff9be1e369 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 51 Tk 0x000000010f959564 TkGenerateButtonEvent + 491 52 Tk 0x000000010f9599be Tk_MacOSXSetupTkNotifier + 797 53 Tcl 0x000000010fa445bf Tcl_DoOneEvent + 319 54 libopptkenvd.dylib 0x000000010ed537b2 _Z5runTkP10Tcl_Interp + 50 55 libopptkenvd.dylib 0x000000010ed21a18 _ZN5Tkenv3runEv + 9688 56 liboppenvird.dylib 0x000000010ee99a3e _ZN9EnvirBase3runEiPPcP14cConfiguration + 558 57 liboppenvird.dylib 0x000000010ee96c15 _Z18setupUserInterfaceiPPc + 9269 58 liboppenvird.dylib 0x000000010ee97872 evMain + 114 59 opp_run 0x000000010ed121cb main + 59 60 libdyld.dylib 0x00007fff8b4a95ad start + 1 61 ??? 0x000000000000000c 0x0 + 12 ) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0001152) till (reporter) 2015-11-03 16:40 |
Found this problem also in other dual monitor setups under OS X (not only when monitors are on top of each other. Current workaround is to start tk environment only on primary monitor. Fix might be to let tk die --- in favor of Qt ;) |
(0001168) rhornig (administrator) 2016-03-04 10:14 |
As this is outside of our influence, we cannot fix it for Tkenv. As suggested Qtenv should be used instead of the ageing Tk libraries. |
![]() |
|||
Date Modified | Username | Field | Change |
2015-10-21 08:04 | till | New Issue | |
2015-11-03 16:40 | till | Note Added: 0001152 | |
2016-03-04 10:14 | rhornig | Note Added: 0001168 | |
2016-03-04 10:14 | rhornig | Status | new => resolved |
2016-03-04 10:14 | rhornig | Fixed in Version | => 5.0 |
2016-03-04 10:14 | rhornig | Resolution | open => won't fix |
2016-03-04 10:14 | rhornig | Assigned To | => rhornig |
Copyright © 2000 - 2022 MantisBT Team |