https://bugs.kde.org/show_bug.cgi?id=481315

            Bug ID: 481315
           Summary: subtitlecomposer crashes
    Classification: Miscellaneous
           Product: unknown
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: k...@jmbreuer.net
  Target Milestone: ---

Application: subtitlecomposer (0.8.0)
 (Compiled from sources)
Qt Version: 5.15.12
Frameworks Version: 5.113.0
Operating System: Linux 6.6.13-gentoo x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I had an issue with subtitlecomposer crashing, as it turned out, whenever I
reached a specific point in the video I was working on.

That crash report was not useful, so I rebuilt subtitlecomposer and its
relevant dependencies with debug symbols. In this first attempt, this changes
the behaviour, causing an assertion immediately upon starting subtitlecomposer,
that I guess is optimized out in a release build:

ASSERT: "last < rowCount(parent)" in file
/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/itemmodels/qabstractitemmodel.cpp,
line 2817

How can I find out which database file (I guess) is causing this assertion, to
'fix' that (i.e. probably delete and have it rebuilt)?

Meanwhile, I'll see to rebuild with debug symbols but with a release-equivalent
configuration, i.e. without the assertion(s).

The crash can be reproduced every time.

-- Backtrace:
Application: Subtitle Composer (subtitlecomposer), signal: Aborted

[KCrash Handler]
#4  0x00007f4d78cb0e5c in  () at /lib64/libc.so.6
#5  0x00007f4d78c625e2 in raise () at /lib64/libc.so.6
#6  0x00007f4d78c4b4ed in abort () at /lib64/libc.so.6
#7  0x00007f4d7c491eab in qt_message_fatal (message=<synthetic pointer>...,
context=<optimized out>) at
/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/global/qlogging.cpp:1919
#8  QMessageLogger::fatal(char const*, ...) const
(this=this@entry=0x7ffdddfc83f8, msg=msg@entry=0x7f4d7c78b6a8 "ASSERT: \"%s\"
in file %s, line %d") at
/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/global/qlogging.cpp:898
#9  0x00007f4d7c49094a in qt_assert(char const*, char const*, int)
(assertion=assertion@entry=0x7f4d7c7a5e44 "last < rowCount(parent)",
file=file@entry=0x7f4d7c796ac8
"/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/itemmodels/qabstractitemmodel.cpp",
line=line@entry=2817) at
/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/global/qglobal.cpp:3392
#10 0x00007f4d7c4b2c3a in QAbstractItemModel::beginRemoveRows(QModelIndex
const&, int, int) (this=0x5611a8dd9800, parent=<optimized out>, first=0,
last=0) at
/var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/itemmodels/qabstractitemmodel.cpp:2817
#11 0x00005611a6d545d5 in SubtitleComposer::InstalledScriptsModel::removeAll()
(this=0x5611a8dd9800) at
/var/tmp/portage/media-video/subtitlecomposer-0.8.0/work/subtitlecomposer-0.8.0/src/scripting/scriptsmanager.cpp:305
#12 SubtitleComposer::ScriptsManager::reloadScripts() (this=0x5611a8f8c1a0) at
/var/tmp/portage/media-video/subtitlecomposer-0.8.0/work/subtitlecomposer-0.8.0/src/scripting/scriptsmanager.cpp:711
#13 0x00005611a6c9bf99 in SubtitleComposer::Application::createMainWindow()
(this=this@entry=0x7ffdddfc87e0) at
/var/tmp/portage/media-video/subtitlecomposer-0.8.0/work/subtitlecomposer-0.8.0/src/application.cpp:280
#14 0x00005611a6c900b2 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/var/tmp/portage/media-video/subtitlecomposer-0.8.0/work/subtitlecomposer-0.8.0/src/main.cpp:183
[Inferior 1 (process 1967481) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to