Bug 462156 - SubtitleComposer crashes on .sub import
Summary: SubtitleComposer crashes on .sub import
Status: RESOLVED FIXED
Alias: None
Product: subtitlecomposer
Classification: Applications
Component: general (show other bugs)
Version: 0.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mladen Milinkovic, Max
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-23 08:11 UTC by Hilde Meuris
Modified: 2022-11-23 21:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
.sub file (2.77 MB, text/x-microdvd)
2022-11-23 08:16 UTC, Hilde Meuris
Details
.idx file (33.07 KB, text/plain)
2022-11-23 08:16 UTC, Hilde Meuris
Details
.sym file gererated by subtitle composer before crash (38.69 KB, text/plain)
2022-11-23 08:18 UTC, Hilde Meuris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hilde Meuris 2022-11-23 08:11:31 UTC
Application: subtitlecomposer (0.7.1)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-23-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
At the end of importing a .sub and .idx file, Subtitle Composer crashes each time so I don't have the opportunity to save the converted subtitles.

The crash can be reproduced every time.

-- Backtrace:
Application: Subtitle Composer (subtitlecomposer), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7149e708d2 in QTextDocumentPrivate::plainText() const () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f7149e60ea5 in QTextDocument::toPlainText() const () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007f714a7693bf in QWidgetTextControl::toPlainText() const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f714a73eb6a in QTextEdit::toPlainText() const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x000055bb511ff3e9 in  ()
#9  0x000055bb511fff3d in  ()
#10 0x000055bb512000b0 in  ()
#11 0x000055bb5120050e in  ()
#12 0x00007f71498f36ff in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x000055bb5120f302 in  ()
#14 0x00007f71498f36ff in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f7149863f7e in QItemSelectionModel::currentRowChanged(QModelIndex const&, QModelIndex const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f714986780a in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x000055bb5120ead0 in  ()
#18 0x00007f71498f36ff in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f71498f76de in QTimer::timeout(QTimer::QPrivateSignal) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f71498e7945 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f714a56bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f71498bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7149913e71 in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f714991475c in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f71465e54f9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f714663a228 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f71465e2cb0 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7149914aea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055bb5121aa8f in  ()
#30 0x00007f71498f36ff in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055bb511aa5f7 in  ()
#32 0x000055bb511b73f0 in  ()
#33 0x000055bb51195f27 in  ()
#34 0x00007f7146e23510 in __libc_start_call_main (main=main@entry=0x55bb51194e00, argc=argc@entry=2, argv=argv@entry=0x7ffd0277ea98) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007f7146e235c9 in __libc_start_main_impl (main=0x55bb51194e00, argc=2, argv=0x7ffd0277ea98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0277ea88) at ../csu/libc-start.c:381
#36 0x000055bb51197ca5 in  ()
[Inferior 1 (process 4933) detached]

Reported using DrKonqi
Comment 1 Hilde Meuris 2022-11-23 08:16:01 UTC
Created attachment 153962 [details]
.sub file
Comment 2 Hilde Meuris 2022-11-23 08:16:21 UTC
Created attachment 153963 [details]
.idx file
Comment 3 Hilde Meuris 2022-11-23 08:18:27 UTC
Created attachment 153964 [details]
.sym file gererated by subtitle composer before crash
Comment 4 Mladen Milinkovic, Max 2022-11-23 10:25:05 UTC
I believe this was fixed with commit 17811ce518f2db3db4ecb15c81ed774593715713

Can you please check that it's fixed with current master build?

Binaries are downloadable from here: https://subtitlecomposer.kde.org/download.html
Comment 5 Hilde Meuris 2022-11-23 10:36:49 UTC
Indeed, it is fixed in the latest git development version. Thank you very much.
Comment 6 Mladen Milinkovic, Max 2022-11-23 10:53:15 UTC
Great.. thank you for reporting the bug!
Comment 7 Hilde Meuris 2022-11-23 11:31:27 UTC
I just noticed that the latest git version crashes when I try to go back to the previous subtitle image during the import. This problem did not occur in 0.7.1. Should I make a new bug report for this problem or leave it here.?
Comment 8 Mladen Milinkovic, Max 2022-11-23 14:17:21 UTC
It's fine here, will fix it ASAP.
Comment 9 Hilde Meuris 2022-11-23 14:27:44 UTC
Thank you.
Comment 10 Mladen Milinkovic, Max 2022-11-23 17:00:57 UTC
That was fixed too with commit 78553af05ba97da0920f7cabd281503bd4ca484a.
Download page should be updated in next 30mins or so.
Comment 11 Hilde Meuris 2022-11-23 21:55:30 UTC
I just downloaded the latest version and it works. Thank you very much.