And now the next blow I realised pyplot() wouldn’t work on my OSX Ventura.
Recap:
- Using Plots; pyplot() works on Linux
- using Plots without pyplot() works on my Ventura (e.g. import Plots as plt; plt.rand(23))
- using Plots without pyplot() doesn’t work on my work Linux (not tried your empty directory yet)
The following on Ventura will crash the Julia session and I am thrown out from the session and end up with the bash terminal:
julia> using Plots
julia> pyplot()
Plots.PyPlotBackend()
julia> plot(rand(23))
objc[12297]: Class QCocoaPageLayoutDelegate is implemented in both /Users/me/.julia/artifacts/5cb67771651635f5ac02f3a60017effcbeebb119/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x177060480) and /Users/me/.julia/conda/3/lib/libQt5PrintSupport.5.12.9.dylib (0x1de1f43b0). One of the two will be used. Which one is undefined.
objc[12297]: Class QCocoaPrintPanelDelegate is implemented in both /Users/me/.julia/artifacts/5cb67771651635f5ac02f3a60017effcbeebb119/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x1770604f8) and /Users/me/.julia/conda/3/lib/libQt5PrintSupport.5.12.9.dylib (0x1de1f4428). One of the two will be used. Which one is undefined.
qt.qpa.drawing: Layer-backing can not be explicitly controlled on 10.14 when built against the 10.14 SDK
signal (11): Segmentation fault: 11
in expression starting at none:0
_ZNK7QObject6threadEv at /Users/me/.julia/artifacts/5cb67771651635f5ac02f3a60017effcbeebb119/lib/QtCore.framework/Versions/5/QtCore (unknown line)
_ZN22QWindowSystemInterface17handleExposeEventINS_19SynchronousDeliveryEEEvP7QWindowRK7QRegion at /Users/me/.julia/artifacts/5cb67771651635f5ac02f3a60017effcbeebb119/lib/QtGui.framework/Versions/5/QtGui (unknown line)
qt_plugin_instance at /Users/me/.julia/conda/3/plugins/platforms/libqcocoa.dylib (unknown line)
qt_plugin_instance at /Users/me/.julia/conda/3/plugins/platforms/libqcocoa.dylib (unknown line)
-[_NSBackingLayer display] at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
-[_NSViewBackingLayer display] at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
_ZN2CA5Layer17display_if_neededEPNS_11TransactionE at /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (unknown line)
_ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd at /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (unknown line)
_ZN2CA11Transaction6commitEv at /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (unknown line)
__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
___NSRunLoopObserverCreateWithHandler_block_invoke at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line)
__CFRunLoopDoObservers at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line)
__CFRunLoopRun at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line)
CFRunLoopRunSpecific at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line)
RunCurrentEventLoopInMode at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line)
ReceiveNextEventCommon at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line)
_BlockUntilNextEventMatchingListInModeWithFilter at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line)
_DPSNextEvent at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
-[NSApplication run] at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line)
qt_plugin_instance at /Users/me/.julia/conda/3/plugins/platforms/libqcocoa.dylib (unknown line)
qt_plugin_instance at /Users/me/.julia/conda/3/plugins/platforms/libqcocoa.dylib (unknown line)
_ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEEi at /Users/me/.julia/conda/3/lib/libQt5Core.5.12.9.dylib (unknown line)
ZL35meth_QCoreApplication_processEventsP7_objectS0_S0 at /Users/me/.julia/conda/3/lib/python3.9/site-packages/PyQt5/QtCore.so (unknown line)
cfunction_call at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
_PyObject_Call at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
macro expansion at /Users/me/.julia/packages/PyCall/ygXW2/src/exception.jl:95 [inlined]
#107 at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:43 [inlined]
disable_ment at ./c.jl:473 [inlined]
__pycall! at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:42 [inlined]
_pycall! at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:29
_pycall! at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:11 [inlined]
#pycall#112 at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:80 [inlined]
pycall at /Users/me/.julia/packages/PyCall/ygXW2/src/pyfncall.jl:80 [inlined]
#3 at /Users/me/.julia/packages/PyCall/ygXW2/src/gui.jl:154
macro expansion at ./asyncevent.jl:281 [inlined]
#666 at ./task.jl:134
unknown function (ip: 0x10f29072f)
ijl_apply_generic at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
start_task at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
Allocations: 50233261 (Pool: 50209709; Big: 23552); GC: 36
signal (11): Segmentation fault: 11
in expression starting at none:0
import_get_module at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
_PyImport_GetModuleId at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
wait_for_thread_shutdown at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
Py_FinalizeEx at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
Py_Finalize at /Users/me/.julia/packages/PyCall/ygXW2/src/pyinit.jl:125
unknown function (ip: 0x1e2c0fd0f)
ijl_apply_generic at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
_atexit at ./initdefs.jl:372
unknown function (ip: 0x1e2c0f1af)
ijl_apply_generic at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
ijl_atexit_hook at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
ijl_exit at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
jl_exit_thread0_cb at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
Allocations: 51899495 (Pool: 51875245; Big: 24250); GC: 37
signal (11): Segmentation fault: 11
in expression starting at none:0
meth_dealloc at /Users/me/.julia/conda/3/lib/libpython3.9.dylib (unknown line)
pydecref_ at /Users/me/.julia/packages/PyCall/ygXW2/src/PyCall.jl:118 [inlined]
pydecref at /Users/me/.julia/packages/PyCall/ygXW2/src/PyCall.jl:123
unknown function (ip: 0x10f23f776)
ijl_apply_generic at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
run_finalizer at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
jl_gc_run_finalizers_in_list at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
run_finalizers at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
ijl_atexit_hook at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
ijl_exit at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
jl_exit_thread0_cb at /Applications/Julia-1.8.2.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line)
Allocations: 51899495 (Pool: 51875245; Big: 24250); GC: 37