Bug 253299

Summary: Crash in new date selection UI
Product: [Applications] KOrganizer Mobile Reporter: Felix Wolfsteller <felix.wolfsteller>
Component: generalAssignee: Ludwig Reiter <ludwig.reiter>
Status: VERIFIED FIXED    
Severity: minor CC: aheinecke, anselmolsm
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In:

Description Felix Wolfsteller 2010-10-05 11:49:40 UTC
While selecting/deselection dates and the bubbly text-boxes on the right of the date selection UI (when creating a new appointment), korganizer-mobile crashed.

Observed in version 4:4.5~20101001.1181693-1maemo4.1181469 .

bt follows.

Program received signal SIGSEGV, Segmentation fault.
0x4172e260 in QTextEngine::itemize() const () from /opt/qt4-maemo5/lib/libQtGui.so.4
0x4172e260 <_ZNK11QTextEngine7itemizeEv+20>:	str	r0, [r1, #-684]
(gdb) bt
#0  0x4172e260 in QTextEngine::itemize() const () from /opt/qt4-maemo5/lib/libQtGui.so.4
#1  0x41730f14 in QTextEngine::attributes() const () from /opt/qt4-maemo5/lib/libQtGui.so.4
#2  0x41736fbc in QTextLine::layout_helper(int) () from /opt/qt4-maemo5/lib/libQtGui.so.4
#3  0x417392ac in QTextLine::setNumColumns(int) () from /opt/qt4-maemo5/lib/libQtGui.so.4
#4  0x41739538 in QTextLayout::createLine() () from /opt/qt4-maemo5/lib/libQtGui.so.4
#5  0x401dae88 in QDeclarativeTextPrivate::setupTextLayout(QTextLayout*) () from /opt/qt4-maemo5/lib/libQtDeclarative.so.4
#6  0x00000084 in ?? ()
#7  0x00000084 in ?? ()
Comment 1 Anselmo L. S. Melo (anselmolsm) 2010-10-14 22:45:06 UTC
One of the known crashes (with a similar bt) was fixed in r1183991 and cannot reproduce with 4:4.5~20101014.1185761-1maemo1.1185672.

While testing the application on the device, I found another crash, so I'll leave this bug report open.
Comment 2 Anselmo L. S. Melo (anselmolsm) 2010-10-24 22:56:53 UTC
SVN commit 1189373 by amelo:

Changes in VerticalSelector to simplify the way models are set

List of objects used as models were removed, using int instead. Cleaning
the API to not expose the list index. Updates incidence-editor to follow
these changes.

This commit solves an issue with selector showing a number and the
calendar UI showing a different month.

Simplifying this code and improving other parts in future commits, we expect
the crash reported in 253299 won't happen anymore, and also fix weird things
of the date selection UI.

CCBUG:253299
CCBUG:252730



 M  +17 -18    VerticalSelector.qml  
 M  +10 -32    calendar/incidence-editor.qml  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1189373
Comment 3 Anselmo L. S. Melo (anselmolsm) 2010-12-01 13:13:32 UTC
Closing after a long time without experiencing crash in this dialog.
Reopen if needed.
Comment 4 Andre Heinecke 2011-02-15 18:43:28 UTC
Ludwig please verify