Bug 289375 - crash choosing a business chart type
Summary: crash choosing a business chart type
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrachart
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 19:19 UTC by Jaime Torres
Modified: 2020-12-14 15:51 UTC (History)
3 users (show)

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


Attachments
the requested csv file (975 bytes, text/comma-separated-values)
2012-05-03 14:39 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2011-12-19 19:19:09 UTC
Application: calligratables (2.4 Beta 5)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-2-desktop x86_64
Distribution: "openSUSE 12.2 Milestone 0 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I imported a CSV with dates and 3 columns. Then created a business chart.
Double clicked on it to be able to choose the chart type.
When I choose the Polar Data Filled, crash.
Also with the stock chart (but with another backtrace).

The data used is:
12-18-2011 22:54	147	105	65
12-18-2011 22:51	146	102	60
12-18-2011 10:12	137	94	61
12-18-2011 01:25	134	92	66
12-18-2011 01:09	148	93	69
12-17-2011 20:09	148	98	66
12-17-2011 13:06	151	100	67
12-17-2011 11:16	144	103	66
12-17-2011 08:30	142	93	61
12-16-2011 23:04	137	93	60
12-16-2011 22:57	140	105	61
12-16-2011 20:17	133	98	61
12-16-2011 19:50	130	94	67
12-16-2011 19:19	140	96	62
12-16-2011 18:35	131	96	72
12-16-2011 18:26	147	100	69
12-16-2011 17:14	146	98	73
12-16-2011 06:51	137	108	65
12-15-2011 23:00	141	100	52
12-15-2011 22:56	139	108	56
12-15-2011 22:52	153	102	54

The crash can be reproduced every time.

-- Backtrace:
Application: Tables (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7fc72ce8a780 (LWP 30070))]

