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

--- Comment #6 from Yaron Shahrabani <[email protected]> ---
(In reply to Albert Astals Cid from comment #5)
> This is much more useful thanks, one last request if you can.
> 
> Please run 
> 
> valgrind --num-callers=100 lokalize
> 
> and try to reproduce the crash and attach the output of valgrind (even if it
> does not crash). Be patient, the app will be much slower when run under
> valgrind

For the sake of this test I recreated the kcalutils file over and over again,
sorry about the mess in SVN (basically a file with several string rewritten,
I'll get to it one day).
I've seen too many errors before which are not related.
These are (you were right, it was sluggish):
org.kde.lokalize: indexed
"/home/yarons/Documents/workspace/kde-all/trunk/l10n-kf6/he/messages/kcalutils/libkcalutils6.po"
for word completion in 19 msecs
qt.xkb.compose: failed to create compose table
QFile::remove: Empty or null file name
kf.kio.widgets.kdirmodel: No node found for item that was just removed:
QUrl("file:///home/yarons/Documents/workspace/kde-all/trunk/l10n-kf6/he/messages/kcalutils/libkcalutils6.mo")
org.kde.lokalize: indexed
"/home/yarons/Documents/workspace/kde-all/trunk/l10n-kf6/he/messages/kcalutils/libkcalutils6.po"
for word completion in 22 msecs
==422276== 
==422276== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==422276==  Access not within mapped region at address 0xFFFFFFFFFFFFFFFF
==422276==    at 0x6C51ABC: UnknownInlinedFun (atomic_base.h:641)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qatomic_cxx11.h:266)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qbasicatomic.h:48)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qarraydata.h:66)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qarraydatapointer.h:452)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qarraydatapointer.h:108)
==422276==    by 0x6C51ABC: UnknownInlinedFun (qarraydatapointer.h:74)
==422276==    by 0x6C51ABC: QString::operator=(QString const&)
(qstring.cpp:2835)
==422276==    by 0x40C1B2A: MergeCatalog::copyFromBaseCatalog(DocPosition
const&, int) (mergecatalog.cpp:49)
==422276==    by 0x6BCA7EE: UnknownInlinedFun (qobjectdefs_impl.h:461)
==422276==    by 0x6BCA7EE: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==422276==    by 0x415384E: UnknownInlinedFun (qobjectdefs.h:306)
==422276==    by 0x415384E: UnknownInlinedFun (moc_catalog.cpp:716)
==422276==    by 0x415384E: Catalog::targetInsert(DocPosition const&, QString
const&) (catalog.cpp:809)
==422276==    by 0x4148EEE: InsTextCmd::doRedo() (cmd.cpp:108)
==422276==    by 0x414897E: LokalizeUnitCmd::redo() (cmd.cpp:40)
==422276==    by 0x41489D1: LokalizeTargetCmd::redo() (cmd.cpp:66)
==422276==    by 0x6530956: QUndoStack::push(QUndoCommand*)
(qundostack.cpp:571)
==422276==    by 0x408EF44: TranslationUnitTextEdit::contentsChanged(int, int,
int) (xlifftextedit.cpp:414)
==422276==    by 0x6BCA7EE: UnknownInlinedFun (qobjectdefs_impl.h:461)
==422276==    by 0x6BCA7EE: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==422276==    by 0x6353804: UnknownInlinedFun (qobjectdefs.h:306)
==422276==    by 0x6353804: UnknownInlinedFun (moc_qtextdocument.cpp:340)
==422276==    by 0x6353804: QTextDocumentPrivate::finishEdit()
(qtextdocument_p.cpp:1192)
==422276==    by 0x6323F78: UnknownInlinedFun (qtextcursor.cpp:1460)
==422276==    by 0x6323F78: QTextCursor::insertText(QString const&,
QTextCharFormat const&) (qtextcursor.cpp:1460)
==422276==    by 0x632437D: QTextCursor::insertText(QString const&)
(qtextcursor.cpp:1389)
==422276==    by 0x5A0B94E: UnknownInlinedFun (qwidgettextcontrol.cpp:1368)
==422276==    by 0x5A0B94E: QWidgetTextControl::processEvent(QEvent*,
QTransform const&, QWidget*) (qwidgettextcontrol.cpp:1034)
==422276==    by 0x5A03044: QWidgetTextControl::processEvent(QEvent*, QPointF
const&, QWidget*) (qwidgettextcontrol.cpp:994)
==422276==    by 0x59DEDF9: UnknownInlinedFun (qtextedit_p.h:70)
==422276==    by 0x59DEDF9: QTextEdit::keyPressEvent(QKeyEvent*)
(qtextedit.cpp:1411)
==422276==    by 0x4088A73: TranslationUnitTextEdit::keyPressEvent(QKeyEvent*)
(xlifftextedit.cpp:709)
==422276==    by 0x57CD279: QWidget::event(QEvent*) (qwidget.cpp:9020)
==422276==    by 0x5839A75: QFrame::event(QEvent*) (qframe.cpp:521)
==422276==    by 0x5773C6F: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3303)
==422276==    by 0x5777F02: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:2721)
==422276==    by 0x6B5F117: QCoreApplication::notifyInternal2(QObject*,
QEvent*) (qcoreapplication.cpp:1106)
==422276==    by 0x57EA2CA: UnknownInlinedFun (qwidgetwindow.cpp:1185)
==422276==    by 0x57EA2CA: QWidgetWindow::event(QEvent*)
(qwidgetwindow.cpp:363)
==422276==    by 0x5773C6F: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3303)
==422276==    by 0x6B5F117: QCoreApplication::notifyInternal2(QObject*,
QEvent*) (qcoreapplication.cpp:1106)
==422276==    by 0x6028EDF:
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
(qguiapplication.cpp:2615)
==422276==    by 0x60B08F3:
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qwindowsysteminterface.cpp:1113)
==422276==    by 0xD91C0C6: xcbSourceDispatch(_GSource*, int (*)(void*), void*)
[clone .lto_priv.0] (qxcbeventdispatcher.cpp:57)
==422276==    by 0x904087C: g_main_dispatch (gmain.c:3398)
==422276==    by 0x9041CD6: UnknownInlinedFun (gmain.c:4249)
==422276==    by 0x9041CD6: g_main_context_iterate_unlocked.isra.0
(gmain.c:4314)
==422276==    by 0x9041EE4: g_main_context_iteration (gmain.c:4379)
==422276==    by 0x6E335E1:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_glib.cpp:399)
==422276==    by 0x6B6B4B5: UnknownInlinedFun (qeventloop.cpp:104)
==422276==    by 0x6B6B4B5:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:186)
==422276==    by 0x6B637C0: QCoreApplication::exec()
(qcoreapplication.cpp:1449)
==422276==    by 0x404F974: main (main.cpp:147)
==422276==  If you believe this happened as a result of a stack
==422276==  overflow in your program's main thread (unlikely but
==422276==  possible), you can try to increase the size of the
==422276==  main thread stack using the --main-stacksize= flag.
==422276==  The main thread stack size used in this run was 8388608.
==422276== 
==422276== HEAP SUMMARY:
==422276==     in use at exit: 63,249,713 bytes in 287,923 blocks
==422276==   total heap usage: 39,805,221 allocs, 39,517,298 frees,
11,730,462,850 bytes allocated
==422276== 
==422276== LEAK SUMMARY:
==422276==    definitely lost: 36,296 bytes in 193 blocks
==422276==    indirectly lost: 49,606 bytes in 559 blocks
==422276==      possibly lost: 2,204,586 bytes in 1,209 blocks
==422276==    still reachable: 60,957,377 bytes in 285,941 blocks
==422276==                       of which reachable via heuristic:
==422276==                         stdstring          : 32 bytes in 1 blocks
==422276==                         length64           : 1,272,024 bytes in
1,995 blocks
==422276==                         newarray           : 643,096 bytes in 3,985
blocks
==422276==                         multipleinheritance: 214,872 bytes in 257
blocks
==422276==         suppressed: 0 bytes in 0 blocks
==422276== Rerun with --leak-check=full to see details of leaked memory
==422276== 
==422276== Use --track-origins=yes to see where uninitialised values come from
==422276== For lists of detected and suppressed errors, rerun with: -s
==422276== ERROR SUMMARY: 1000 errors from 1000 contexts (suppressed: 0 from 0)
zsh: segmentation fault (core dumped)  valgrind --num-callers=100 lokalize
--project

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

Reply via email to