robaho / seashore

easy to use mac osx image editing application for the rest of us
GNU General Public License v2.0
439 stars 19 forks source link

startup errors: Attempted to unregister unknown __weak variable at 0x7fe542d9c5a8. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug. #177

Closed gedw99 closed 1 year ago

gedw99 commented 1 year ago

Hey

MacOS Big Sur.

I wanted to write a new plugin, and am still learning the ropes a bit...

I am getting this at startup. Anyone got any ideas on the weak

I removed all the duplicates etc....

./Seashore 
2022-12-09 09:45:29.380 Seashore[72354:658101] Loading plugins from /Volumes/Seashore/Seashore.app/Contents/PlugIns
2022-12-09 09:45:29.381 Seashore[72354:658101] checking plugin Brightness.bundle
2022-12-09 09:45:29.381 Seashore[72354:658101] checking plugin Checkerboard.bundle
2022-12-09 09:45:29.381 Seashore[72354:658101] checking plugin CMYK.bundle

...

2022-12-09 09:45:29.390 Seashore[72354:658101] checking plugin WhitePointAdjust+.bundle
2022-12-09 09:45:29.391 Seashore[72354:658101] checking plugin ZoomBlur+.bundle
objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542cb5e58. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542cb5fc0. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542cb6050. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542cb6110. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

...

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542d9c5a8. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542e4e8d0. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

objc[72354]: Attempted to unregister unknown __weak variable at 0x7fe542e4e988. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

2022-12-09 09:45:30.508 Seashore[72354:658101] Loading plugins from /Users/apple/Library/Containers/app.seashore/Data/Library/Application Support/Seashore/PlugIns
2022-12-09 09:56:52.439 Seashore[72354:658101] +[NSSavePanel _warmUp] attempted warmup
2022-12-09 10:14:49.103 Seashore[72354:658101] RectSelectTool invalidly being asked for the crop rect
robaho commented 1 year ago

Seems to me the application is being built incorrectly.

robaho commented 1 year ago

The 3.17 release the simplifies the build configuration. Hopefully this solves your issue.