Thread 2 (Thread 0x7fc70a51a700 (LWP 30072)):
#0  0x00007fc7297903a3 in poll () from /lib64/libc.so.6
#1  0x00007fc725c75a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc725c75f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc72b5f19ce in QEventDispatcherGlib::processEvents (this=0x180e040, flags=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc72b5c1cb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#5  0x00007fc72b5c1edf in QEventLoop::exec (this=0x7fc70a519dc0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:201
#6  0x00007fc72b4cbfd9 in QThread::exec (this=<optimized out>) at /g/kdegit/qt/src/corelib/thread/qthread.cpp:498
#7  0x00007fc72b5a2773 in QInotifyFileSystemWatcherEngine::run (this=0x145b700) at /g/kdegit/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc72b4cee8a in QThreadPrivate::start (arg=0x145b700) at /g/kdegit/qt/src/corelib/thread/qthread_unix.cpp:331
#9  0x00007fc72b224f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc7297994bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc72ce8a780 (LWP 30070)):
[KCrash Handler]
#6  0x00007fc7296f4d15 in raise () from /lib64/libc.so.6
#7  0x00007fc7296f622b in abort () from /lib64/libc.so.6
#8  0x00007fc72b4c40bf in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2291
#9  0x00007fc72b4c4231 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fc72b62a610 "ASSERT: \"%s\" in file %s, line %d", ap=0x7ffffde68808) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2337
#10 0x00007fc72b4c43d4 in qFatal (msg=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2520
#11 0x00007fc70e75a15a in KChart::Axis::detachDataSet (this=0x102ae00, dataSet=0x1744558, silent=false) at /g/kdegit/calligra/plugins/chartshape/Axis.cpp:943
#12 0x00007fc70e760e47 in KChart::DataSet::setChartType (this=0x1744558, type=KChart::BarChartType) at /g/kdegit/calligra/plugins/chartshape/DataSet.cpp:611
#13 0x00007fc70e759d4a in KChart::Axis::plotAreaChartSubTypeChanged (this=0x12a8c80, subType=KChart::NoChartSubtype) at /g/kdegit/calligra/plugins/chartshape/Axis.cpp:1742
#14 0x00007fc70e76d4fc in KChart::PlotArea::setChartSubType (this=0x1db1280, subType=KChart::NoChartSubtype) at /g/kdegit/calligra/plugins/chartshape/PlotArea.cpp:568
#15 0x00007fc70e78633e in KChart::ChartTool::setChartType (this=0x13041a0, type=KChart::FilledRadarChartType, subtype=KChart::NoChartSubtype) at /g/kdegit/calligra/plugins/chartshape/ChartTool.cpp:367
#16 0x00007fc70e786860 in KChart::ChartTool::qt_metacall (this=0x13041a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffffde68c00) at /g/b45/calligra/plugins/chartshape/ChartTool.moc:170
#17 0x00007fc72b5d8998 in QMetaObject::activate (sender=0x161fac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffde68c00) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#18 0x00007fc70e787d8e in KChart::ChartConfigWidget::chartTypeChanged (this=<optimized out>, _t1=KChart::FilledRadarChartType) at /g/b45/calligra/plugins/chartshape/ChartConfigWidget.moc:350
#19 0x00007fc70e78d8d5 in KChart::ChartConfigWidget::chartTypeSelected (this=0x161fac0, action=<optimized out>) at /g/kdegit/calligra/plugins/chartshape/ChartConfigWidget.cpp:686
#20 0x00007fc70e78df2e in KChart::ChartConfigWidget::qt_metacall (this=0x161fac0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffffde68d50) at /g/b45/calligra/plugins/chartshape/ChartConfigWidget.moc:299
#21 0x00007fc72b5d8998 in QMetaObject::activate (sender=0x22b7160, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffde68d50) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#22 0x00007fc72aae7ff2 in QMenu::triggered (this=<optimized out>, _t1=0x22360b0) at .moc/debug-shared/moc_qmenu.cpp:164
#23 0x00007fc72aae81ca in QMenuPrivate::activateCausedStack (this=0x4ff3500, causedStack=..., action=0x22360b0, action_e=QAction::Trigger, self=<optimized out>) at /g/kdegit/qt/src/gui/widgets/qmenu.cpp:1015
#24 0x00007fc72aaee5e2 in QMenuPrivate::activateAction (this=0x4ff3500, action=0x22360b0, action_e=QAction::Trigger, self=true) at /g/kdegit/qt/src/gui/widgets/qmenu.cpp:1097
#25 0x00007fc72a6ad93f in QWidget::event (this=0x22157f0, event=0x7ffffde69900) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:8310
#26 0x00007fc72aaeff73 in QMenu::event (this=0x22157f0, e=0x7ffffde69900) at /g/kdegit/qt/src/gui/widgets/qmenu.cpp:2405
#27 0x00007fc72a6538de in notify_helper (e=0x7ffffde69900, receiver=0x22157f0, this=0xc358c0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4509
#28 QApplicationPrivate::notify_helper (this=0xc358c0, receiver=0x22157f0, e=0x7ffffde69900) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4481
#29 0x00007fc72a65a5b1 in QApplication::notify (this=<optimized out>, receiver=0x22157f0, e=0x7ffffde69900) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4070
#30 0x00007fc72c61db3e in KApplication::notify (this=0x7ffffde6bcf0, receiver=0x22157f0, event=0x7ffffde69900) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0x00007fc72b5c342b in QCoreApplication::notifyInternal (this=0x7ffffde6bcf0, receiver=0x22157f0, event=0x7ffffde69900) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:787
#32 0x00007fc72a654da1 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x22157f0, event=0x7ffffde69900, alienWidget=0x0, nativeWidget=0x22157f0, buttonDown=0x7fc72b219dd8, lastMouseReceiver=..., spontaneous=true) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:3141
#34 0x00007fc72a6dda53 in QETWidget::translateMouseEvent (this=0x22157f0, event=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:4395
#35 0x00007fc72a6dbe0a in QApplication::x11ProcessEvent (this=0x7ffffde6bcf0, event=0x7ffffde6a020) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:3587
#36 0x00007fc72a704e22 in x11EventSourceDispatch (s=0xd47600, callback=0, user_data=0x0) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fc725c7558d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fc725c75d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fc725c75f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fc72b5f1976 in QEventDispatcherGlib::processEvents (this=0xd1fb80, flags=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#41 0x00007fc72a704ac6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fc72b5c1cb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#43 0x00007fc72b5c1edf in QEventLoop::exec (this=0x7ffffde6a3f0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:201
#44 0x00007fc72aaeac8a in QMenu::exec (this=<optimized out>, p=..., action=<optimized out>) at /g/kdegit/qt/src/gui/widgets/qmenu.cpp:2049
#45 0x00007fc72ab30b04 in QToolButtonPrivate::popupTimerDone (this=0x4ff2600) at /g/kdegit/qt/src/gui/widgets/qtoolbutton.cpp:955
#46 0x00007fc72ab31261 in QToolButton::qt_metacall (this=0x206d700, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffffde6a660) at .moc/debug-shared/moc_qtoolbutton.cpp:114
#47 0x00007fc72b5d8998 in QMetaObject::activate (sender=0x206d700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#48 0x00007fc72aa61ec1 in QAbstractButtonPrivate::emitPressed (this=<optimized out>) at /g/kdegit/qt/src/gui/widgets/qabstractbutton.cpp:560
#49 0x00007fc72aa62a3c in QAbstractButton::mousePressEvent (this=0x206d700, e=0x7ffffde6b1d0) at /g/kdegit/qt/src/gui/widgets/qabstractbutton.cpp:1096
#50 0x00007fc72ab31392 in QToolButton::mousePressEvent (this=0x206d700, e=0x7ffffde6b1d0) at /g/kdegit/qt/src/gui/widgets/qtoolbutton.cpp:712
#51 0x00007fc72a6ade84 in QWidget::event (this=0x206d700, event=0x7ffffde6b1d0) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:8306
#52 0x00007fc72a6538de in notify_helper (e=0x7ffffde6b1d0, receiver=0x206d700, this=0xc358c0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4509
#53 QApplicationPrivate::notify_helper (this=0xc358c0, receiver=0x206d700, e=0x7ffffde6b1d0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4481
#54 0x00007fc72a65a5b1 in QApplication::notify (this=<optimized out>, receiver=0x206d700, e=0x7ffffde6b1d0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4070
#55 0x00007fc72c61db3e in KApplication::notify (this=0x7ffffde6bcf0, receiver=0x206d700, event=0x7ffffde6b1d0) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#56 0x00007fc72b5c342b in QCoreApplication::notifyInternal (this=0x7ffffde6bcf0, receiver=0x206d700, event=0x7ffffde6b1d0) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:787
#57 0x00007fc72a654da1 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:215
#58 QApplicationPrivate::sendMouseEvent (receiver=0x206d700, event=0x7ffffde6b1d0, alienWidget=0x206d700, nativeWidget=0x12ba7c0, buttonDown=0x7fc72b219dd8, lastMouseReceiver=..., spontaneous=true) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:3141
#59 0x00007fc72a6dd37f in QETWidget::translateMouseEvent (this=0x12ba7c0, event=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:4461
#60 0x00007fc72a6dbe0a in QApplication::x11ProcessEvent (this=0x7ffffde6bcf0, event=0x7ffffde6b8f0) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:3587
#61 0x00007fc72a704e22 in x11EventSourceDispatch (s=0xd47600, callback=0, user_data=0x0) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#62 0x00007fc725c7558d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#63 0x00007fc725c75d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#64 0x00007fc725c75f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#65 0x00007fc72b5f1976 in QEventDispatcherGlib::processEvents (this=0xd1fb80, flags=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#66 0x00007fc72a704ac6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fc72b5c1cb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#68 0x00007fc72b5c1edf in QEventLoop::exec (this=0x7ffffde6bcb0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:201
#69 0x00007fc72b5c7367 in QCoreApplication::exec () at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1064
#70 0x00007fc71c68b4fa in kdemain (argc=<optimized out>, argv=0xd1faf0) at /g/kdegit/calligra/tables/part/Main.cpp:43
#71 0x000000000040845a in launch (argc=1, _name=0xc2dda8 "/opt/kde4/bin/calligratables", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0xc2dde0 "filemon;1324321672;219060;5591_TIME185120260") at /g/kdegit/kdelibs/kinit/kinit.cpp:734
#72 0x0000000000408d4c in handle_launcher_request (sock=8, who=<optimized out>) at /g/kdegit/kdelibs/kinit/kinit.cpp:1226
#73 0x00000000004093d4 in handle_requests (waitForPid=0) at /g/kdegit/kdelibs/kinit/kinit.cpp:1419
#74 0x00000000004055b4 in main (argc=4, argv=0x7ffffde6c848, envp=0x7ffffde6c870) at /g/kdegit/kdelibs/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Inge Wallin 2012-04-20 20:39:28 UTC
I could not reproduce this crash but I suspect that I am not getting the correct data into the cells.  The list above contains no separators other than space... (or the bug is just fixed).

