Bug 342528 - Crash when closing "Edit main project" dialog
Summary: Crash when closing "Edit main project" dialog
Status: RESOLVED FIXED
Alias: None
Product: calligraplan
Classification: Applications
Component: general (show other bugs)
Version: 2.8.1
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 19:33 UTC by adamcrume
Modified: 2019-10-11 10:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adamcrume 2015-01-05 19:33:12 UTC
I opened the "Edit main project" dialog, then hit the escape key, and the application crashed.  Only happens occasionally.

Reproducible: Sometimes




Application: calligraplan (2.8.1)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Backtrace:
Application: Plan (calligraplan), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff4735b47c0 (LWP 6783))]

Thread 3 (Thread 0x7ff454431700 (LWP 6787)):
#0  0x00007ff46e3a3569 in __GI___pthread_mutex_lock (mutex=0x7ff44c000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007ff46df03981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff46dec187b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff46dec1f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff46dec20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff4716237be in QEventDispatcherGlib::processEvents (this=0x7ff44c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007ff4715f50af in QEventLoop::processEvents (this=this@entry=0x7ff454430de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff4715f53a5 in QEventLoop::exec (this=this@entry=0x7ff454430de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff4714f1c5f in QThread::exec (this=this@entry=0x1014990) at thread/qthread.cpp:537
#9  0x00007ff4715d6823 in QInotifyFileSystemWatcherEngine::run (this=0x1014990) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007ff4714f432f in QThreadPrivate::start (arg=0x1014990) at thread/qthread_unix.cpp:349
#11 0x00007ff46e3a1182 in start_thread (arg=0x7ff454431700) at pthread_create.c:312
#12 0x00007ff472f19efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff450a46700 (LWP 6794)):
#0  0x00007ff471a447a4 in KTimeZoneBackend::~KTimeZoneBackend (this=0x7ff44407b030, __in_chrg=<optimized out>) at ../../kdecore/date/ktimezone.cpp:440
#1  0x00007ff471a44839 in KTimeZoneBackend::~KTimeZoneBackend (this=0x7ff44407b030, __in_chrg=<optimized out>) at ../../kdecore/date/ktimezone.cpp:443
#2  0x00007ff471a45577 in KTimeZone::operator= (this=this@entry=0x7ff44407f620, tz=...) at ../../kdecore/date/ktimezone.cpp:628
#3  0x00007ff471a3457b in KDateTimePrivate (donly=false, s=..., d=..., this=0x7ff44407f610) at ../../kdecore/date/kdatetime.cpp:342
#4  KDateTime::KDateTime (this=0x7ff450a44c20, dt=...) at ../../kdecore/date/kdatetime.cpp:808
#5  0x00007ff45da76b50 in KPlato::Calendar::firstAvailableBefore(KDateTime const&, KDateTime const&, KPlato::Schedule*) () from /usr/lib/libkplatokernel.so.13
#6  0x00007ff45da77f2a in KPlato::Calendar::firstAvailableBefore(KPlato::DateTime const&, KPlato::DateTime const&, KPlato::Schedule*) () from /usr/lib/libkplatokernel.so.13
#7  0x00007ff45da3b394 in KPlato::Resource::WorkInfoCache::firstAvailableBefore(KPlato::DateTime const&, KPlato::DateTime const&, KPlato::Calendar*, KPlato::Schedule*) const () from /usr/lib/libkplatokernel.so.13
#8  0x00007ff45da3b72c in KPlato::Resource::availableBefore(KPlato::DateTime const&, KPlato::DateTime, KPlato::Schedule*) const () from /usr/lib/libkplatokernel.so.13
#9  0x00007ff45da45f5f in KPlato::Resource::effort(KPlato::Schedule*, KPlato::DateTime const&, KPlato::Duration const&, int, bool, QList<KPlato::Resource*> const&) const () from /usr/lib/libkplatokernel.so.13
#10 0x00007ff45da468e1 in KPlato::Resource::effort(KPlato::DateTime const&, KPlato::Duration const&, int, bool, QList<KPlato::Resource*> const&) const () from /usr/lib/libkplatokernel.so.13
#11 0x00007ff45da46b57 in KPlato::ResourceRequest::effort(KPlato::DateTime const&, KPlato::Duration const&, KPlato::Schedule*, bool) () from /usr/lib/libkplatokernel.so.13
#12 0x00007ff45da46c1c in KPlato::ResourceRequestCollection::effort(QList<KPlato::ResourceRequest*> const&, KPlato::DateTime const&, KPlato::Duration const&, KPlato::Schedule*, bool) const () from /usr/lib/libkplatokernel.so.13
#13 0x00007ff45da46de8 in KPlato::ResourceRequestCollection::duration(QList<KPlato::ResourceRequest*> const&, KPlato::DateTime const&, KPlato::Duration const&, KPlato::Schedule*, bool) () from /usr/lib/libkplatokernel.so.13
#14 0x00007ff45da48eff in KPlato::ResourceRequestCollection::duration(KPlato::DateTime const&, KPlato::Duration const&, KPlato::Schedule*, bool) () from /usr/lib/libkplatokernel.so.13
#15 0x00007ff45da65e05 in KPlato::Task::calcDuration(KPlato::DateTime const&, KPlato::Duration const&, bool) () from /usr/lib/libkplatokernel.so.13
#16 0x00007ff45da66089 in KPlato::Task::duration(KPlato::DateTime const&, int, bool) () from /usr/lib/libkplatokernel.so.13
#17 0x00007ff45da5fb64 in KPlato::Task::calculateEarlyFinish(int) () from /usr/lib/libkplatokernel.so.13
#18 0x00007ff45da56967 in KPlato::Task::calculateForward(int) () from /usr/lib/libkplatokernel.so.13
#19 0x00007ff45da56674 in KPlato::Task::calculatePredeccessors(QList<KPlato::Relation*> const&, int) () from /usr/lib/libkplatokernel.so.13
#20 0x00007ff45da568f5 in KPlato::Task::calculateForward(int) () from /usr/lib/libkplatokernel.so.13
#21 0x00007ff45da56674 in KPlato::Task::calculatePredeccessors(QList<KPlato::Relation*> const&, int) () from /usr/lib/libkplatokernel.so.13
#22 0x00007ff45da568f5 in KPlato::Task::calculateForward(int) () from /usr/lib/libkplatokernel.so.13
#23 0x00007ff45da56674 in KPlato::Task::calculatePredeccessors(QList<KPlato::Relation*> const&, int) () from /usr/lib/libkplatokernel.so.13
#24 0x00007ff45da568f5 in KPlato::Task::calculateForward(int) () from /usr/lib/libkplatokernel.so.13
#25 0x00007ff45da304fe in KPlato::Project::calculateForward(int) () from /usr/lib/libkplatokernel.so.13
#26 0x00007ff45da2bbf6 in KPlato::Project::calculate() () from /usr/lib/libkplatokernel.so.13
#27 0x00007ff45da31ae7 in KPlato::Project::calculate(KPlato::Schedule*) () from /usr/lib/libkplatokernel.so.13
#28 0x00007ff45da31f44 in KPlato::Project::calculate(KPlato::ScheduleManager&) () from /usr/lib/libkplatokernel.so.13
#29 0x00007ff45dd513d1 in ?? () from /usr/lib/libplanprivate.so.13
#30 0x00007ff4714f432f in QThreadPrivate::start (arg=0x12f4840) at thread/qthread_unix.cpp:349
#31 0x00007ff46e3a1182 in start_thread (arg=0x7ff450a46700) at pthread_create.c:312
#32 0x00007ff472f19efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff4735b47c0 (LWP 6783)):
[KCrash Handler]
#6  0x00007ff47206208a in QApplication::x11ProcessEvent (this=0x7fff613520d0, event=event@entry=0x7fff61351c90) at kernel/qapplication_x11.cpp:3529
#7  0x00007ff47208ab02 in x11EventSourceDispatch (s=0xd6e730, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#8  0x00007ff46dec1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff46dec2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ff46dec20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ff4716237a1 in QEventDispatcherGlib::processEvents (this=0xd05500, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#12 0x00007ff47208abb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007ff4715f50af in QEventLoop::processEvents (this=this@entry=0x7fff61352060, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007ff4715f53a5 in QEventLoop::exec (this=this@entry=0x7fff61352060, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007ff4715fab79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#16 0x00007ff4731e68f5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_calligraplan.so
#17 0x00007ff472e40ec5 in __libc_start_main (main=0x4006d0, argc=1, argv=0x7fff61352208, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff613521f8) at libc-start.c:287
#18 0x00000000004006fe in _start ()
Comment 1 Dag Andersen 2019-10-11 10:49:35 UTC
KDateTime is no longer used.