[bug] jolla-notes eats all RAM in case a file with about 1 MByte size should be opened

asked 2015-11-15 23:09:35 +0300

ibins gravatar image

updated 2015-11-15 23:11:27 +0300

It seems jolla-notes can't handle an UTF-8 encoded text file that contains 916725 Bytes of data in about 10000 lines: http://ihrkoenntmichalleamarschlecken.de/modemd.txt

After downloading the file with the web browser a notification apears. A tap on this notification opens jolla-notes which tries to open the file. The phone gets unusable until its presents the "still wait" or "close" dialog. jolla-notes consumes up to 670 MBytes of RAM until the OOM killer gets active. This I saw with "free" and "top" in a ssh session. Reducing the amount of lines below 10000 does not help.

Starting jolla-notes from a terminal is very slow (about 10 seconds) and gives quite a few debug messages:

-----8<------------8<------------8<------------8<------------8<------------8<------- [D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL [D] DeclarativeCoverActionList::appendActions:143 - static void DeclarativeCoverActionList::appendActions(QQmlListProperty<declarativecoveraction>, DeclarativeCoverAction) QUrl( "image://theme/icon-cover-new" )
[D] DeclarativeCoverActionList::enableActiveCovers:341 - void DeclarativeCoverActionList::enableActiveCovers() "enableActiveCovers, process: /usr/bin/jolla-notes, winId: 0, action count: 1, enabled: 1" [D] DeclarativeCoverActionList::enableActiveCovers:341 - void DeclarativeCoverActionList::enableActiveCovers() "enableActiveCovers, process: /usr/bin/jolla-notes, winId: 1, action count: 1, enabled: 1" [D] DeclarativeCoverActionList::setWindowProperty:270 - void DeclarativeCoverActionList::setWindowProperty(QStringList, bool)
[D] DeclarativeCoverActionList::setWindowProperty:280 - void DeclarativeCoverActionList::setWindowProperty(QStringList, bool) "CoverActionList::setWindowProperty: com.jolla.coveraction.pid32500.id1 trigger 0 image://theme/icon-cover-new 0" [D] DeclarativeCoverActionList::startDbusService:390 - void DeclarativeCoverActionList::startDbusService()
[D] DeclarativeCoverActionList::startDbusService:400 - void DeclarativeCoverActionList::startDbusService() "dbus ready com.jolla.coveraction.pid32500.id1" -----8<------------8<------------8<------------8<------------8<------------8<-------</declarativecoveraction>

The preview of all open notes appears, but after taping on the big note triggers the bug. There is no more output on the console.

Opening the same file as preview in the app "File Browser 1.6.0" works almost instantly, as it should. The phone is on Saimaa 2.0.0.10.

edit retag flag offensive close delete