NSWindow drag regions should only be invalidated on the Main Thread!

瀏覽次數:5,669 次
跳到第一則未讀訊息

scottg...@gmail.com

未讀,
2018年10月30日 上午9:30:512018/10/30
收件者:Jaamsim Users Discussion Group
I just upgraded my to MacBookPro Mojave, and now I'm getting this error

2018-10-30 08:34:49.306 java[2498:19668] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff46f922e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
1 AppKit 0x00007fff46f8f68c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
2 AppKit 0x00007fff46f8f0b6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
3 libnativewindow_macosx.jnilib 0x00000001281213fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010d21d9d4 0x0 + 4515289556
)
2018-10-30 08:34:50.642 java[2498:19668] pid(2498)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!


The following post appears to describe the problem. Is this a known problem with JaamSim ?

https://discourse.libsdl.org/t/crash-on-macos-10-14-mojave-with-sdl-showmessagebox/25100

Harry King

未讀,
2018年10月30日 下午2:15:312018/10/30
收件者:Jaamsim Users Discussion Group
Scott,

We haven't tested JaamSim under Mojave yet, so this appears to be a new bug from our friends at Apple. I will look into this further and see what can be done.

Thanks for reporting it.

Harry

scottg...@gmail.com

未讀,
2018年10月31日 清晨7:51:472018/10/31
收件者:Jaamsim Users Discussion Group
Harry,

I forgot to mention that I also did the following, to try and eliminate other possible culprits:
- Installed the latest Java "1.8.0_191"
- Installed the latest Eclipse SimRel 2018-09

Thanks for looking into it.

Scott

Harry King

未讀,
2018年10月31日 下午2:00:292018/10/31
收件者:Jaamsim Users Discussion Group
Scott,

The bug turns out to be a known problem with the JOGL software we use for 3d graphics. Unfortunately, it will take a while to get a fix in place.

I'll provide an update when I have more information.

Harry
訊息已遭刪除
訊息已遭刪除

jo...@aluna.io

未讀,
2019年3月11日 晚上7:10:412019/3/11
收件者:Jaamsim Users Discussion Group

Hello Harry,

Has there been any update around this issue?

Thanks,
JV

Harry King

未讀,
2019年3月12日 上午11:17:182019/3/12
收件者:Jaamsim Users Discussion Group
JV,

We are still waiting for the JOGL people to release a new version with this bug fixed.

Harry

sgo...@gmail.com

未讀,
2019年4月4日 下午6:40:002019/4/4
收件者:Jaamsim Users Discussion Group

Hi there

Nobody did contact me AFAIK, however,
since I prepare for next releases I saw this
_upcoming_ issue for the next OSX release
and added a bug report:
https://jogamp.org/bugzilla/show_bug.cgi?id=1370

Yes, the WARNING appears on OSX 10.14 but it will become
a hard issue only thereafter as they stated in their message.

JogAmp [Roadmap] Update
=========================

Feature Overview
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Feature_Objectives_Overview

TBD (To Be Determined)
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_undetermined_release

2.4.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.4.0

2.5.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.5.0

3.0.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_3.0.0

Harvey Harrison

未讀,
2019年4月4日 晚上7:28:352019/4/4
收件者:sgo...@gmail.com、Jaamsim Users Discussion Group
Hmm, I was sure I had forwarded a note to you, but looking through my
sent items I can't find ever forwarding to the JOGL team, thanks very
much for digging this issue out of our forum and adding a bug report
to your bugzilla, I will try to be more diligent next time!

I thought (the danger of assuming!) it was being tracked under the
following jogl forum post:

http://forum.jogamp.org/JOGL-on-Mojave-Mac-OS-10-14-td4039037.html

But I see a formal bug report may not have made it out of that discussion.

Harvey
> --
> You received this message because you are subscribed to the Google Groups "Jaamsim Users Discussion Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
> Visit this group at https://groups.google.com/group/jaamsim-users.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/1bb25723-a642-4133-b67b-aa3cc9bca33e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Anirudh Pochiraju

