https://bugs.kde.org/show_bug.cgi?id=522440
Bug ID: 522440
Summary: KAlarm crashes during start-up or alarm creation:
ASSERT: "date >= QDate::currentDate()" in file
/workspace/build/src/kalarmcalendar/holidays.cpp, line
103
Classification: Applications
Product: kalarm
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I configured an alarm which takes holidays into account (don't show an alarm if
it's not working time).
Since then, I cannot start the application because it immediately crashes
during start-up.
Sometimes it had crashed during alarm creation, too, but that problem
"disappeared" once and I could create the alarm.
Backtrace:
ASSERT: "date >= QDate::currentDate()" in file
/workspace/build/src/kalarmcalendar/holidays.cpp, line 103
Thread 1 "kalarm" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimised out>) at
./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimised out>)
at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimised out>) at
./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimised out>, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#3 0x00007ffff364527e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#4 0x00007ffff36288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff4375888 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#6 0x00007ffff43763fa in QMessageLogger::fatal(char const*, ...) const () from
/lib/x86_64-linux-gnu/libQt6Core.so.6
#7 0x00007ffff43643e9 in qt_assert(char const*, char const*, int) () from
/lib/x86_64-linux-gnu/libQt6Core.so.6
#8 0x00007ffff763d791 in KAlarmCal::Holidays::holidayType
(this=0x555555bc6370, date=...) at
/workspace/build/src/kalarmcalendar/holidays.cpp:103
#9 0x00007ffff763d6e1 in KAlarmCal::Holidays::isHoliday (this=0x555555bc6370,
date=...) at /workspace/build/src/kalarmcalendar/holidays.cpp:93
#10 0x00007ffff7658095 in
KAlarmCal::KAEventPrivate::excludedByWorkTimeOrHoliday (this=0x555555c78180,
dt=...) at /workspace/build/src/kalarmcalendar/kaevent.cpp:3109
#11 0x00007ffff7663b79 in KAlarmCal::KAEventPrivate::calcTriggerTimes
(this=0x555555c78180) at /workspace/build/src/kalarmcalendar/kaevent.cpp:5035
#12 0x00007ffff766346b in KAlarmCal::KAEvent::nextTrigger (this=0x555555c73830,
type=KAlarmCal::KAEvent::Trigger::All, skip=false) at
/workspace/build/src/kalarmcalendar/kaevent.cpp:4945
#13 0x0000555555714071 in ResourcesCalendar::slotEventUpdated
(this=0x555555c47850, resource=..., event=...) at
/workspace/build/src/resourcescalendar.cpp:211
#14 0x0000555555713c7e in ResourcesCalendar::slotEventsAdded
(this=0x555555c47850, resource=..., events=...) at
/workspace/build/src/resourcescalendar.cpp:183
#15 0x0000555555713be3 in ResourcesCalendar::slotResourceAdded
(this=0x555555c47850, resource=...) at
/workspace/build/src/resourcescalendar.cpp:172
#16 0x00005555557256f0 in QtPrivate::FunctorCall<std::integer_sequence<unsigned
long, 0ul>, QtPrivate::List<Resource&>, void, void
(ResourcesCalendar::*)(Resource&)>::call(void
(ResourcesCalendar::*)(Resource&), ResourcesCalendar*,
void**)::{lambda()#1}::operator()() const (__closure=0x7fffffffcae0) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:128
#17 0x0000555555726c61 in QtPrivate::FunctorCallBase::call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>,
QtPrivate::List<Resource&>, void, void
(ResourcesCalendar::*)(Resource&)>::call(void
(ResourcesCalendar::*)(Resource&), ResourcesCalendar*,
void**)::{lambda()#1}>(void**,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>,
QtPrivate::List<Resource&>, void, void
(ResourcesCalendar::*)(Resource&)>::call(void
(ResourcesCalendar::*)(Resource&), ResourcesCalendar*, void**)::{lambda()#1}&&)
(args=0x7fffffffcca0, fn=...)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:66
#18 0x0000555555725764 in QtPrivate::FunctorCall<std::integer_sequence<unsigned
long, 0ul>, QtPrivate::List<Resource&>, void, void
(ResourcesCalendar::*)(Resource&)>::call (
f=(void (ResourcesCalendar::*)(class ResourcesCalendar * const, class
Resource &)) 0x555555713b96 <ResourcesCalendar::slotResourceAdded(Resource&)>,
o=0x555555c47850, arg=0x7fffffffcca0)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:127
#19 0x0000555555722c2a in QtPrivate::FunctionPointer<void
(ResourcesCalendar::*)(Resource&)>::call<QtPrivate::List<Resource&>, void> (
f=(void (ResourcesCalendar::*)(class ResourcesCalendar * const, class
Resource &)) 0x555555713b96 <ResourcesCalendar::slotResourceAdded(Resource&)>,
o=0x555555c47850, arg=0x7fffffffcca0)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:175
#20 0x000055555571f07d in QtPrivate::QCallableObject<void
(ResourcesCalendar::*)(Resource&), QtPrivate::List<Resource&>, void>::impl
(which=1, this_=0x555555c44970, r=0x555555c47850, a=0x7fffffffcca0, ret=0x0)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:546
#21 0x00007ffff42d8f1d in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#22 0x0000555555659277 in QMetaObject::activate<void, Resource>
(sender=0x555555c45a50, mo=0x5555559db120 <Resources::staticMetaObject>,
local_signal_index=3, ret=0x0)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:320
#23 0x0000555555657682 in Resources::resourceAdded (this=0x555555c45a50,
_t1=...) at
/workspace/build/obj-x86_64-linux-gnu/src/kalarm_bin_autogen/include/moc_resources.cpp:241
#24 0x0000555555655dad in Resources::notifyNewResourceInitialised (res=...) at
/workspace/build/src/resources/resources.cpp:380
#25 0x0000555555693bfe in FileResourceConfigManager::createResources
(parent=0x555555c49ad0, ignoreKeepFormat=false) at
/workspace/build/src/resources/fileresourceconfigmanager.cpp:107
#26 0x00005555556a08ab in FileResourceDataModel::initialise
(this=0x555555c49ad0) at
/workspace/build/src/resources/fileresourcedatamodel.cpp:113
#27 0x00005555556a01e7 in FileResourceDataModel::instance (parent=0x0) at
/workspace/build/src/resources/fileresourcedatamodel.cpp:58
#28 0x0000555555687414 in DataModel::initialise (ignoreKeepFormat=false) at
/workspace/build/src/resources/datamodel.cpp:19
#29 0x0000555555732262 in KAlarmApp::initialiseTimerResources
(this=0x555555a752f0) at /workspace/build/src/kalarmapp.cpp:252
#30 0x0000555555731a63 in KAlarmApp::initialise (this=0x555555a752f0) at
/workspace/build/src/kalarmapp.cpp:194
#31 0x00005555556d70b9 in main (argc=1, argv=0x7fffffffd718) at
/workspace/build/src/main.cpp:59
SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ Ultra 7 265H
Memory: 64 GiB of RAM (62,3 GiB usable)
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA RTX PRO 1000 Blackwell Generation Laptop GPU
Manufacturer: Dell Inc.
Product Name: Dell Pro Max 14 Premium MA14250
--
You are receiving this mail because:
You are watching all bug changes.