starc icon indicating copy to clipboard operation
starc copied to clipboard

Hangs after pressing enter during chosing the transition

Open bluszcz opened this issue 1 year ago • 3 comments

In the Screenplay document after writing/choosing the transition from dropdown box and pressing enter it hangs.

image
Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [68952]

VM Region Info: 0 is not in any region.  Bytes before following region: 4366069760
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      1043cf000-1043e7000    [   96K] r-x/r-x SM=COW  ...acOS/starcapp

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x122FCA26A)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libcorelib.1.0.0.dylib        	       0x122fca26a BusinessLayer::TextDocument::updateModelOnContentChange(int, int, int) + 10778
1   QtCore                        	       0x10ff1ff95 0x10fcf4000 + 2277269
2   QtGui                         	       0x10ebfd4f1 QTextDocument::contentsChange(int, int, int) + 81
3   QtGui                         	       0x10e929940 QTextDocumentPrivate::finishEdit() + 160
4   libcorelib.1.0.0.dylib        	       0x122fcc505 BusinessLayer::TextDocument::addParagraph(BusinessLayer::TextParagraphType, BusinessLayer::TextCursor) + 373
5   libscreenplaytextplugin.dylib 	       0x13b0c80eb Ui::ScreenplayTextEdit::addParagraph(BusinessLayer::TextParagraphType) + 475
6   libscreenplaytextplugin.dylib 	       0x13b0c5cc1 KeyProcessingLayer::TransitionHandler::handleEnter(QKeyEvent*) + 545
7   libscreenplaytextplugin.dylib 	       0x13b0a83a5 KeyProcessingLayer::AbstractKeyHandler::handleKeyEvent(QKeyEvent*) + 261
8   libscreenplaytextplugin.dylib 	       0x13b0b54d2 KeyProcessingLayer::KeyPressHandlerFacade::handle(QEvent*, bool) + 114
9   libscreenplaytextplugin.dylib 	       0x13b0c93f5 Ui::ScreenplayTextEdit::keyPressEvent(QKeyEvent*) + 181
10  QtWidgets                     	       0x10d448e4f QWidget::event(QEvent*) + 527
11  QtWidgets                     	       0x10d4f158d QFrame::event(QEvent*) + 45
12  libcorelib.1.0.0.dylib        	       0x12340c603 PageTextEdit::event(QEvent*) + 403
13  QtWidgets                     	       0x10d40e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
14  QtWidgets                     	       0x10d40ffd3 QApplication::notify(QObject*, QEvent*) + 947
15  starcapp                      	       0x1043d60c8 Application::notify(QObject*, QEvent*) + 536
16  QtCore                        	       0x10feeca34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
17  QtWidgets                     	       0x10d733c9b 0x10d3fe000 + 3366043
18  QtWidgets                     	       0x10d71ca85 QGraphicsItem::sceneEvent(QEvent*) + 357
19  QtWidgets                     	       0x10d749ce1 QGraphicsScene::keyPressEvent(QKeyEvent*) + 129
20  QtWidgets                     	       0x10d74560f QGraphicsScene::event(QEvent*) + 335
21  QtWidgets                     	       0x10d40e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
22  QtWidgets                     	       0x10d40fe11 QApplication::notify(QObject*, QEvent*) + 497
23  starcapp                      	       0x1043d60c8 Application::notify(QObject*, QEvent*) + 536
24  QtCore                        	       0x10feeca34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
25  QtWidgets                     	       0x10d76d35c QGraphicsView::keyPressEvent(QKeyEvent*) + 76
26  QtWidgets                     	       0x10d448e4f QWidget::event(QEvent*) + 527
27  QtWidgets                     	       0x10d4f158d QFrame::event(QEvent*) + 45
28  libcorelib.1.0.0.dylib        	       0x1234174e6 ScalableWrapper::event(QEvent*) + 198
29  QtWidgets                     	       0x10d40e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
30  QtWidgets                     	       0x10d40ffd3 QApplication::notify(QObject*, QEvent*) + 947
31  starcapp                      	       0x1043d60c8 Application::notify(QObject*, QEvent*) + 536
32  QtCore                        	       0x10feeca34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
33  QtWidgets                     	       0x10d467351 0x10d3fe000 + 430929
34  QtWidgets                     	       0x10d466727 0x10d3fe000 + 427815
35  QtWidgets                     	       0x10d40e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
36  QtWidgets                     	       0x10d40fe11 QApplication::notify(QObject*, QEvent*) + 497
37  starcapp                      	       0x1043d60c8 Application::notify(QObject*, QEvent*) + 536
38  QtCore                        	       0x10feeca34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
39  QtGui                         	       0x10e8159c8 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) + 152
40  QtGui                         	       0x10e7f9d7b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
41  QtGui                         	       0x10e7f4b72 QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 594
42  libqcocoa.dylib               	       0x10cec5848 0x10ce93000 + 206920
43  libqcocoa.dylib               	       0x10cec5a18 0x10ce93000 + 207384
44  AppKit                        	    0x7ff80c9595e6 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 520
45  AppKit                        	    0x7ff80c9591c3 -[NSWindow(NSEventRouting) sendEvent:] + 345
46  libqcocoa.dylib               	       0x10cec8dd5 0x10ce93000 + 220629
47  AppKit                        	    0x7ff80d0f0212 -[NSApplication(NSEventRouting) sendEvent:] + 346
48  libqcocoa.dylib               	       0x10ced012a 0x10ce93000 + 250154
49  AppKit                        	    0x7ff80ccacb93 -[NSApplication _handleEvent:] + 65
50  AppKit                        	    0x7ff80c7ead57 -[NSApplication run] + 640
51  libqcocoa.dylib               	       0x10cecc62f 0x10ce93000 + 235055
52  QtCore                        	       0x10fee8acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
53  QtCore                        	       0x10feed042 QCoreApplication::exec() + 130
54  starcapp                      	       0x1043d783e main + 430
55  dyld                          	       0x2046e6386 start + 1942

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffbd6294 0x7ff7ffbd2000 + 17044

