TagStudioDev / TagStudio

A User-Focused Photo & File Management System
GNU General Public License v3.0
2.84k stars 265 forks source link

Segmentation fault when using the return key to accept changes to text line field #139

Closed chaotic-dev closed 1 month ago

chaotic-dev commented 1 month ago

When editing a text line field, using the return/enter key to accept changes causes the application to segfault. Clicking the "Save" button appears to work as intended.

OS: Linux

Logs with faulthandler enabled:

Current thread 0x0000710dcc35e000 (most recent call first):
  File "/home/_/Documents/code/TagStudio/tagstudio/src/qt/ts_qt.py", line 529 in start
  File "/home/_/Documents/code/TagStudio/tagstudio/tag_studio.py", line 67 in main
  File "/home/_/Documents/code/TagStudio/tagstudio/tag_studio.py", line 75 in <module>

Extension modules: ujson, PIL._imaging, pillow_avif._avif, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, xxsubtype, shiboken6.Shiboken, PySide6.QtCore, PySide6.QtGui, PySide6.QtWidgets, PySide6.QtUiTools, PIL._imagingmath, PIL._imagingft (total: 24)
./TagStudio.sh: line 7: 376976 Segmentation fault      (core dumped) python tagstudio/tag_studio.py