Bug 2278828 - [abrt] ibus: bus_server_init(): ibus-daemon killed by SIGTRAP
Summary: [abrt] ibus: bus_server_init(): ibus-daemon killed by SIGTRAP
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 40
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:e70f4ca101def3ac6f2be9e0173...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-03 09:08 UTC by S.J.
Modified: 2024-05-28 14:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 14:10:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.47 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: maps (3.93 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: limits (1.29 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: environ (1.38 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: open_fds (2.00 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: mountinfo (3.76 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: os_info (734 bytes, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: cpuinfo (2.98 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: core_backtrace (8.69 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: dso_list (941 bytes, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: var_log_messages (530 bytes, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details
File: backtrace (26.73 KB, text/plain)
2024-05-03 09:08 UTC, S.J.
no flags Details

Description S.J. 2024-05-03 09:08:05 UTC
Version-Release number of selected component:
ibus-1.5.30~rc3-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         ibus-daemon killed by SIGTRAP
journald_cursor: s=926450c9204b4ee199a2df9f7b299dc4;i=56dc35;b=834d54fcea284ad599ee8afd04d17a7d;m=18f8f439;t=61761d346609b;x=e521fb9716b4d660
executable:     /usr/bin/ibus-daemon
cmdline:        /usr/bin/ibus-daemon --panel disable
cgroup:         0::/user.slice/user-1001.slice/user/session.slice/org.freedesktop.IBus.session.GNOME.service
rootdir:        /
uid:            1001
kernel:         6.8.7-300.fc40.x86_64
package:        ibus-1.5.30~rc3-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: bus_server_init

Truncated backtrace:
Thread no. 1 (1 frames)
 #4 bus_server_init at /usr/src/debug/ibus-1.5.30


Potential duplicate: bug 1785276

Comment 1 S.J. 2024-05-03 09:08:08 UTC
Created attachment 2031006 [details]
File: proc_pid_status

Comment 2 S.J. 2024-05-03 09:08:10 UTC
Created attachment 2031007 [details]
File: maps

Comment 3 S.J. 2024-05-03 09:08:11 UTC
Created attachment 2031008 [details]
File: limits

Comment 4 S.J. 2024-05-03 09:08:12 UTC
Created attachment 2031009 [details]
File: environ

Comment 5 S.J. 2024-05-03 09:08:13 UTC
Created attachment 2031010 [details]
File: open_fds

Comment 6 S.J. 2024-05-03 09:08:14 UTC
Created attachment 2031011 [details]
File: mountinfo

Comment 7 S.J. 2024-05-03 09:08:16 UTC
Created attachment 2031012 [details]
File: os_info

Comment 8 S.J. 2024-05-03 09:08:17 UTC
Created attachment 2031013 [details]
File: cpuinfo

Comment 9 S.J. 2024-05-03 09:08:19 UTC
Created attachment 2031014 [details]
File: core_backtrace

Comment 10 S.J. 2024-05-03 09:08:21 UTC
Created attachment 2031015 [details]
File: dso_list

Comment 11 S.J. 2024-05-03 09:08:22 UTC
Created attachment 2031016 [details]
File: var_log_messages

Comment 12 S.J. 2024-05-03 09:08:23 UTC
Created attachment 2031017 [details]
File: backtrace

Comment 13 fujiwara 2024-05-22 01:15:49 UTC
I think your /home/zdalny/.cache/ibus has wrong permission but it was not generated by the current ibus.
If you move or delete the directory, I think the problem won't happen.

(In reply to S.J. from comment #12)
> Created attachment 2031017 [details]
> File: backtrace

#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffef11069b0, n_fields=4) at ../glib/gmessages.c:426
#1  0x00007f11f6c61377 in g_log_default_handler (log_domain=log_domain@entry=0x561abb83002c "IBUS", log_level=log_level@entry=6, message=message@entry=0x561abcec3aa0 "mkdir is failed in: /home/zdalny/.cache/ibus: Brak dost\304\231pu", unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3357
#2  0x00007f11f6c58249 in g_logv (log_domain=0x561abb83002c "IBUS", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7ffef1106b10) at ../glib/gmessages.c:1246
        msg_alloc = 0x561abcec3aa0 "mkdir is failed in: /home/zdalny/.cache/ibus: Brak dost\304\231pu"
        msg = 0x561abcec3aa0 "mkdir is failed in: /home/zdalny/.cache/ibus: Brak dost\304\231pu"
#3  0x00007f11f6c585b3 in g_log (log_domain=log_domain@entry=0x561abb83002c "IBUS", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x561abb83157c "mkdir is failed in: %s: %s") at ../glib/gmessages.c:1315
#4  0x0000561abb816d2c in bus_server_init () at /usr/src/debug/ibus-1.5.30~rc3-1.fc40.x86_64/bus/server.c:295
        socket_address = 0x561abced36c0 "unix:tmpdir=/home/zdalny/.cache/ibus"

Comment 14 S.J. 2024-05-22 09:00:41 UTC
"(...) mkdir is failed in: /home/zdalny/.cache/ibus: Brak dost\304\231pu", unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3357 (...)"

There is also a problem with what was supposed to point to the "/home/remote" directory when it did not exist at all and was not previously marked anywhere and in any configuration of any program - this is definitely puzzling... the mentioned path has simply never existed in system .

Comment 15 fujiwara 2024-05-22 11:45:11 UTC
(In reply to S.J. from comment #14)
> There is also a problem with what was supposed to point to the
> "/home/remote" directory when it did not exist at all and was not previously
> marked anywhere and in any configuration of any program - this is definitely
> puzzling... the mentioned path has simply never existed in system .

If "/home/remote" does not exist, probably your $HOME is not valid.

ibus-daemon tries:
1. $XDG_CACHE_HOME/ibus if XDG_CACHE_HOME environment variable is available.
2. $HOME/.cache/ibus if HOME environment variable is available.
3. <HOME>/.cache/ibus <HOME> is pulled from /etc/passwd.

Comment 16 S.J. 2024-05-22 12:52:36 UTC
"/home/zdalny/" (Polish translate from backtrace) or "/home/remote" never existed with any Fedora or other Linux installation - maybe I don't understand what's going on.
There is only a directory "/home/$SAMPLE_USER/.cache/ibus"

Comment 17 fujiwara 2024-05-22 13:58:00 UTC
You should have the home direcotry otherwise ibus continue to cause the SEGV.

Comment 18 S.J. 2024-05-22 14:33:14 UTC
I will write this clearly once again - my home directory is "/home/slawek" - I do not have and never have had a "/home/remote" directory.
Neither on a physical computer nor on a virtual computer.
It seemed to me that the bug reporting system works automatically since it is turned on and I can't even control what it sends to https://bugzilla.redhat.com.
There is clearly a problem since my agent reports such an event to the server.

Comment 19 fujiwara 2024-05-22 15:00:12 UTC
I already explained your configuration was bad.
See https://bugzilla.redhat.com/show_bug.cgi?id=2278828#add_comment how to resolve your issue.

Comment 20 fujiwara 2024-05-22 15:01:31 UTC
The correct suggestion:
https://bugzilla.redhat.com/show_bug.cgi?id=2278828#c15

Comment 21 S.J. 2024-05-22 15:10:17 UTC
Sorry, but due to your complete lack of understanding of the problem, this time I will refer you to my suggestion https://bugzilla.redhat.com/show_bug.cgi?id=2278828#c18.
I doubt that my sarcasm will change anything, but other users of this system also read it - I'll call it a pure example of your incompetence and disregard for me personally and for the programming problem, which should not happen in the bug reporting system.
Thx :)

Comment 22 Kan-Ru Chen 2024-05-22 23:18:21 UTC
(In reply to S.J. from comment #21)
> Sorry, but due to your complete lack of understanding of the problem, this
> time I will refer you to my suggestion
> https://bugzilla.redhat.com/show_bug.cgi?id=2278828#c18.
> I doubt that my sarcasm will change anything, but other users of this system
> also read it - I'll call it a pure example of your incompetence and
> disregard for me personally and for the programming problem, which should
> not happen in the bug reporting system.
> Thx :)

Hi S.J.

I happen to read your message and I think it is unnecessary harsh.

We can only try to guess the problem you reported from the data we have on the file.

In the environ file attached in https://bugzilla.redhat.com/show_bug.cgi?id=2278828#c4
There is clearly a user `zdalny` whose user id is `1001`

    LOGNAME=zdalny
    HOME=/home/zdalny
    USERNAME=zdalny
    USER=zdalny
    MAIL=/var/spool/mail/zdalny
    SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
    XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.2RK3M2
    XDG_RUNTIME_DIR=/run/user/1001
    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus

From the mountinfo in https://bugzilla.redhat.com/show_bug.cgi?id=2278828#c6
There is also a user id `1000`, which I believe is your user id.

Maybe you can try to run `id 1001` to find out who is this mysterious user.

For example this is the output from my system:

    $ id 1000
    uid=1000(kanru) gid=1000(kanru) groups=1000(kanru),10(wheel)

Comment 23 S.J. 2024-05-23 03:58:32 UTC
Unfortunately, I will not get this information anymore - in the meantime I created the user "MSI" (a long time after the error/problem was reported).
At the moment, the situation is as follows:

slawek@maszyna:~$ id 1000
uid=1000(slawek) gid=1000(slawek) grupy=1000(slawek),10(wheel),971(vboxusers)
slawek@maszyna:~$ id 1001
uid=1001(msi) gid=1001(msi) grupy=1001(msi)

Generally, if the "/home/zdalny" user existed, the newly created user "msi" would obtain Id 1002.
The matter is even more strange.I don't think it's possible to get any more relevant information at the moment.
I manually delete the contents of /var/log from time to time.

Thank you, however, for trying to help explain the problem. The conclusion is that someone may have tried to do something remotely in my system - just in case, I will reinstall Fedora 40 after resetting the disk in some known and simple way, e.g.

dd if=/dev/zero of=/dev/sdX

Comment 24 fujiwara 2024-05-28 12:17:20 UTC
Did you reproduce the issue recently?

Comment 25 S.J. 2024-05-28 14:00:35 UTC
As expected, of course, this error no longer appeared... cleaning the disk and reinstalling the entire system with add-ons did the trick.

Comment 26 fujiwara 2024-05-28 14:10:07 UTC
Then you had a bad configuration.
Please reopen when you reproduce the issue again.


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