Bug 359537 - Calligra Plan Crash every time when try to start a templet
Summary: Calligra Plan Crash every time when try to start a templet
Status: RESOLVED FIXED
Alias: None
Product: calligraplan
Classification: Applications
Component: general (show other bugs)
Version: 2.9.11
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords: drkonqi
: 364060 365677 373788 384879 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-18 14:32 UTC by rana
Modified: 2017-09-22 06:47 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.0


Attachments
New crash information added by DrKonqi (5.25 KB, text/plain)
2016-04-26 09:00 UTC, Kilian Lackhove
Details
New crash information added by DrKonqi (4.35 KB, text/plain)
2016-06-26 00:25 UTC, Ondřej Vitha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rana 2016-02-18 14:32:03 UTC
Application: calligraplan (2.9.11)
KDE Platform Version: 4.14.16
Qt Version: 4.8.6
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I am just trying to start a templet and Calligra Plan every time crash. 

- Unusual behavior I noticed:
If I reboot my system several time then again for 1 time its start and if i exit the project without saving the crash again starts.

The crash can be reproduced every time.

-- Backtrace:
Application: Plan (calligraplan), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fdac527d1de in QObject::objectName() const () at /usr/lib64/libQtCore.so.4
#7  0x00007fdab223cb95 in KPlato::Report::findReportData(QList<KPlato::ReportData*> const&, QString const&) () at /usr/lib64/libkplatoui.so.14
#8  0x00007fdab2235cb5 in KPlato::ReportDesigner::setReportData(QString const&) () at /usr/lib64/libkplatoui.so.14
#9  0x00007fdac52800fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#10 0x00007fdab222b7d2 in  () at /usr/lib64/libkplatoui.so.14
#11 0x00007fdab224164f in  () at /usr/lib64/libkplatoui.so.14
#12 0x00007fdab222b776 in  () at /usr/lib64/libkplatoui.so.14
#13 0x00007fdac52800fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#14 0x00007fdac603b561 in QComboBox::currentIndexChanged(int) () at /usr/lib64/libQtGui.so.4
#15 0x00007fdac603b5c1 in  () at /usr/lib64/libQtGui.so.4
#16 0x00007fdac603b86c in  () at /usr/lib64/libQtGui.so.4
#17 0x00007fdac603babf in QComboBox::setCurrentIndex(int) () at /usr/lib64/libQtGui.so.4
#18 0x00007fdab2241b4f in  () at /usr/lib64/libkplatoui.so.14
#19 0x00007fdab2235e2f in KPlato::ReportDesigner::setData() () at /usr/lib64/libkplatoui.so.14
#20 0x00007fdab2236060 in KPlato::ReportDesigner::setData(QDomDocument const&) () at /usr/lib64/libkplatoui.so.14
#21 0x00007fdab223608c in KPlato::ReportView::loadXML(QDomDocument const&) () at /usr/lib64/libkplatoui.so.14
#22 0x00007fdab25b693e in KPlato::View::createViews() () at /usr/lib64/libplanprivate.so.14
#23 0x00007fdab25b76ee in KPlato::View::initiateViews() () at /usr/lib64/libplanprivate.so.14
#24 0x00007fdab25b9215 in  () at /usr/lib64/libplanprivate.so.14
#25 0x00007fdac52800fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#26 0x00007fdac5288f6a in  () at /usr/lib64/libQtCore.so.4
#27 0x00007fdac52842b1 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#28 0x00007fdac5c7679c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#29 0x00007fdac5c7ccdd in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#30 0x00007fdac67a7e37 in KoApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkomain.so.14
#31 0x00007fdac526c18d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#32 0x00007fdac529bbbc in  () at /usr/lib64/libQtCore.so.4
#33 0x00007fdac5298e39 in  () at /usr/lib64/libQtCore.so.4
#34 0x00007fdac1f75c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#35 0x00007fdac1f75ed8 in  () at /usr/lib64/libglib-2.0.so.0
#36 0x00007fdac1f75f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#37 0x00007fdac5298fbe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#38 0x00007fdac5d136a6 in  () at /usr/lib64/libQtGui.so.4
#39 0x00007fdac526ad4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#40 0x00007fdac526b045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#41 0x00007fdac5270499 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#42 0x00007fdac6dfa965 in kdemain () at /usr/lib64/libkdeinit4_calligraplan.so
#43 0x00007fdac6a73b05 in __libc_start_main () at /lib64/libc.so.6
#44 0x000000000040075e in _start ()