Thread 2:
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80916fa2e mach_msg2_trap + 10
2   libsystem_kernel.dylib        	    0x7ff80917de3a mach_msg2_internal + 84
3   libsystem_kernel.dylib        	    0x7ff809176b62 mach_msg_overwrite + 653
4   libsystem_kernel.dylib        	    0x7ff80916fd1f mach_msg + 19
5   starcapp                      	       0x1043deb65 google_breakpad::ExceptionHandler::WaitForMessage(void*) + 133
6   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
7   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 3:: Qt bearer thread
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80917684a poll + 10
2   QtCore                        	       0x10ff4f01a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
3   QtCore                        	       0x10ff50a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
4   QtCore                        	       0x10fee8acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
5   QtCore                        	       0x10fd15603 QThread::exec() + 131
6   QtCore                        	       0x10fd16619 0x10fcf4000 + 140825
7   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
8   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 4:: com.apple.NSEventThread
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80916fa2e mach_msg2_trap + 10
2   libsystem_kernel.dylib        	    0x7ff80917de3a mach_msg2_internal + 84
3   libsystem_kernel.dylib        	    0x7ff809176b62 mach_msg_overwrite + 653
4   libsystem_kernel.dylib        	    0x7ff80916fd1f mach_msg + 19
5   CoreFoundation                	    0x7ff80928b909 __CFRunLoopServiceMachPort + 143
6   CoreFoundation                	    0x7ff80928a37c __CFRunLoopRun + 1371
7   CoreFoundation                	    0x7ff809289859 CFRunLoopRunSpecific + 557
8   AppKit                        	    0x7ff80c956fac _NSEventThread + 122
9   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
10  libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 5:: QNetworkAccessManager thread
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80917684a poll + 10
2   QtCore                        	       0x10ff4f220 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
3   QtCore                        	       0x10ff50a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
4   QtCore                        	       0x10fee8acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
5   QtCore                        	       0x10fd15603 QThread::exec() + 131
6   QtCore                        	       0x10fd16619 0x10fcf4000 + 140825
7   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
8   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 6:: QNetworkAccessManager thread
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80917684a poll + 10
2   QtCore                        	       0x10ff4f220 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
3   QtCore                        	       0x10ff50a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
4   QtCore                        	       0x10fee8acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
5   QtCore                        	       0x10fd15603 QThread::exec() + 131
6   QtCore                        	       0x10fd16619 0x10fcf4000 + 140825
7   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
8   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 7:: QNetworkAccessManager thread
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80917684a poll + 10
2   QtCore                        	       0x10ff4f220 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
3   QtCore                        	       0x10ff50a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
4   QtCore                        	       0x10fee8acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
5   QtCore                        	       0x10fd15603 QThread::exec() + 131
6   QtCore                        	       0x10fd16619 0x10fcf4000 + 140825
7   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
8   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 8:: com.apple.CFSocket.private
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80917891e __select + 10
2   CoreFoundation                	    0x7ff8092b346f __CFSocketManager + 637
3   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
4   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 9:: caulk.messenger.shared:17
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80916f9aa semaphore_wait_trap + 10
2   caulk                         	    0x7ff813d43c7e caulk::semaphore::timed_wait(double) + 150
3   caulk                         	    0x7ff813d43b98 caulk::concurrent::details::worker_thread::run() + 30
4   caulk                         	    0x7ff813d438bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 41
5   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
6   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 10:: caulk.messenger.shared:high
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80916f9aa semaphore_wait_trap + 10
2   caulk                         	    0x7ff813d43c7e caulk::semaphore::timed_wait(double) + 150
3   caulk                         	    0x7ff813d43b98 caulk::concurrent::details::worker_thread::run() + 30
4   caulk                         	    0x7ff813d438bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 41
5   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
6   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 11:: caulk::deferred_logger
0   ???                           	    0x7ff89972ea78 ???
1   libsystem_kernel.dylib        	    0x7ff80916f9aa semaphore_wait_trap + 10
2   caulk                         	    0x7ff813d43c7e caulk::semaphore::timed_wait(double) + 150
3   caulk                         	    0x7ff813d43b98 caulk::concurrent::details::worker_thread::run() + 30
4   caulk                         	    0x7ff813d438bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 41
5   libsystem_pthread.dylib       	    0x7ff8091af202 _pthread_start + 99
6   libsystem_pthread.dylib       	    0x7ff8091aabab thread_start + 15

