[spacebar] [Bug 485719] spacebar-daemon crashes when an SMS text is received; no notification shown, no message shown in Spacebar

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Apr 19 09:28:41 BST 2024


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

--- Comment #1 from jresch95 at outlook.com ---
(In reply to jresch95 from comment #0)
> ***
>            PID: 4017 (spacebar-daemon)
>            UID: 1000 (alarm)
>            GID: 1000 (alarm)
>         Signal: 6 (ABRT)
>      Timestamp: Thu 2024-04-18 02:00:08 CDT (37min ago)
>   Command Line: /usr/lib/spacebar-daemon
>     Executable: /usr/lib/spacebar-daemon
>  Control Group:
> /user.slice/user-1000.slice/user at 1000.service/app.slice/app-org.kde.spacebar.
> daemon at autostart.service
>           Unit: user at 1000.service
>      User Unit: app-org.kde.spacebar.daemon at autostart.service
>          Slice: user-1000.slice
>      Owner UID: 1000 (alarm)
>        Boot ID: 1d37ac22056a4591b25f6ac829d570dc
>     Machine ID: c7db93110f9848fca30e68c835b096a8
>       Hostname: danctnix
>        Storage:
> /var/lib/systemd/coredump/core.spacebar-daemon.1000.
> 1d37ac22056a4591b25f6ac829d570dc.4017.1713423608000000.zst (present)
>   Size on Disk: 1.3M
>        Message: Process 4017 (spacebar-daemon) of user 1000 dumped core.
>                 
>                 Stack trace of thread 4017:
>                 #0  0x0000ffffb84c2790 n/a (libc.so.6 + 0x82790)
>                 #1  0x0000ffffb847b6fc raise (libc.so.6 + 0x3b6fc)
>                 #2  0x0000ffffb84678b0 abort (libc.so.6 + 0x278b0)
>                 #3  0x0000ffffb84b633c n/a (libc.so.6 + 0x7633c)
>                 #4  0x0000ffffb84ccf1c n/a (libc.so.6 + 0x8cf1c)
>                 #5  0x0000ffffb84d15e0 malloc (libc.so.6 + 0x915e0)
>                 #6  0x0000ffffb8cb5d38
> _ZN10QArrayData9allocate2EPPS_xNS_16AllocationOptionE (libQt6Core.so.6 +
> 0x2b5d38)
>                 #7  0x0000ffffb8c7a3cc
> _ZN7QString11reallocDataExN10QArrayData16AllocationOptionE (libQt6Core.so.6
> + 0x27a3cc)
>                 #8  0x0000ffffb8c92604
> _ZN9QtPrivate16QStringList_joinEPK5QListI7QStringEPK5QCharx (libQt6Core.so.6
> + 0x292604)
>                 #9  0x0000aaaab869101c n/a (spacebar-daemon + 0x5101c)
>                 #10 0x0000aaaab8676044 n/a (spacebar-daemon + 0x36044)
>                 #11 0x0000aaaab8676878 n/a (spacebar-daemon + 0x36878)
>                 #12 0x0000aaaab865423c n/a (spacebar-daemon + 0x1423c)
>                 #13 0x0000aaaab86545e8 n/a (spacebar-daemon + 0x145e8)
>                 #14 0x0000aaaab865d7ac n/a (spacebar-daemon + 0x1d7ac)
>                 #15 0x0000aaaab865ddf0 n/a (spacebar-daemon + 0x1ddf0)
>                 #16 0x0000aaaab8660914 n/a (spacebar-daemon + 0x20914)
>                 #17 0x0000aaaab86615e0 n/a (spacebar-daemon + 0x215e0)
>                 #18 0x0000ffffb8bd8170 n/a (libQt6Core.so.6 + 0x1d8170)
>                 #19 0x0000aaaab8685554 n/a (spacebar-daemon + 0x45554)
>                 #20 0x0000aaaab868b790 n/a (spacebar-daemon + 0x4b790)
>                 #21 0x0000ffffb8bd8170 n/a (libQt6Core.so.6 + 0x1d8170)
>                 #22 0x0000ffffb9fab440
> _ZN12ModemManager14ModemMessaging12messageAddedERK7QStringb
> (libKF6ModemManagerQt.so.6 + 0x7b440)
>                 #23 0x0000ffffb9fadc5c n/a (libKF6ModemManagerQt.so.6 +
> 0x7dc5c)
>                 #24 0x0000ffffb8bd8170 n/a (libQt6Core.so.6 + 0x1d8170)
>                 #25 0x0000ffffb9fd00b0 n/a (libKF6ModemManagerQt.so.6 +
> 0xa00b0)
>                 #26 0x0000ffffb9fd0ce4 n/a (libKF6ModemManagerQt.so.6 +
> 0xa0ce4)
>                 #27 0x0000ffffb9d2bf08 n/a (libQt6DBus.so.6 + 0x4bf08)
>                 #28 0x0000ffffb8bcb204 _ZN7QObject5eventEP6QEvent
> (libQt6Core.so.6 + 0x1cb204)
>                 #29 0x0000ffffb8b6f824
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
> 0x16f824)
>                 #30 0x0000ffffb8b73c34
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
> (libQt6Core.so.6 + 0x173c34)
>                 #31 0x0000ffffb8e5d640 n/a (libQt6Core.so.6 + 0x45d640)
>                 #32 0x0000ffffb7409ec0 n/a (libglib-2.0.so.0 + 0x69ec0)
>                 #33 0x0000ffffb740c738 n/a (libglib-2.0.so.0 + 0x6c738)
>                 #34 0x0000ffffb740cff4 g_main_context_iteration
> (libglib-2.0.so.0 + 0x6cff4)
>                 #35 0x0000ffffb8e5cc84
> _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEvents
> FlagEE (libQt6Core.so.6 + 0x45cc84)
>                 #36 0x0000ffffb8b7d068
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
> 0x17d068)
>                 #37 0x0000ffffb8b78ecc _ZN16QCoreApplication4execEv
> (libQt6Core.so.6 + 0x178ecc)
>                 #38 0x0000aaaab86523ac n/a (spacebar-daemon + 0x123ac)
>                 #39 0x0000ffffb8467b80 n/a (libc.so.6 + 0x27b80)
>                 #40 0x0000ffffb8467c60 __libc_start_main (libc.so.6 +
> 0x27c60)
>                 #41 0x0000aaaab8652730 n/a (spacebar-daemon + 0x12730)
>                 
>                 Stack trace of thread 4048:
>                 #0  0x0000ffffb85204d8 __poll (libc.so.6 + 0xe04d8)
>                 #1  0x0000ffffb740c6c0 n/a (libglib-2.0.so.0 + 0x6c6c0)
>                 #2  0x0000ffffb740cff4 g_main_context_iteration
> (libglib-2.0.so.0 + 0x6cff4)
>                 #3  0x0000ffffb8e5cc84
> _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEvents
> FlagEE (libQt6Core.so.6 + 0x45cc84)
>                 #4  0x0000ffffb8b7d068
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
> 0x17d068)
>                 #5  0x0000ffffb8c992bc _ZN7QThread4execEv (libQt6Core.so.6 +
> 0x2992bc)
>                 #6  0x0000ffffb9d1ee2c n/a (libQt6DBus.so.6 + 0x3ee2c)
>                 #7  0x0000ffffb8d2d870 n/a (libQt6Core.so.6 + 0x32d870)
>                 #8  0x0000ffffb84c0aec n/a (libc.so.6 + 0x80aec)
>                 #9  0x0000ffffb852a5dc n/a (libc.so.6 + 0xea5dc)
>                 
>                 Stack trace of thread 4049:
>                 #0  0x0000ffffb84f4864 clock_nanosleep (libc.so.6 + 0xb4864)
>                 #1  0x0000ffffb84f9cac __nanosleep (libc.so.6 + 0xb9cac)
>                 #2  0x0000ffffb269adb4 n/a (libsqlite3.so.0 + 0x1adb4)
>                 #3  0x0000ffffb2695920 n/a (libsqlite3.so.0 + 0x15920)
>                 #4  0x0000ffffb26a440c n/a (libsqlite3.so.0 + 0x2440c)
>                 #5  0x0000ffffb26a7198 n/a (libsqlite3.so.0 + 0x27198)
>                 #6  0x0000ffffb272055c n/a (libsqlite3.so.0 + 0xa055c)
>                 #7  0x0000ffffb2757674 n/a (libsqlite3.so.0 + 0xd7674)
>                 #8  0x0000ffffb27582e8 sqlite3_step (libsqlite3.so.0 +
> 0xd82e8)
>                 #9  0x0000ffffb2eaab74 n/a (libqsqlite.so + 0xab74)
>                 #10 0x0000ffffb2eae364 n/a (libqsqlite.so + 0xe364)
>                 #11 0x0000ffffba125f88
> _ZN21asyncdatabase_private16AsyncSqlDatabase8runQueryEO9QSqlQuery
> (libfuturesql6.so.0 + 0x5f88)
>                 #12 0x0000aaaab867a048 n/a (spacebar-daemon + 0x3a048)
>                 #13 0x0000ffffb8bcb204 _ZN7QObject5eventEP6QEvent
> (libQt6Core.so.6 + 0x1cb204)
>                 #14 0x0000ffffb8b6f824
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
> 0x16f824)
>                 #15 0x0000ffffb8b73c34
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
> (libQt6Core.so.6 + 0x173c34)
>                 #16 0x0000ffffb8e5d640 n/a (libQt6Core.so.6 + 0x45d640)
>                 #17 0x0000ffffb7409ec0 n/a (libglib-2.0.so.0 + 0x69ec0)
>                 #18 0x0000ffffb740c738 n/a (libglib-2.0.so.0 + 0x6c738)
>                 #19 0x0000ffffb740cff4 g_main_context_iteration
> (libglib-2.0.so.0 + 0x6cff4)
>                 #20 0x0000ffffb8e5cc84
> _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEvents
> FlagEE (libQt6Core.so.6 + 0x45cc84)
>                 #21 0x0000ffffb8b7d068
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
> 0x17d068)
>                 #22 0x0000ffffb8c992bc _ZN7QThread4execEv (libQt6Core.so.6 +
> 0x2992bc)
>                 #23 0x0000ffffb8d2d870 n/a (libQt6Core.so.6 + 0x32d870)
>                 #24 0x0000ffffb84c0aec n/a (libc.so.6 + 0x80aec)
>                 #25 0x0000ffffb852a5dc n/a (libc.so.6 + 0xea5dc)
>                 ELF object binary architecture: AARCH64
> ***
> 
> SUMMARY
> I am unable to receive text messages on my PinePhone Manjaro community
> edition. As soon as I receive a text, a notification is displayed stating
> that /usr/lib/spacebar-daemon has crashed. There is no notification for the
> text and the text never shows up in Spacebar even after rebooting when the
> spacebar-daemon launches again.
> 
> I just did a fresh install of the most recent release of Arch Linux ARM
> plasma mobile for the PinePhone (2023-09-25) and did a full system update
> with pacman to get it running Plasma Mobile 6.
> 
> I tried several different ADSP firmware versions with the same result.
> 
> I looked at bug ID 479067, but it sounds like a different issue from what I
> am experiencing because I do not get any notification that a text came in -
> just the notification about the spacebar-daemon crashing.
> 
> Please pardon my backtrace. I followed the KDE Community Debugging
> Guidelines to get the backtrace, but I am missing debugging symbols. I would
> be happy to try to get them if necessary, but I could use some additional
> guidance. As far as I can tell, there are no debugging packages for Arch
> Linux ARM, meaning I have to compile libc, libQt6DBus, libQt6Core,
> libsqlite3, spacebar-daemon, libglib, and libKF6ModemManagerQt from the
> PinePhone correct? Or figure out how to cross compile them?
> 
> STEPS TO REPRODUCE
> 1. Turn on PinePhone
> 2. Receive SMS text
> 
> OBSERVED RESULT
> A notification is displayed stating that /usr/lib/spacebar-daemon has
> crashed.
> 
> EXPECTED RESULT
> Receive SMS text.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Arch Linux ARM 6.7.7-1-danctnix/Plasma Mobile
> PinePhone_Modem_SDK: 0.7.4
> ADSP Firmware: 30.007.30.007
> KDE Plasma Version: 6.0.3
> KDE Frameworks Version: 6.1.0
> Qt Version: 6.7.0
> 
> ADDITIONAL INFORMATION
> Mobile Carrier: Mint Mobile (T-Mobile)
> Hardware: PinePhone Manjaro Community Edition