Reported using DrKonqi
Comment 1 Kilian Lackhove 2016-04-26 09:00:40 UTC
Created attachment 98607 [details]
New crash information added by DrKonqi

calligraplan (2.9.11) on KDE Platform 4.14.18 using Qt 4.8.6

I tried to start a project using the template "8 hours/day, 40 hours/week"

Plan crashes everytime i use this template.

The template "simple project" works fine and never crashes.

-- Backtrace (Reduced):
#6  0x00007fb38c3751de in QObject::objectName() const () at /usr/lib64/libQtCore.so.4
#7  0x00007fb37859ab95 in KPlato::Report::findReportData(QList<KPlato::ReportData*> const&, QString const&) (lst=..., type=...) at /usr/src/debug/calligra-2.9.11/plan/libs/ui/reports/reportdata.cpp:85
#8  0x00007fb378593cb5 in KPlato::ReportDesigner::setReportData(QString const&) (this=0x266a380, tag=...) at /usr/src/debug/calligra-2.9.11/plan/libs/ui/reports/reportview.cpp:1254
[...]
#10 0x00007fb3785897d2 in KPlato::ReportSourceEditor::selectFromChanged(QString const&) (this=this@entry=0x268da00, _t1=...) at /usr/src/debug/calligra-2.9.11/build/plan/libs/ui/moc_reportsourceeditor.cpp:105
#11 0x00007fb37859f64f in KPlato::ReportSourceEditor::slotCurrentIndexChanged() (this=0x268da00) at /usr/src/debug/calligra-2.9.11/plan/libs/ui/reports/reportsourceeditor.cpp:49
Comment 2 Ondřej Vitha 2016-06-26 00:25:43 UTC
Created attachment 99695 [details]
New crash information added by DrKonqi

calligraplan (2.9.11) on KDE Platform 4.14.20 using Qt 4.8.7

Calligra Plan crash every time after create new plan from template.

-- Backtrace (Reduced):
#6  0x00007fb6700a991e in QObject::objectName() const () from /lib64/libQtCore.so.4
#7  0x00007fb655a0091e in KPlato::Report::findReportData(QList<KPlato::ReportData*> const&, QString const&) () from /lib64/libkplatoui.so.14
#8  0x00007fb6559f8fc3 in KPlato::ReportDesigner::setReportData(QString const&) () from /lib64/libkplatoui.so.14
[...]
#10 0x00007fb6559ecd82 in KPlato::ReportSourceEditor::selectFromChanged(QString const&) () from /lib64/libkplatoui.so.14
#11 0x00007fb655a06b5f in KPlato::ReportSourceEditor::slotCurrentIndexChanged() () from /lib64/libkplatoui.so.14
Comment 3 Dag Andersen 2016-08-26 08:29:29 UTC
*** Bug 364060 has been marked as a duplicate of this bug. ***
Comment 4 Dag Andersen 2016-08-26 09:08:00 UTC
*** Bug 365677 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2016-11-24 13:27:41 UTC
Dag, could you please add information about commit and version this is fixed in?
Comment 6 Dag Andersen 2016-12-20 08:32:14 UTC
*** Bug 373788 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Plank 2017-04-22 09:37:19 UTC
I guess it is not fixed yet or are there other reasons for the crash? I have the same issue on openSuSe Leap 42.2 (4.4.57-18.3-default) with calligra-plan-3.0.1-137.3.x86_64. Neither template loading is working, the simple one nor the template "8 hours/day, 40 hours/week". Below is strace -c output:

strace -c calligraplan 
calligra.lib.pigment: Legacy integer arithmetics implementation                                                                                                             
this does not work on a KActionCollection containing actions!                                                                                                               
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""                                                                                                   
calligraplan: symbol lookup error: /usr/lib64/libkplatoui.so.15: undefined symbol: _ZN6KGantt10ProxyModel12removeColumnEi                                                   
% time     seconds  usecs/call     calls    errors syscall                                                                                                                  
------ ----------- ----------- --------- --------- ----------------                                                                                                         
 22.90    0.010173          12       820           poll                                                                                                                     
 20.95    0.009308           1      9520      5290 stat                                                                                                                     
  9.77    0.004338           2      1790           write                                                                                                                    
  9.27    0.004116           4      1123        35 read                                                                                                                     
  5.94    0.002638           3       846        38 futex                                                                                                                    
  5.68    0.002525           1      2495       121 lstat                                                                                                                    
  5.15    0.002288           3       785           mmap                                                                                                                     
  4.37    0.001942           2       959       104 open                                                                                                                     
  2.69    0.001193           1      1255           fstat                                                                                                                    
  2.67    0.001186           3       430           mprotect                                                                                                                 
  2.42    0.001075           5       220           getdents                                                                                                                 
  2.13    0.000946           1       854           close                                                                                                                    
  1.85    0.000821           2       453           writev                                                                                                                   
  1.33    0.000592           3       178           munmap                                                                                                                   
  0.91    0.000406           1       442       352 access                                                                                                                   
  0.66    0.000291           1       366           fcntl
  0.25    0.000110           2        56           lseek
  0.22    0.000099           1        91           brk
  0.20    0.000091           1       111         1 statfs
  0.16    0.000071          18         4           fdatasync
  0.12    0.000055           1        68           fstatfs
  0.07    0.000030          15         2           rename
  0.05    0.000024           2        10         3 unlink
  0.05    0.000024           1        27           fadvise64
  0.03    0.000015           5         3           chmod
  0.02    0.000010           1        13        13 mkdir
  0.02    0.000009           1        10           getcwd
  0.02    0.000007           2         4           readlink
  0.01    0.000006           0        17         8 recvmsg
  0.01    0.000006           2         4         2 readlinkat
  0.01    0.000005           1         5           socket
  0.01    0.000005           1         4           getrandom
  0.01    0.000004           1         4           flock
  0.01    0.000003           1         3           connect
  0.01    0.000003           3         1           arch_prctl
  0.00    0.000002           1         2           bind
  0.00    0.000001           0        18         2 ioctl
  0.00    0.000001           1         2           listen
  0.00    0.000001           0         5           uname
  0.00    0.000001           0         7           getuid
  0.00    0.000000           0         2           rt_sigaction
  0.00    0.000000           0         1           rt_sigprocmask
  0.00    0.000000           0         1           madvise
  0.00    0.000000           0         1           shmget
  0.00    0.000000           0         1           shmat
  0.00    0.000000           0         1           shmctl
  0.00    0.000000           0         1           sendto
  0.00    0.000000           0         4         1 recvfrom
  0.00    0.000000           0         2           sendmsg
  0.00    0.000000           0         1           getsockname
  0.00    0.000000           0         1           getpeername
  0.00    0.000000           0         1           getsockopt
  0.00    0.000000           0         2           clone
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         1           kill
  0.00    0.000000           0         1           getrlimit
  0.00    0.000000           0         1           getgid
  0.00    0.000000           0         7           geteuid
  0.00    0.000000           0         1           getegid
  0.00    0.000000           0         1           getresuid
  0.00    0.000000           0         1           getresgid
  0.00    0.000000           0         1           gettid
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         2           clock_getres
  0.00    0.000000           0         1           inotify_init
  0.00    0.000000           0         1           inotify_add_watch
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         1           inotify_init1
------ ----------- ----------- --------- --------- ----------------
100.00    0.044421                 23048      5970 total
Comment 8 Dag Andersen 2017-04-23 14:13:02 UTC
This is a different issue. The symbol indicates it's a crash in KGantt.
KGantt has been moved out of calligra and is a separate package now.
Could you report it there?
Comment 9 Andreas Plank 2017-04-23 14:47:05 UTC
Thanks for your tip with KGantt2. I feel somewhat ashamed for having reported it here because it turned out I was lax in setting repository priorities, hence the system did install libKGantt2 (5.0.0git-13.1) from another repository but I actually needed version 2.6.0-14.1 of http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.2/ of the same repo from which I obtained calligraplan. In my case this solved the issue:

  zypper install --oldpackage --details libKGantt2=2.6.0-14.1 libKChart2=2.6.0-14.1
Comment 10 Dag Andersen 2017-09-22 06:37:53 UTC
*** Bug 384879 has been marked as a duplicate of this bug. ***