Could you attach the real CSV file to the bug?
Comment 2 Inge Wallin 2012-05-03 13:20:36 UTC
It's very difficult for me to fix this if I cannot have the data that lead to the crash.  Is it possible for you to attach the CSV file in question to the bug?
Comment 3 Jaime Torres 2012-05-03 14:39:26 UTC
Created attachment 70831 [details]
the requested csv file

What I do.
Create a blank spreadsheet. Import the csv.
Select all the data except the headers.
click on the chart icon and try to select an area.

The data in char is totally different from the selected data.
When I create the chart and change the chart type to polar chart normal and then to polar chart filled. crash. (also if I first choose polar chart filled and change to polar chart normal).
Comment 4 Inge Wallin 2012-05-03 16:48:11 UTC
Ok, I can confirm the crash.  

Regarding the data being different, did you set the separator to 'comma' in the csv import dialog?
Comment 5 Jaime Torres 2012-05-03 17:07:13 UTC
Ups, I have two similar files and I've included the other one :-(
Anyway, the crash is there.
Yes, I use comma as separator.
Comment 6 Jaime Torres 2012-05-03 17:10:31 UTC
Sorry, I misunderstood your question.
The data is different, but not the imported data. The data shown in the chart when I press in the Tool Options the Edit Data... button.
Comment 7 Justin Zobel 2020-12-13 02:18:32 UTC
Thank you for the crash reports.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 8 Jaime Torres 2020-12-14 15:51:27 UTC
I can't reproduce the bug in Version 3.2.1.