https://bugs.kde.org/show_bug.cgi?id=368020

            Bug ID: 368020
           Summary: Calligra sheets crashes when using text to columns
           Product: calligrasheets
           Version: 2.9.11
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: calligra-sheets-bugs-n...@kde.org
          Reporter: mrcm...@aim.com

Application: calligrasheets (2.9.11)
KDE Platform Version: 4.14.22
Qt Version: 4.8.7
Operating System: Linux 4.6.7-300.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

-- Information about the crash:
- What I was doing when the application crashed:
I was converting several rows of text into columns using a dash as column
delimiter in the text field when Calligra sheets crashed.  I tried to do the
same operation two more times with different files and I get the same result.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f11a31817f6 in
QSharedDataPointer<Calligra::Sheets::Style::Private>::detach_helper()
(this=0x31) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  0x00007f11a31817f6 in
QSharedDataPointer<Calligra::Sheets::Style::Private>::detach_helper()
(other=..., this=0x55a7d96deb18) at /usr/include/QtCore/qhash.h:282
#8  0x00007f11a31817f6 in
QSharedDataPointer<Calligra::Sheets::Style::Private>::detach_helper()
(this=0x55a7d96deb10) at /usr/src/debug/calligra-2.9.11/sheets/Style.cpp:147
#9  0x00007f11a31817f6 in
QSharedDataPointer<Calligra::Sheets::Style::Private>::detach_helper()
(this=0x7ffe590789e8) at /usr/include/QtCore/qshareddata.h:227
#10 0x00007f11a31817f6 in
QSharedDataPointer<Calligra::Sheets::Style::Private>::detach_helper()
(this=this@entry=0x7ffe590789e8) at /usr/include/QtCore/qshareddata.h:233
#11 0x00007f11a317143a in
Calligra::Sheets::Style::releaseSubStyle(Calligra::Sheets::Style::Key)
(this=0x7ffe590789e8) at /usr/include/QtCore/qshareddata.h:75
#12 0x00007f11a317143a in
Calligra::Sheets::Style::releaseSubStyle(Calligra::Sheets::Style::Key)
(this=0x7ffe590789e8) at /usr/include/QtCore/qshareddata.h:78
#13 0x00007f11a317143a in
Calligra::Sheets::Style::releaseSubStyle(Calligra::Sheets::Style::Key)
(this=this@entry=0x7ffe590789e0, key=<optimized out>) at
/usr/src/debug/calligra-2.9.11/sheets/Style.cpp:2705
#14 0x00007f11a31714d3 in
Calligra::Sheets::Style::insertSubStyle(Calligra::Sheets::SharedSubStyle
const&) (this=this@entry=0x7ffe590789e0, subStyle=...) at
/usr/src/debug/calligra-2.9.11/sheets/Style.cpp:2699
#15 0x00007f11a31951d8 in
Calligra::Sheets::StyleStorage::composeStyle(QList<Calligra::Sheets::SharedSubStyle>
const&) const (this=this@entry=0x55a7d86c37b0, subStyles=...) at
/usr/src/debug/calligra-2.9.11/sheets/StyleStorage.cpp:925
#16 0x00007f11a319571e in Calligra::Sheets::StyleStorage::contains(QPoint
const&) const (this=0x55a7d86c37b0, point=...) at
/usr/src/debug/calligra-2.9.11/sheets/StyleStorage.cpp:246
#17 0x00007f11a307e4cf in Calligra::Sheets::CellStorage::style(int, int) const
(this=<optimized out>, column=column@entry=2, row=row@entry=12) at
/usr/src/debug/calligra-2.9.11/sheets/CellStorage.cpp:546
#18 0x00007f11a30696cf in Calligra::Sheets::Cell::style() const
(this=this@entry=0x7ffe59078b40) at
/usr/src/debug/calligra-2.9.11/sheets/Cell.cpp:346
#19 0x00007f11a362f8f0 in
Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int)
(this=0x55a7d95f2b20, sheetView=0x55a7d920f3d0, col=2, row=12) at
/usr/src/debug/calligra-2.9.11/sheets/ui/CellView.cpp:201
#20 0x00007f11a3640801 in Calligra::Sheets::SheetView::createCellView(int, int)
(this=0x55a7d920f3d0, col=2, row=12) at
/usr/src/debug/calligra-2.9.11/sheets/ui/SheetView.cpp:681
#21 0x00007f11a36418c3 in Calligra::Sheets::SheetView::cellView(int, int)
(this=0x55a7d920f3d0, col=2, row=12) at
/usr/src/debug/calligra-2.9.11/sheets/ui/SheetView.cpp:244
#22 0x00007f11a3641ece in
Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&,
QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect
const&) (this=0x55a7d9212400, cell=..., coordinate=...,
processedObscuredCells=..., sheetView=sheetView@entry=0x55a7d920f3d0,
visRect=...) at /usr/src/debug/calligra-2.9.11/sheets/ui/SheetView.cpp:149
#23 0x00007f11a3643c32 in Calligra::Sheets::SheetView::paintCells(QPainter&,
QRectF const&, QPointF const&, Calligra::Sheets::CanvasBase*, QRect const&)
(this=<optimized out>, painter=..., paintRect=..., topLeft=...,
visibleRect=...) at /usr/src/debug/calligra-2.9.11/sheets/ui/SheetView.cpp:383
#24 0x00007f11a35bc5ba in Calligra::Sheets::CanvasBase::paint(QPainter*, QRectF
const&) (this=this@entry=0x55a7d830d978, painter=painter@entry=0x7ffe59079000,
painterRect=...) at
/usr/src/debug/calligra-2.9.11/sheets/part/CanvasBase.cpp:475
#25 0x00007f11a35bdf9c in Calligra::Sheets::Canvas::paintEvent(QPaintEvent*)
(this=0x55a7d830d950, event=0x7ffe59079490) at
/usr/src/debug/calligra-2.9.11/sheets/part/Canvas.cpp:316
#26 0x00007f11be883720 in QWidget::event(QEvent*) (this=0x55a7d830d950,
event=0x7ffe59079490) at kernel/qwidget.cpp:8775
#27 0x00007f11be82cedc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x55a7d8086630, receiver=receiver@entry=0x55a7d830d950,
e=e@entry=0x7ffe59079490) at kernel/qapplication.cpp:4565
#28 0x00007f11be833ddc in QApplication::notify(QObject*, QEvent*)
(this=0x7ffe5907a060, receiver=receiver@entry=0x55a7d830d950,
e=e@entry=0x7ffe59079490) at kernel/qapplication.cpp:4351
#29 0x00007f11c2bb98c5 in KoApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55a7d830d950, event=0x7ffe59079490) at
/usr/src/debug/calligra-2.9.11/libs/main/KoApplication.cpp:625
#30 0x00007f11bd8b4eed in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7ffe5907a060, receiver=receiver@entry=0x55a7d830d950,
event=event@entry=0x7ffe59079490) at kernel/qcoreapplication.cpp:955
#31 0x00007f11be87dd85 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
(event=0x7ffe59079490, receiver=0x55a7d830d950) at
../../src/corelib/kernel/qcoreapplication.h:234
#32 0x00007f11be87dd85 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
(this=this@entry=0x55a7d87472c0, pdev=0x55a7d9698770, rgn=..., offset=...,
flags=68, flags@entry=1493669408, sharedPainter=sharedPainter@entry=0x0,
backingStore=0x55a7d844bdf0) at kernel/qwidget.cpp:5599
#33 0x00007f11bea4c760 in QWidgetBackingStore::sync() (this=0x55a7d844bdf0) at
painting/qbackingstore.cpp:1365
#34 0x00007f11be870a90 in QWidgetPrivate::syncBackingStore()
(this=0x55a7d838a450) at kernel/qwidget.cpp:1894
#35 0x00007f11be883808 in QWidget::event(QEvent*)
(this=this@entry=0x55a7d83bf480, event=event@entry=0x55a7db818910) at
kernel/qwidget.cpp:8693
#36 0x00007f11bec61313 in QMainWindow::event(QEvent*)
(this=this@entry=0x55a7d83bf480, event=event@entry=0x55a7db818910) at
widgets/qmainwindow.cpp:1478
#37 0x00007f11bf6beb01 in KMainWindow::event(QEvent*)
(this=this@entry=0x55a7d83bf480, ev=ev@entry=0x55a7db818910) at
/usr/src/debug/kdelibs-4.14.22/kdeui/widgets/kmainwindow.cpp:1126
#38 0x00007f11bf6fc0c9 in KXmlGuiWindow::event(QEvent*) (this=0x55a7d83bf480,
ev=0x55a7db818910) at
/usr/src/debug/kdelibs-4.14.22/kdeui/xmlgui/kxmlguiwindow.cpp:126
#39 0x00007f11be82cedc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x55a7d8086630, receiver=receiver@entry=0x55a7d83bf480,
e=e@entry=0x55a7db818910) at kernel/qapplication.cpp:4565
#40 0x00007f11be833ddc in QApplication::notify(QObject*, QEvent*)
(this=0x7ffe5907a060, receiver=receiver@entry=0x55a7d83bf480,
e=e@entry=0x55a7db818910) at kernel/qapplication.cpp:4351
#41 0x00007f11c2bb98c5 in KoApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55a7d83bf480, event=0x55a7db818910) at
/usr/src/debug/calligra-2.9.11/libs/main/KoApplication.cpp:625
#42 0x00007f11bd8b4eed in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7ffe5907a060, receiver=receiver@entry=0x55a7d83bf480,
event=event@entry=0x55a7db818910) at kernel/qcoreapplication.cpp:955
#43 0x00007f11bd8b8556 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (event=0x55a7db818910, receiver=0x55a7d83bf480) at
kernel/qcoreapplication.h:231
#44 0x00007f11bd8b8556 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0,
data=0x55a7d8032c80) at kernel/qcoreapplication.cpp:1579
#45 0x00007f11bd8b8853 in QCoreApplication::sendPostedEvents(QObject*, int)
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1472
#46 0x00007f11bd8e52ee in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) () at kernel/qcoreapplication.h:236
#47 0x00007f11bd8e52ee in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55a7d8087f00) at kernel/qeventdispatcher_glib.cpp:300
#48 0x00007f11b78086ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#49 0x00007f11b7808a70 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#50 0x00007f11b7808b1c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#51 0x00007f11bd8e545e in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55a7d80345d0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#52 0x00007f11be8d55b6 in
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#53 0x00007f11bd8b37bf in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe59079f20, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f11bd8b3b25 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe59079f20, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f11bd8b9779 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1227
#56 0x00007f11be82b72c in QApplication::exec() () at
kernel/qapplication.cpp:3823
#57 0x00007f11c2e6f5b5 in kdemain(int, char**) (argc=2, argv=0x7ffe5907a1a8) at
/usr/src/debug/calligra-2.9.11/sheets/part/Main.cpp:44
#58 0x00007f11bc8b8731 in __libc_start_main () at /lib64/libc.so.6
#59 0x000055a7d7141a09 in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to