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

Crashed while adjusting framing size #5415

Open
misaaakat opened this issue Apr 22, 2024 · 1 comment
Open

Crashed while adjusting framing size #5415

misaaakat opened this issue Apr 22, 2024 · 1 comment

Comments

@misaaakat
Copy link

Description

OpenToonz 1.7.1 (Build May 10 2023)

Report Date: 2024-04-22 20:41:45
Crash Reason: (SIGSEGV) Segmentation Fault

Build ABI: x86_64-little_endian-lp64
Operating System: macOS 10.16
OS Kernel: 21.5.0
CPU Threads: 4

GPU Vendor: Intel Inc.
GPU Model: Intel Iris OpenGL Engine
GPU Version: 2.1 INTEL-18.7.2

Crash File: /Users/admin/Library/Application Support/OpenToonz/OpenToonz/crash/Crash-20240422-204145.log

Application Dir: /Applications/OpenToonz.app/Contents/MacOS
Stuff Dir: /Applications/OpenToonz/OpenToonz_stuff

Project Name: calliekasanscene1
Scene Name: scene1calliekasan
Project Path: /Applications/OpenToonz/OpenToonz_stuff/projects/calliekasanscene1/calliekasanscene1_otprj.xml
Scene Path: /Applications/OpenToonz/OpenToonz_stuff/projects/calliekasanscene1/scenes/scene1calliekasan.tnz

==== Backtrace ====
1> 3 QtWidgets 0x00000001122227a8 ZN14QWidgetPrivate22invalidateBackingStoreI5QRectEEvRKT + 4664
2> 4 libtnztools.dylib 0x000000011079a5d6 _ZN19RasterSelectionTool18setNewFreeDeformerEv + 358
3> 5 libtnztools.dylib 0x000000011079a149 _ZN17DragSelectionTool16RasterDeformTool14applyTransformENS_10FourPointsEb + 41
4> 6 libtnztools.dylib 0x000000011079b88a _ZN17DragSelectionTool15RasterScaleTool9transformEi7TPointTIdEb + 346
5> 7 libtnztools.dylib 0x00000001107aae0d _ZN17DragSelectionTool5Scale14leftButtonDragERK7TPointTIdERK11TMouseEvent + 1261
6> 8 libtnztools.dylib 0x000000011079c642 _ZN19RasterSelectionTool14leftButtonDragERK7TPointTIdERK11TMouseEvent + 162
7> 9 OpenToonz 0x000000010e264cd9 _ZN11SceneViewer6onMoveERK11TMouseEvent + 2105
8> 10 OpenToonz 0x000000010e265044 _ZN11SceneViewer14mouseMoveEventEP11QMouseEvent + 196
9> 11 QtWidgets 0x0000000112252ac1 _ZN7QWidget5eventEP6QEvent + 481
10> 12 QtWidgets 0x000000011221952d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
11> 13 QtWidgets 0x000000011221c424 _ZN12QApplication6notifyEP7QObjectP6QEvent + 7428
12> 14 QtCore 0x0000000113bd87f4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
13> 15 QtWidgets 0x0000000112219e57 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 903
14> 16 QtWidgets 0x0000000112271b07 _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 10951
15> 17 QtWidgets 0x000000011227023e _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 4606
16> 18 QtWidgets 0x000000011221952d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
17> 19 QtWidgets 0x000000011221a8f2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 466
18> 20 QtCore 0x0000000113bd87f4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
19> 21 QtGui 0x0000000112df9811 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 3489
20> 22 QtGui 0x0000000112dde7eb _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 219
21> 23 libqcocoa.dylib 0x0000000118ee0a58 qt_plugin_instance + 199592
22> 24 CoreFoundation 0x00007ff80787019b CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
23> 25 CoreFoundation 0x00007ff807870103 __CFRunLoopDoSource0 + 180
24> 26 CoreFoundation 0x00007ff80786fe7d __CFRunLoopDoSources0 + 242
25> 27 CoreFoundation 0x00007ff80786e898 __CFRunLoopRun + 892
26> 28 CoreFoundation 0x00007ff80786de5c CFRunLoopRunSpecific + 562
27> 29 HIToolbox 0x00007ff8105175e6 RunCurrentEventLoopInMode + 292
28> 30 HIToolbox 0x00007ff810517213 ReceiveNextEventCommon + 283
29> 31 HIToolbox 0x00007ff8105170e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
30> 32 AppKit 0x00007ff80a2af45d _DPSNextEvent + 927
31> 32> sh: addr2line: command not found
33> 35 libqcocoa.dylib 0x0000000118edf86c qt_plugin_instance + 195004
34> 36 QtCore 0x0000000113bd497f _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431
35> 37 QtCore 0x0000000113bd8d82 _ZN16QCoreApplication4execEv + 130
36> 38 OpenToonz 0x000000010e114e07 main + 16487
37> 39 dyld 0x000000011a23a51e start + 462
==== End ====

Steps to Reproduce

Expected Behavior

No response

Screenshots, Video & Crash Logs

No response

OpenToonz Version

1.7

OpenToonz Version Information

No response

Operating System

macOS

GPU

Intel

Graphics Tablet

Huion

@Mondaley
Copy link

Idk how much trust we can have in GPT, but this is what it said:

"This log file is from OpenToonz, a 2D animation software. It appears that the software crashed due to a segmentation fault (SIGSEGV), which is a specific kind of error that occurs when a program tries to access memory it's not allowed to.

The log provides information about the crash, including the date and time, the version of OpenToonz (1.7.1), the operating system (macOS 10.16), and details about the crash file location. It also includes a backtrace, which is a record of the function calls leading up to the crash.

The backtrace indicates that the crash occurred during a mouse move event (mouseMoveEvent) in the SceneViewer class (ZN11SceneViewer6onMoveERK11TMouseEvent). It seems that the crash may be related to a problem with handling mouse events while using the Raster Selection Tool (RasterSelectionTool) and the Drag Selection Tool (DragSelectionTool).

To resolve the issue, developers might need to investigate the code related to these tools, particularly functions such as setNewFreeDeformer, applyTransform, and transform, to identify the cause of the segmentation fault and fix the bug."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants