Bug 253299 - Crash in new date selection UI
Summary: Crash in new date selection UI
Status: VERIFIED FIXED
Alias: None
Product: KOrganizer Mobile
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR minor
Target Milestone: ---
Assignee: Ludwig Reiter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 11:49 UTC by Felix Wolfsteller
Modified: 2011-02-16 11:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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