Occasional crashed after login

Bug #2038919 reported by handsome_feng
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ukui-settings-daemon (Ubuntu)
Fix Released
High
Unassigned
Mantic
Fix Released
High
Unassigned

Bug Description

OS: ubuntu kylin 23.10 beta
version: ukui-settings-daemon 3.1.1.1-3

1. login UKUI
2. Occasional show windows that "UKUI Settings Daemon Crashed"
3. Got crash file in /var/crash

Not 100%, but the probability is very high, and the process can restart automatically, and then everything seems fine.

Revision history for this message
handsome_feng (feng-kylin) wrote :
summary: - Occasional crashes after login
+ Occasional crashed after login
Revision history for this message
handsome_feng (feng-kylin) wrote :
Download full text (3.5 KiB)

(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
    at ./nptl/pthread_kill.c:89
#3 0x00007f8042442866 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/posix/raise.c:26
#4 0x00007f80424268b7 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007f8042427750 in __libc_message (fmt=fmt@entry=0x7f80425c3b34 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:150
#6 0x00007f80424a3c67 in malloc_printerr
    (str=str@entry=0x7f80425c6800 "malloc_consolidate(): unaligned fastbin chunk detected") at ./malloc/malloc.c:5765
#7 0x00007f80424a495c in malloc_consolidate
    (av=av@entry=0x7f804265dca0 <main_arena>) at ./malloc/malloc.c:4839
#8 0x00007f80424a65b8 in _int_malloc
    (av=av@entry=0x7f804265dca0 <main_arena>, bytes=bytes@entry=4096)
    at ./malloc/malloc.c:4034
#9 0x00007f80424a814d in __GI___libc_malloc (bytes=bytes@entry=4096)
    at ./malloc/malloc.c:3329
#10 0x00007f8042480cbd in __GI__IO_file_doallocate (fp=0x56280b227160)
    at ./libio/filedoalloc.c:101
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x00007f8042490949 in __GI__IO_doallocbuf (fp=fp@entry=0x56280b227160) at ./libio/libioP.h:1030
#12 0x00007f804248e9dc in _IO_new_file_seekoff (fp=0x56280b227160, offset=0, dir=0, mode=<optimized out>) at ./libio/fileops.c:938
#13 0x00007f804248a5d9 in __GI_fseek (fp=0x56280b227160, offset=0, whence=0) at ./libio/fseek.c:36
#14 0x0000562809d4a1e8 in write_log_to_file
    (buf=buf@entry=0x7ffe404cf280 "[DEBUG] Daemon->main.cpp handler line:44 catch SIGTERM signal, with exitcode 15", buf_len=<optimized out>)
    at ../common/clib-syslog.c:326
#15 0x0000562809d4a4b7 in syslog_to_self_dir
    (logLevel=<optimized out>, moduleName=<optimized out>, fileName=<optimized out>, functionName=<optimized out>, line=<optimized out>, fmt=0x562809d5aef8 "catch SIGTERM signal, with exitcode %d") at ../common/clib-syslog.c:397
#16 0x0000562809d55547 in handler (no=<optimized out>) at /build/ukui-settings-daemon-y7spGm/ukui-settings-daemon-3.1.1.1/daemon/main.cpp:44
#17 0x00007f8042442910 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#18 0x00007f8015c276b5 in ??? () at /lib/x86_64-linux-gnu/libLLVM-15.so.1
#19 0x00007f8042445126 in __run_exit_handlers
    (status=1, listp=0x7f804265d860 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true)
    at ./stdlib/exit.c:111
#20 0x00007f8042445260 in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:141
#21 0x00007f803eac9c64 in ??? () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f803eaf9f77 in ??? () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007f80442deb2c in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f804433a46f in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f80442dcd20 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f8042f27dc6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /l...

Read more...

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/2038919

tags: added: iso-testing
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hey there! Thanks for preparing the fix (and uploading it) but I think this would be a good fit for 0-day SRU instead of letting in it now and then doing another re-spin.

Changed in ukui-settings-daemon (Ubuntu):
status: New → Fix Committed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This bug is ready for verification. Due to the status mantic was in when the package was accepted, the tooling failed to add the template comment to this bug, and add the tags, and I did all of that manually now.

tags: added: verification-needed verification-needed-mantic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ukui-settings-daemon - 3.1.1.1-3ubuntu1

---------------
ukui-settings-daemon (3.1.1.1-3ubuntu1) mantic; urgency=medium

  * bugfix only:
    - d/patches: add fix-crash-when-startup.patch. (LP: #2038919)

 -- handsome_feng <email address hidden> Wed, 11 Oct 2023 20:15:28 +0800

Changed in ukui-settings-daemon (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi, friendly ping that this bug is waiting verification.

Revision history for this message
handsome_feng (feng-kylin) wrote :

Hi, I have verified ukui-settings-daemon 3.1.1.3-3ubuntu1 works fine in mantic.

tags: added: verification-done verification-done-mantic
removed: verification-needed verification-needed-mantic
Revision history for this message
Brian Murray (brian-murray) wrote :

This looks similar to the following crash in the Ubuntu Error Tracker and we can see that the new version of the package in mantic doesn't appear in the affected versions table.

https://errors.ubuntu.com/problem/4ab795fdd7112bc6d65cfae08bc94a52f95805c9

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ukui-settings-daemon - 3.1.1.1-3ubuntu1

---------------
ukui-settings-daemon (3.1.1.1-3ubuntu1) mantic; urgency=medium

  * bugfix only:
    - d/patches: add fix-crash-when-startup.patch. (LP: #2038919)

 -- handsome_feng <email address hidden> Wed, 11 Oct 2023 20:15:28 +0800

Changed in ukui-settings-daemon (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ukui-settings-daemon has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.