Thread 12::  Dispatch queue: com.apple.root.default-qos.overcommit
0   libdispatch.dylib             	    0x7ff809007546 _dispatch_last_resort_autorelease_pool_push + 0
1   libdispatch.dylib             	    0x7ff80900e0d7 _dispatch_lane_invoke + 336
2   libdispatch.dylib             	    0x7ff809017aee _dispatch_root_queue_drain_deferred_wlh + 271
3   libdispatch.dylib             	    0x7ff8090173fd _dispatch_workloop_worker_thread + 451
4   libsystem_pthread.dylib       	    0x7ff8091abc47 _pthread_wqthread + 327
5   libsystem_pthread.dylib       	    0x7ff8091aab97 start_wqthread + 15

Thread 13:
0   runtime                       	    0x7ff7ffbdbcb4 0x7ff7ffbd2000 + 40116
1   runtime                       	    0x7ff7ffbdc754 0x7ff7ffbd2000 + 42836
2   ???                           	    0x7ff89972d4ac ???
3   libdispatch.dylib             	    0x7ff809027cc3 _dispatch_kevent_merge + 81
4   libdispatch.dylib             	    0x7ff809025d18 _dispatch_event_loop_merge + 112
5   libdispatch.dylib             	    0x7ff8090173de _dispatch_workloop_worker_thread + 420
6   libsystem_pthread.dylib       	    0x7ff8091abc47 _pthread_wqthread + 327
7   libsystem_pthread.dylib       	    0x7ff8091aab97 start_wqthread + 15
fbd2000 + 141644


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000030cbb4f48  rcx: 0x0000000000000000  rdx: 0x00000001102762c0
  rdi: 0x00007f791c8040c0  rsi: 0x000000030cbb4e60  rbp: 0x000000030cbb4f90  rsp: 0x000000030cbb4ea0
   r8: 0x000000000000000a   r9: 0x00000001102762c0  r10: 0x00007f7908f2f290  r11: 0x00000000ffffffff
  r12: 0x0000000000000000  r13: 0x00007f791c8040c0  r14: 0x0000000110276200  r15: 0x00007f790aa20840
  rip: <unavailable>       rfl: 0x0000000000000202
 tmp0: 0x0000000122fca267 tmp1: 0x0000000122fca267 tmp2: 0x000000012496aa2c

bluszcz avatar Dec 22 '23 15:12 bluszcz

Hello and thanks for the report! Does it happen only with one concrete screenplay, or with every screenplay you try?

dimkanovikov avatar Dec 25 '23 03:12 dimkanovikov

Hi hello! It happens in two scenarios which I was working. However, when I opened new one, it does not happen in the new document.

bluszcz avatar Dec 26 '23 10:12 bluszcz

Hmm... It will be appreciated if you can check the scripts, where crash happened - does it still happen if you'll add transition to the beginning of it?

dimkanovikov avatar Dec 27 '23 05:12 dimkanovikov