Bug 510273 - Glaxnimate crashes when document.find_by_uuid() is used from the script console
Summary: Glaxnimate crashes when document.find_by_uuid() is used from the script console
Status: REPORTED
Alias: None
Product: glaxnimate
Classification: Applications
Component: scripting (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Mattia Basaglia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-05 17:55 UTC by Martin Kampas
Modified: 2025-10-05 18:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace (partial) (3.34 KB, text/plain)
2025-10-05 17:55 UTC, Martin Kampas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kampas 2025-10-05 17:55:18 UTC
Created attachment 185541 [details]
Backtrace (partial)

SUMMARY

Glaxnimate crashes when document.find_by_uuid() is used from the script console. Applies to other find_by_* functions as well.

STEPS TO REPRODUCE
1. Create a simple document
2. Display the scripting console
3. Type "document.find_by_uuid('...')" followed by Enter. (Crashes with arbitrary string passed - no valid uuid needed to reproduce.)

OBSERVED RESULT

Application crashes.

EXPECTED RESULT

Application does not crash. If the function is used with invalid arguments, an error is reported in the console.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-arch3-1 (64-bit)
Graphics Platform: Wayland

Glaxnimate version: 0.5.4-7 (https://aur.archlinux.org/packages/glaxnimate)

ADDITIONAL INFORMATION

I tried various arguments, including a well formatted UUID string "{xxxx....}" and a uuid.UUID instance constructed beforehand, all with the same result. Only when I tried to pass it a QtUuid instance it did not crash and instead reported a conversion error in the console.