Turns out, Arch Linux ARM has debug packages for glibc and glib2. I installed
them and built Spacebar (including the daemon) with the DCMAKE_BUILD_TYPE flag
set to Debug in the hopes that it would include the necessary debug symbols. I
still haven't found any debug packages for libQt6Core, or libKF6ModemManagerQt,
so I will try building them with debug symbols when I can.

For now, here is an updated backtrace that will hopefully have more helpful
information:
***
#0  __pthread_kill_implementation (threadid=281473776799776,
signo=signo at entry=6, no_tid=no_tid at entry=0) at pthread_kill.c:44
#1  0x0000ffffb6cc27e4 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#2  0x0000ffffb6c7b6fc in __GI_raise (sig=sig at entry=6) at
../sysdeps/posix/raise.c:26
#3  0x0000ffffb6c678b0 in __GI_abort () at abort.c:79
#4  0x0000ffffb6cb633c in __libc_message (action=action at entry=do_abort,
fmt=fmt at entry=0xffffb6d9cad8 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#5  0x0000ffffb6cccf1c in malloc_printerr (str=str at entry=0xffffb6d98660
"malloc(): unaligned fastbin chunk detected") at malloc.c:5664
#6  0x0000ffffb6ccff08 in _int_malloc (av=av at entry=0xffffb6de4970 <main_arena>,
bytes=bytes at entry=48) at malloc.c:3853
#7  0x0000ffffb6cd1270 in __GI___libc_malloc (bytes=48) at malloc.c:3329
#8  0x0000ffffb6ea10c4 in operator new (sz=48) at
/usr/src/debug/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#9  0x0000ffffb839b260 in
i18n::phonenumbers::PhoneNumberUtil::GetRegionCodesForCountryCallingCode(int,
std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >*) const () at
/usr/lib/libphonenumber.so.8
#10 0x0000ffffb839b4a0 in
i18n::phonenumbers::PhoneNumberUtil::GetRegionCodeForCountryCode(int,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>*) const () at /usr/lib/libphonenumber.so.8
#11 0x0000ffffb839c080 in
i18n::phonenumbers::PhoneNumberUtil::Format(i18n::phonenumbers::PhoneNumber
const&, i18n::phonenumbers::PhoneNumberUtil::PhoneNumberFormat,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>*) const () at /usr/lib/libphonenumber.so.8
#12 0x0000aaaad86a0450 in ??? ()
#13 0x0000aaaad86a0f94 in ??? ()
#14 0x0000aaaad8686044 in ??? ()
#15 0x0000aaaad8686878 in ??? ()
#16 0x0000aaaad866423c in ??? ()
#17 0x0000aaaad86645e8 in ??? ()
#18 0x0000aaaad866d7ac in ??? ()
#19 0x0000aaaad866ddf0 in ??? ()
#20 0x0000aaaad8670914 in ??? ()
#21 0x0000aaaad86715e0 in ??? ()
#22 0x0000ffffb73d8170 in ??? () at /usr/lib/libQt6Core.so.6
#23 0x0000aaaad8695554 in ??? ()
#24 0x0000aaaad869b790 in ??? ()
#25 0x0000ffffb73d8170 in ??? () at /usr/lib/libQt6Core.so.6
#26 0x0000ffffb872b440 in ModemManager::ModemMessaging::messageAdded(QString
const&, bool) () at /usr/lib/libKF6ModemManagerQt.so.6
#27 0x0000ffffb872dc5c in ??? () at /usr/lib/libKF6ModemManagerQt.so.6
#28 0x0000ffffb73d8170 in ??? () at /usr/lib/libQt6Core.so.6
#29 0x0000ffffb87500b0 in ??? () at /usr/lib/libKF6ModemManagerQt.so.6
#30 0x0000ffffb8750ce4 in ??? () at /usr/lib/libKF6ModemManagerQt.so.6
#31 0x0000ffffb84abf08 in ??? () at /usr/lib/libQt6DBus.so.6
#32 0x0000ffffb73cb204 in QObject::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#33 0x0000ffffb736f824 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#34 0x0000ffffb7373c34 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#35 0x0000ffffb765d640 in ??? () at /usr/lib/libQt6Core.so.6
#36 0x0000ffffb5b49ec0 in g_main_dispatch
(context=context at entry=0xaaaae96e8b30) at ../glib/glib/gmain.c:3344
#37 0x0000ffffb5b4c738 in g_main_context_dispatch_unlocked
(context=0xaaaae96e8b30) at ../glib/glib/gmain.c:4152
#38 g_main_context_iterate_unlocked (context=context at entry=0xaaaae96e8b30,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4217
#39 0x0000ffffb5b4cff4 in g_main_context_iteration (context=0xaaaae96e8b30,
may_block=1) at ../glib/glib/gmain.c:4282
#40 0x0000ffffb765cc84 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#41 0x0000ffffb737d068 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#42 0x0000ffffb7378ecc in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#43 0x0000aaaad86623ac in ??? ()
#44 0x0000ffffb6c67b80 in __libc_start_call_main
(main=main at entry=0xaaaad8662070, argc=argc at entry=1,
argv=argv at entry=0xffffc4df0918) at ../sysdeps/nptl/libc_start_call_main.h:58
#45 0x0000ffffb6c67c60 in __libc_start_main_impl
    (main=0xaaaad8662070, argc=1, argv=0xffffc4df0918, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at
../csu/libc-start.c:392
#46 0x0000aaaad8662730 in ??? ()
***

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list