Bug 2177988 - [abrt] ibus: _sig_usr1_handler(): ibus-daemon killed by SIGABRT
Summary: [abrt] ibus: _sig_usr1_handler(): ibus-daemon killed by SIGABRT
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:43668f3492d9c79fa6300cdbc1e...
: 2196914 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-14 07:04 UTC by Jani Heinonen
Modified: 2023-11-22 03:40 UTC (History)
4 users (show)

Fixed In Version: ibus-1.5.29~beta1-1.fc39
Clone Of:
Environment:
Last Closed: 2023-11-22 03:40:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.38 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: maps (3.93 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: limits (1.29 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: environ (181 bytes, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: open_fds (2.54 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: mountinfo (3.92 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: os_info (756 bytes, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: core_backtrace (11.81 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: dso_list (635 bytes, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: var_log_messages (267 bytes, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details
File: backtrace (31.35 KB, text/plain)
2023-03-14 07:04 UTC, Jani Heinonen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ibus ibus pull 2499 0 None open bus: Avoid to hang the process with SIGUSR1 signal 2023-05-16 14:39:30 UTC

Description Jani Heinonen 2023-03-14 07:04:08 UTC
Version-Release number of selected component:
ibus-1.5.28-1.fc38

Additional info:
reporter:       libreport-2.17.8
type:           CCpp
reason:         ibus-daemon killed by SIGABRT
journald_cursor: s=35bba278d23d48778870df5edb7a440c;i=a14;b=dbc6f973f11f494d8362212c9e32ad1a;m=355fc53;t=5f6d5ba212b8f;x=7c28ef1ddadf4dc5
executable:     /usr/bin/ibus-daemon
cmdline:        ibus-daemon --panel disable -r --xim
cgroup:         0::/user.slice/user-985.slice/session-c1.scope
rootdir:        /
uid:            985
kernel:         6.2.2-301.fc38.x86_64
package:        ibus-1.5.28-1.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: _sig_usr1_handler

Truncated backtrace:
Thread no. 1 (6 frames)
 #7 _sig_usr1_handler at /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/main.c:172
 #9 __libc_sendmsg at ../sysdeps/unix/sysv/linux/sendmsg.c:28
 #11 journal_sendv at ../glib/gmessages.c:2395
 #12 g_log_writer_journald at ../glib/gmessages.c:2551
 #19 g_dbus_server_stop at ../gio/gdbusserver.c:664
 #20 bus_server_run at /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/server.c:366

Comment 1 Jani Heinonen 2023-03-14 07:04:11 UTC
Created attachment 1950463 [details]
File: proc_pid_status

Comment 2 Jani Heinonen 2023-03-14 07:04:12 UTC
Created attachment 1950464 [details]
File: maps

Comment 3 Jani Heinonen 2023-03-14 07:04:14 UTC
Created attachment 1950465 [details]
File: limits

Comment 4 Jani Heinonen 2023-03-14 07:04:15 UTC
Created attachment 1950466 [details]
File: environ

Comment 5 Jani Heinonen 2023-03-14 07:04:17 UTC
Created attachment 1950467 [details]
File: open_fds

Comment 6 Jani Heinonen 2023-03-14 07:04:18 UTC
Created attachment 1950468 [details]
File: mountinfo

Comment 7 Jani Heinonen 2023-03-14 07:04:19 UTC
Created attachment 1950469 [details]
File: os_info

Comment 8 Jani Heinonen 2023-03-14 07:04:20 UTC
Created attachment 1950470 [details]
File: cpuinfo

Comment 9 Jani Heinonen 2023-03-14 07:04:21 UTC
Created attachment 1950471 [details]
File: core_backtrace

Comment 10 Jani Heinonen 2023-03-14 07:04:23 UTC
Created attachment 1950472 [details]
File: dso_list

Comment 11 Jani Heinonen 2023-03-14 07:04:24 UTC
Created attachment 1950473 [details]
File: var_log_messages

Comment 12 Jani Heinonen 2023-03-14 07:04:25 UTC
Created attachment 1950474 [details]
File: backtrace

Comment 13 fujiwara 2023-03-22 11:44:37 UTC
Which did you use a LiveDVD session or an installed system in your disc?

> "Failed to delete /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied"

I guess you don't have /run/gnome-initial-setup or you have a wrong permission of /run/gnome-initial-setup/.cache ?



(In reply to Jani Heinonen from comment #12)
> Created attachment 1950474 [details]
> File: backtrace

#16 0x00007f5b72665a5c in g_log_default_handler (log_domain=log_domain@entry=0x7f5b72900082 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_WARNING, message=message@entry=0x564ed1304580 "Failed to delete /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied", unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3284
#17 0x00007f5b72665d00 in g_logv (log_domain=0x7f5b72900082 "GLib-GIO", log_level=G_LOG_LEVEL_WARNING, format=<optimized out>, args=args@entry=0x7ffd01bbb270) at ../glib/gmessages.c:1391
        msg_alloc = 0x564ed1304580 "Failed to delete /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied"
        msg = 0x564ed1304580 "Failed to delete /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied"
#18 0x00007f5b72665ff3 in g_log (log_domain=log_domain@entry=0x7f5b72900082 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7f5b729325e8 "Failed to delete %s: %s") at ../glib/gmessages.c:1460
#19 0x00007f5b728d6f0d in g_dbus_server_stop (server=0x564ed122abf0) at ../gio/gdbusserver.c:664
#20 0x0000564ed00c0bc3 in bus_server_run () at /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/server.c:366
#21 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/main.c:356

Comment 14 Jani Heinonen 2023-03-22 11:54:40 UTC
I do not report liveDVD errors, so this was from installed system. If I remember correcly this error was created right after I was taken to desktop after intial-setup. Sadly I do not have all the details, since I have installed after that KDE, Sway, XFCE etc versions of 38. I am not sure what caused the error.

Comment 15 fujiwara 2023-05-16 14:37:24 UTC
Reading the backtrace again, seems the problem is caused by the nested g_warning()s of #18 and #6.
One solution would be to call fprintf() instead of g_log in #6 but I have another idea and I'm waiting for the reply from another customer.


(In reply to fujiwara from comment #13)
> (In reply to Jani Heinonen from comment #12)
> > Created attachment 1950474 [details]
> > File: backtrace

#3  0x00007f5b7244b87f in __GI_abort () at abort.c:79
#4  0x00007f5b72623f3a in _g_log_abort (breakpoint=0) at ../glib/gmessages.c:557
#5  g_logv (log_domain=0x564ed00d9029 "IBUS", log_level=G_LOG_LEVEL_WARNING, format=<optimized out>, args=args@entry=0x7ffd01bb9f10) at ../glib/gmessages.c:1418
#6  0x00007f5b72665ff3 in g_log (log_domain=log_domain@entry=0x564ed00d9029 "IBUS", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x564ed00dfc46 "The parent process died.") at ../glib/gmessages.c:1460
#7  0x0000564ed00d7262 in _sig_usr1_handler (sig=<optimized out>) at /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/main.c:172
#8  <signal handler called>
#9  0x00007f5b72539aeb in __libc_sendmsg (flags=16384, msg=0x7ffd01bbaf40, fd=11) at ../sysdeps/unix/sysv/linux/sendmsg.c:28
#10 __libc_sendmsg (fd=11, msg=msg@entry=0x7ffd01bbaf40, flags=flags@entry=16384) at ../sysdeps/unix/sysv/linux/sendmsg.c:25
#11 0x00007f5b7266c61f in journal_sendv (iovlen=16, iov=0x7ffd01bbada0) at ../glib/gmessages.c:2395
#12 g_log_writer_journald (log_level=log_level@entry=G_LOG_LEVEL_WARNING, fields=fields@entry=0x7ffd01bbb110, n_fields=n_fields@entry=4, user_data=user_data@entry=0x0) at ../glib/gmessages.c:2551
#13 0x00007f5b7266c90f in g_log_writer_default (log_level=G_LOG_LEVEL_WARNING, fields=0x7ffd01bbb110, n_fields=4, user_data=0x0) at ../glib/gmessages.c:2781

> 
> #16 0x00007f5b72665a5c in g_log_default_handler
> (log_domain=log_domain@entry=0x7f5b72900082 "GLib-GIO",
> log_level=log_level@entry=G_LOG_LEVEL_WARNING,
> message=message@entry=0x564ed1304580 "Failed to delete
> /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied",
> unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3284
> #17 0x00007f5b72665d00 in g_logv (log_domain=0x7f5b72900082 "GLib-GIO",
> log_level=G_LOG_LEVEL_WARNING, format=<optimized out>,
> args=args@entry=0x7ffd01bbb270) at ../glib/gmessages.c:1391
>         msg_alloc = 0x564ed1304580 "Failed to delete
> /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied"
>         msg = 0x564ed1304580 "Failed to delete
> /run/gnome-initial-setup/.cache/ibus/dbus-2S6yKVna: Permission denied"
> #18 0x00007f5b72665ff3 in g_log (log_domain=log_domain@entry=0x7f5b72900082
> "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_WARNING,
> format=format@entry=0x7f5b729325e8 "Failed to delete %s: %s") at
> ../glib/gmessages.c:1460
> #19 0x00007f5b728d6f0d in g_dbus_server_stop (server=0x564ed122abf0) at
> ../gio/gdbusserver.c:664
> #20 0x0000564ed00c0bc3 in bus_server_run () at
> /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/server.c:366
> #21 main (argc=<optimized out>, argv=<optimized out>) at
> /usr/src/debug/ibus-1.5.28-1.fc38.x86_64/bus/main.c:356

Comment 16 fujiwara 2023-05-16 14:38:32 UTC
*** Bug 2196914 has been marked as a duplicate of this bug. ***

Comment 17 shubham 2023-10-01 15:57:48 UTC
i rebooted my system and first thing I noticed was this hardware report.


reporter:       libreport-2.17.9
type:           CCpp
reason:         ibus-daemon killed by SIGABRT
journald_cursor: s=0ef07ca12c164bd192ab78ffd6babdab;i=9fa;b=07beb18bf80b4ca883eb2a61e270c729;m=84d6386;t=606a4ab6d8831;x=144a60a158f517e9
executable:     /usr/bin/ibus-daemon
cmdline:        ibus-daemon --panel disable
cgroup:         0::/user.slice/user-985.slice/session-c1.scope
rootdir:        /
uid:            985
kernel:         6.2.9-300.fc38.x86_64
package:        ibus-1.5.28-3.fc38
runlevel:       N 5
comment:        i rebooted my system and first thing I noticed was this hardware report.
backtrace_rating: 4
crash_function: _sig_usr1_handler


Note You need to log in before you can comment on or make changes to this bug.