[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 Hartmut Manz changed: What|Removed |Added Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #15 from Hartmut Manz --- (In reply to shivarryn from comment #13) > Good news! > Problem is gone on my side after Qt 6.6.3 reached Arch. > So yes, it was probably a Qt issue. > If the other reporters can confirm after Qt 6.6.3 reaches your distros, we > can close the bug. Also for me on latest NEON update with latest Qt 6.6.3 update the problem is fixed now. Thank You -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #13 from shivar...@gmail.com --- Good news! Problem is gone on my side after Qt 6.6.3 reached Arch. So yes, it was probably a Qt issue. If the other reporters can confirm after Qt 6.6.3 reaches your distros, we can close the bug. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #10 from shivar...@gmail.com --- > and created a test program populating a QTextLine with the same payload s/QTextLine/QTextEdit -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #9 from shivar...@gmail.com --- I played a little more with gdb and discovered the following. The infinite loop happens in QTextDocumentLayoutPrivate::layoutBlock, in the "while (1)" block at line 3477: https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/qtextdocumentlayout.cpp?h=6.6.2 Here, tl->createLine is called. >From QTextLayout::createLine, on lines 802/803, https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/qtextlayout.cpp?h=6.6.2 I can see that the "from" field is always 0. So, the incoming text is never consumed, and an endless number of 0-length QTextLines are produced. This is where all the memory is consumed. With the help of gdb, I dumped the problematic html payload which is passed to QTextEdit::setHtml (it is the "reply" formatted html string prepared by kmail in response to the mail we're replying to) and created a test program populating a QTextLine with the same payload. The program worked correctly, so I don't really understand what is going on here. Maybe some layout settings from kmail are not handled correctly by Qt 6 code, who knows. A dev eye would be really appreciated at this point. At a first glance what kmail is doing seems correct to me. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #7 from shivar...@gmail.com --- Issue is also present after a clean install. Replying as plaintext works, so it is related to html. If any dev wants to have a look, I can provide a simple test mail privately. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #6 from shivar...@gmail.com --- (In reply to Sebastian Turzański from comment #5) > did you also upgrade from plasma5 to plasma6 with kmail and mailbox created > in plasma5 ? Yes. I'm going to install Arch on a new laptop from scratch, will see if it shows the same problem or not. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #5 from Sebastian Turzański --- did you also upgrade from plasma5 to plasma6 with kmail and mailbox created in plasma5 ? maybe that is the reason as I had been using it in plasma5 and have quite big accounts there and now I tried to use it in plasma6 -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #4 from shivar...@gmail.com --- (In reply to Sebastian Turzański from comment #3) > I have one more info for troubleshooting. > If the mail is plain text reply works, if it is html then this whole memory > eating starts until systme is frozen. html is probably involved, but I have some html emails that don't show this problem when replying to. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 --- Comment #3 from Sebastian Turzański --- I have one more info for troubleshooting. If the mail is plain text reply works, if it is html then this whole memory eating starts until systme is frozen. -- You are receiving this mail because: You are the assignee for the bug.
[kmail2] [Bug 482367] kmail / kontact eates all my memory during startup and crashes than.
https://bugs.kde.org/show_bug.cgi?id=482367 Sebastian Turzański changed: What|Removed |Added Component|Packages Testing Edition|general Version|unspecified |6.0.0 Product|neon|kmail2 Assignee|neon-b...@kde.org |kdepim-bugs@kde.org -- You are receiving this mail because: You are the assignee for the bug.