未讀,
2020年10月13日 凌晨3:37:322020/10/13
收件者:Jaamsim Users Discussion Group
Hey Guys,

has there been a solution to this problem? I am trying to run an applet on my Mac Prog 15' OSVersion 10.15.6 (19G2021), and I get this error,

```

2020-10-13 12:58:23.425 java[20124:1221854] Apple AWT Internal Exception: NSWindow drag regions should only be invalidated on the Main Thread!

2020-10-13 12:58:23.425 java[20124:1221854] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'

*** First throw call stack:

(

0   CoreFoundation                      0x00007fff338dbb57 __exceptionPreprocess + 250

1   libobjc.A.dylib                     0x00007fff6c7245bf objc_exception_throw + 48

2   CoreFoundation                      0x00007fff3390434c -[NSException raise] + 9

3   AppKit                              0x00007fff30afe5ec -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310

4   AppKit                              0x00007fff30ae6052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416

5   AppKit                              0x00007fff30ae5ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42

6   libnativewindow_macosx.jnilib       0x0000000160074f9e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398

7   ???                                 0x00000001193b9407 0x0 + 4718302215

)

libc++abi.dylib: terminating with uncaught exception of type NSException
```

I cant seem to din a solution for this anywhere else! Any information would really help. Thank you.


Packet Soda

未讀,
2020年10月17日 下午5:58:552020/10/17
收件者:Jaamsim Users Discussion Group

Tim Frei

未讀,
2020年11月30日 上午11:43:312020/11/30
收件者:Jaamsim Users Discussion Group
Hello, im running into same problem trying to use JaamSim for my Bachelors Thesis. When ever I start it from Eclipse the loading window opens and crashes after a few seconds. I don't know what to do about this problem and would greatly appreciate any help I could get to solve this problem. I am also using Mac.

Harry King

未讀,
2020年11月30日 中午12:30:222020/11/30
收件者:Jaamsim Users Discussion Group
Tim,

The last time I checked JaamSim on MacOS, this problem was only a warning, not a fatal error. Does JaamSim actually terminate when you see this message?

Also, which version of MacOS are you using?

Harry

Markus Fischer

未讀,
2020年11月30日 中午12:50:262020/11/30
收件者:Jaamsim Users Discussion Group
Hello, thanks for the answer!

I am using BigSur Version 11.0.1

Yes it does close down completely when I start the project from eclipse. If I download JaamSim from the website it does start, but sadly I have to start from eclipse due to some modifications my uni made to the com.user

I uploaded the error logs to the following links for reference 

Again thanks for the help!

Harry King

未讀,
2020年11月30日 下午4:14:462020/11/30
收件者:Jaamsim Users Discussion Group
It appears that the recent Big Sur release has made this a fatal error. It was just a warning in Catalina, the previous version of MacOS. However, I am surprised that JaamSim still works as an app if the error is fatal. Are you sure that you have set up the JaamSim project correctly in Eclipse. The Programming Manual gives detailed instructions on how to do this.

Harry

Harvey Harrison

未讀,
2020年11月30日 下午5:11:542020/11/30
收件者:Markus Fischer、Jaamsim Users Discussion Group
I would check if perhaps you have an older version of the jogl
jarfiles linked into your eclipse project. The latest jaamsim builds
have updated versions that solve this crasher issue.

Harvey
> To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/a22cbc36-2977-406f-a559-f0e70b5e7384n%40googlegroups.com.

Markus Fischer

未讀,
2020年11月30日 下午5:32:512020/11/30
收件者:Jaamsim Users Discussion Group
Hello, I guess you are referring to those files right  https://jogamp.org/deployment/archive/master/gluegen_937-joal_660-jogl_1506-jocl_1147/jar/? I exchanged them in the jar folder but still no success
回覆所有人
回覆作者
轉寄
0 則新訊息