Bug 292966 - kompare crash when comparing 2 large text files from Dolphin
Summary: kompare crash when comparing 2 large text files from Dolphin
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 14:54 UTC by Peter Schübel
Modified: 2018-11-29 09:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Schübel 2012-01-31 14:54:34 UTC
Application: kompare (4.0.1)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.11-default x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I tried to compare two large text files (8.6MB each). Kompare was not running. I selected both files (from same folder) in Dolphin and clicked on the "kompare" icon in the Dolphin toolbar. Kompare started and briefly showed an empty window (as it does if the comparison calculation takes a while), but it crashed in less than a second.
The files have 128 lines with each line having around 60,000 characters (or more). That may probably be a bit too much for kompare...(?).

The crash can be reproduced every time.

-- Backtrace:
Application: Kompare (kompare), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f3241253aad in setContent (this=0x7ffffaeb1bf0, sequences=<value optimized out>) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/levenshteintable.h:109
#7  Diff2::LevenshteinTable<Diff2::DifferenceStringPair>::createTable (this=0x7ffffaeb1bf0, sequences=<value optimized out>) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/levenshteintable.h:164
#8  0x00007f3241253473 in Diff2::Difference::determineInlineDifferences (this=0x93b130) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/difference.cpp:118
#9  0x00007f3241257848 in Diff2::ParserBase::parseUnifiedHunkBody (this=0x85c920) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/parserbase.cpp:628
#10 0x00007f3241257cc4 in Diff2::ParserBase::parseUnified (this=0x85c920) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/parserbase.cpp:754
#11 0x00007f3241257124 in Diff2::ParserBase::parse (this=0x85c920, malformed=0x7ffffaeb213f) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/parserbase.cpp:105
#12 0x00007f3241254fb8 in Diff2::Parser::parse (this=0x8cacd0, diffLines=..., malformed=0x7ffffaeb213f) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/parser.cpp:92
#13 0x00007f324124aa82 in Diff2::KompareModelList::parseDiffOutput (this=0x9734f0, diff=<value optimized out>) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/komparemodellist.cpp:920
#14 0x00007f324124d442 in Diff2::KompareModelList::slotDiffProcessFinished (this=0x9734f0, success=<value optimized out>) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/komparemodellist.cpp:483
#15 0x00007f324124d96f in Diff2::KompareModelList::qt_metacall (this=0x9734f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffaeb2330) at /usr/src/debug/kdesdk-4.7.4/build/kompare/libdiff2/komparemodellist.moc:150
#16 0x00007f324e58fe8f in QMetaObject::activate (sender=0x845410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffffaeb2330) at kernel/qobject.cpp:3287
#17 0x00007f3241244eaf in KompareProcess::diffHasFinished (this=<value optimized out>, _t1=true) at /usr/src/debug/kdesdk-4.7.4/build/kompare/libdiff2/kompareprocess.moc:92
#18 0x00007f3241244ffc in KompareProcess::slotFinished (this=0x845410, exitCode=1, exitStatus=QProcess::NormalExit) at /usr/src/debug/kdesdk-4.7.4/kompare/libdiff2/kompareprocess.cpp:279
#19 0x00007f324124519d in KompareProcess::qt_metacall (this=0x845410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffaeb2520) at /usr/src/debug/kdesdk-4.7.4/build/kompare/libdiff2/kompareprocess.moc:80
#20 0x00007f324e58fe8f in QMetaObject::activate (sender=0x845410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffffaeb2520) at kernel/qobject.cpp:3287
#21 0x00007f324e518ddf in QProcess::finished (this=<value optimized out>, _t1=1, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:142
#22 0x00007f324e51dd57 in QProcessPrivate::_q_processDied (this=0x7ed630) at io/qprocess.cpp:1051
#23 0x00007f324e51de29 in QProcess::qt_metacall (this=0x845410, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7ffffaeb26f0) at .moc/release-shared/moc_qprocess.cpp:115
#24 0x00007f324e9ce388 in KProcess::qt_metacall (this=0x845410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdelibs-4.7.4/build/kdecore/kprocess.moc:69
#25 0x00007f3241245140 in KompareProcess::qt_metacall (this=0x845410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffaeb26f0) at /usr/src/debug/kdesdk-4.7.4/build/kompare/libdiff2/kompareprocess.moc:74
#26 0x00007f324e58fe8f in QMetaObject::activate (sender=0x84bfd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffffaeb26f0) at kernel/qobject.cpp:3287
#27 0x00007f324e5d8a5e in QSocketNotifier::activated (this=<value optimized out>, _t1=21) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#28 0x00007f324e5966db in QSocketNotifier::event (this=0x84bfd0, e=0x7ffffaeb2da0) at kernel/qsocketnotifier.cpp:317
#29 0x00007f324ef532c4 in QApplicationPrivate::notify_helper (this=0x642f30, receiver=0x84bfd0, e=0x7ffffaeb2da0) at kernel/qapplication.cpp:4481
#30 0x00007f324ef5b87a in QApplication::notify (this=<value optimized out>, receiver=0x84bfd0, e=0x7ffffaeb2da0) at kernel/qapplication.cpp:4360
#31 0x00007f324fc6ae36 in KApplication::notify (this=0x7ffffaeb32e0, receiver=0x84bfd0, event=0x7ffffaeb2da0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#32 0x00007f324e57b7cc in QCoreApplication::notifyInternal (this=0x7ffffaeb32e0, receiver=0x84bfd0, event=0x7ffffaeb2da0) at kernel/qcoreapplication.cpp:787
#33 0x00007f324e5a5fb9 in sendEvent (source=0x640f40) at kernel/qcoreapplication.h:215
#34 socketNotifierSourceDispatch (source=0x640f40) at kernel/qeventdispatcher_glib.cpp:110
#35 0x00007f324a720bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f324a7213b0 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00007f324a721650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f324e5a65df in QEventDispatcherGlib::processEvents (this=0x61fef0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f324eff941e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f324e57ac22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f324e57ae35 in QEventLoop::exec (this=0x7ffffaeb2ff0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f324e57f27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#43 0x000000000040a452 in main (argc=-85249232, argv=0x7ffffaeb3ba8) at /usr/src/debug/kdesdk-4.7.4/kompare/main.cpp:228

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-29 22:28:04 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-13 14:36:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-29 09:37:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!