Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOS!The mac version crashes directly when running a multi-threaded workflow environment #792

Closed
yiwangsimple opened this issue Jul 31, 2024 · 2 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@yiwangsimple
Copy link

UserWarning: Starting a Matplotlib GUI outside of the main thread will likely fail.
fig, ax = plt.subplots(figsize=(width / 100, height / 100))
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!'
*** First throw call stack:
(
0 CoreFoundation 0x000000019673a2ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000019621e158 objc_exception_throw + 60
2 CoreFoundation 0x000000019675f268 _CFBundleGetValueForInfoKey + 0
3 AppKit 0x0000000199f342a8 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 188
4 AppKit 0x0000000199f341e0 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
5 _macosx.cpython-310-darwin.so 0x0000000300047cc4 -[Window initWithContentRect:styleMask:backing:defer:withManager:] + 52
6 _macosx.cpython-310-darwin.so 0x000000030004a588 FigureManager_init + 216
7 libpython3.10.dylib 0x0000000101d2cc18 wrap_init + 20
8 libpython3.10.dylib 0x0000000101cb14dc wrapperdescr_call + 640
9 libpython3.10.dylib 0x0000000101db90a4 _PyEval_EvalFrameDefault + 72548
10 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
11 libpython3.10.dylib 0x0000000101d2c670 slot_tp_init + 324
12 libpython3.10.dylib 0x0000000101d227d0 type_call + 284
13 libpython3.10.dylib 0x0000000101dd0b2c call_function + 648
14 libpython3.10.dylib 0x0000000101db91dc _PyEval_EvalFrameDefault + 72860
15 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
16 libpython3.10.dylib 0x0000000101ca943c method_vectorcall + 124
17 libpython3.10.dylib 0x0000000101db8ccc _PyEval_EvalFrameDefault + 71564
18 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
19 libpython3.10.dylib 0x0000000101ca943c method_vectorcall + 124
20 libpython3.10.dylib 0x0000000101db8ccc _PyEval_EvalFrameDefault + 71564
21 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
22 libpython3.10.dylib 0x0000000101ca943c method_vectorcall + 124
23 libpython3.10.dylib 0x0000000101db8ccc _PyEval_EvalFrameDefault + 71564
24 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
25 libpython3.10.dylib 0x0000000101ca943c method_vectorcall + 124
26 libpython3.10.dylib 0x0000000101db9720 _PyEval_EvalFrameDefault + 74208
27 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
28 libpython3.10.dylib 0x0000000101db9720 _PyEval_EvalFrameDefault + 74208
29 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
30 libpython3.10.dylib 0x0000000101db9720 _PyEval_EvalFrameDefault + 74208
31 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
32 libpython3.10.dylib 0x0000000101dd0938 call_function + 148
33 libpython3.10.dylib 0x0000000101db925c _PyEval_EvalFrameDefault + 72988
34 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
35 libpython3.10.dylib 0x0000000101ca943c method_vectorcall + 124
36 libpython3.10.dylib 0x0000000101db9720 _PyEval_EvalFrameDefault + 74208
37 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
38 libpython3.10.dylib 0x0000000101dd0938 call_function + 148
39 libpython3.10.dylib 0x0000000101db925c _PyEval_EvalFrameDefault + 72988
40 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
41 libpython3.10.dylib 0x0000000101dd0938 call_function + 148
42 libpython3.10.dylib 0x0000000101db91dc _PyEval_EvalFrameDefault + 72860
43 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
44 libpython3.10.dylib 0x0000000101dd0938 call_function + 148
45 libpython3.10.dylib 0x0000000101db91dc _PyEval_EvalFrameDefault + 72860
46 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
47 libpython3.10.dylib 0x0000000101dd0938 call_function + 148
48 libpython3.10.dylib 0x0000000101db91dc _PyEval_EvalFrameDefault + 72860
49 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
50 libpython3.10.dylib 0x0000000101ca94e4 method_vectorcall + 292
51 libpython3.10.dylib 0x0000000101db93b0 _PyEval_EvalFrameDefault + 73328
52 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
53 libpython3.10.dylib 0x0000000101db8b9c _PyEval_EvalFrameDefault + 71260
54 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
55 libpython3.10.dylib 0x0000000101db93b0 _PyEval_EvalFrameDefault + 73328
56 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
57 libpython3.10.dylib 0x0000000101db8b9c _PyEval_EvalFrameDefault + 71260
58 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
59 libpython3.10.dylib 0x0000000101db8b9c _PyEval_EvalFrameDefault + 71260
60 libpython3.10.dylib 0x0000000101ca5490 _PyFunction_Vectorcall + 520
61 libpython3.10.dylib 0x0000000101ca9548 method_vectorcall + 392
62 libpython3.10.dylib 0x0000000101f0bba8 thread_run + 164
63 libpython3.10.dylib 0x0000000101e3875c pythread_wrapper + 48
64 libsystem_pthread.dylib 0x00000001965e5f94 _pthread_start + 136
65 libsystem_pthread.dylib 0x00000001965e0d34 thread_start + 8
)
libc++abi: terminating due to uncaught exception of type NSException

mohnjiles added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Aug 21, 2024
chagenlog

(cherry picked from commit aaa00b2)

# Conflicts:
#	CHANGELOG.md
Copy link

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Aug 31, 2024
Copy link

github-actions bot commented Sep 5, 2024

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
mohnjiles added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

1 participant