Zim

checkbox list with blank line causes zim to freeze

Bug #300184 reported by M. Emin Akşehirli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Medium
Jaap Karssenberg

Bug Description

In a checkbox list like below, cheking the item3 (or any lower - items, if they exists) causes zim to freeze to death. if i close the application window (by force) , system tray icon persists with no open notebooks. If i choose quit from sys-tray icon, frozen application window persists.

[] item1
\t[] item2
\n /* just one new line between two same level items */
\t[]item3

zim -DV output attached, even if didn't say anything about this.

Revision history for this message
M. Emin Akşehirli (memedemin) wrote :
Revision history for this message
M. Emin Akşehirli (memedemin) wrote :

I can reproduce this error, please find the attachment of an example of troublesome file.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Oops, the algorithm loops to infinity back and forward over the empty line because start_of_line equals end_of_line :S

Committed a fix to trunk, should be mirrored in a couple of hours.

Changed in zim:
assignee: nobody → pardus-cpan
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in 0.28

Changed in zim:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.