Bug 1516268 - [abrt] udisks2: g_mutex_lock(): udisksd killed by SIGSEGV
Summary: [abrt] udisks2: g_mutex_lock(): udisksd killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5eff467e9798dc677b174ce755e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-22 11:42 UTC by igiwatson
Modified: 2018-05-29 11:34 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 11:34:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (12.33 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: cgroup (265 bytes, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: core_backtrace (9.62 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: cpuinfo (1.06 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: dso_list (3.66 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: environ (142 bytes, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: exploitable (82 bytes, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: limits (1.29 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: maps (18.09 KB, text/plain)
2017-11-22 11:42 UTC, igiwatson
no flags Details
File: open_fds (1.02 KB, text/plain)
2017-11-22 11:43 UTC, igiwatson
no flags Details
File: proc_pid_status (1.23 KB, text/plain)
2017-11-22 11:43 UTC, igiwatson
no flags Details
File: var_log_messages (311 bytes, text/plain)
2017-11-22 11:43 UTC, igiwatson
no flags Details
coredump gzipped (494.28 KB, application/octet-stream)
2017-11-22 13:51 UTC, igiwatson
no flags Details

Description igiwatson 2017-11-22 11:42:39 UTC
Version-Release number of selected component:
udisks2-2.6.5-3.fc26

Additional info:
reporter:       libreport-2.9.1
backtrace_rating: 4
cmdline:        /usr/libexec/udisks2/udisksd
crash_function: g_mutex_lock
executable:     /usr/libexec/udisks2/udisksd
journald_cursor: s=00ac1063acb84be6ba50504dcb36d802;i=15c5b;b=ef31b0dff92e43a6b569fc1d4cd28485;m=169831263;t=55dce11d4cf07;x=60f9e6ebc73ad3a3
kernel:         4.13.11-200.fc26.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 g_mutex_lock at gthread-posix.c:1336
 #1 g_source_destroy_internal at gmain.c:1236

Comment 1 igiwatson 2017-11-22 11:42:46 UTC
Created attachment 1357407 [details]
File: backtrace

Comment 2 igiwatson 2017-11-22 11:42:47 UTC
Created attachment 1357408 [details]
File: cgroup

Comment 3 igiwatson 2017-11-22 11:42:49 UTC
Created attachment 1357409 [details]
File: core_backtrace

Comment 4 igiwatson 2017-11-22 11:42:51 UTC
Created attachment 1357410 [details]
File: cpuinfo

Comment 5 igiwatson 2017-11-22 11:42:52 UTC
Created attachment 1357411 [details]
File: dso_list

Comment 6 igiwatson 2017-11-22 11:42:54 UTC
Created attachment 1357412 [details]
File: environ

Comment 7 igiwatson 2017-11-22 11:42:55 UTC
Created attachment 1357413 [details]
File: exploitable

Comment 8 igiwatson 2017-11-22 11:42:57 UTC
Created attachment 1357414 [details]
File: limits

Comment 9 igiwatson 2017-11-22 11:42:59 UTC
Created attachment 1357415 [details]
File: maps

Comment 10 igiwatson 2017-11-22 11:43:00 UTC
Created attachment 1357416 [details]
File: open_fds

Comment 11 igiwatson 2017-11-22 11:43:02 UTC
Created attachment 1357417 [details]
File: proc_pid_status

Comment 12 igiwatson 2017-11-22 11:43:03 UTC
Created attachment 1357418 [details]
File: var_log_messages

Comment 13 Vratislav Podzimek 2017-11-22 13:15:33 UTC
Thanks for the report. Is there any chance you could also upload the coredump somewhere? Thanks!

Comment 14 igiwatson 2017-11-22 13:51:29 UTC
Created attachment 1357517 [details]
coredump gzipped

coredump file

Comment 15 Vratislav Podzimek 2017-12-06 11:29:05 UTC
I am reassigning this to GLib. Maybe udisks2 is doing something wrong, but it more looks like some issue in GLib itself. This is the relevant chunk from the backtrace:

Thread 1 (Thread 0x7f6d87dcf900 (LWP 1405)):
#0  0x00007f6d865794a5 in g_mutex_lock (mutex=mutex@entry=0x2020202020202020) at gthread-posix.c:1336
        _g_boolean_var_ = <optimized out>
#1  0x00007f6d86532478 in g_source_destroy_internal (source=0x560b174d0210, context=0x2020202020202020, have_lock=0) at gmain.c:1236
No locals.
#2  0x0000560b159a20b4 in main (argc=<optimized out>, argv=<optimized out>) at main.c:182
        error = 0x0
        opt_context = 0x560b174cff70
        ret = 0
        name_owner_id = 1
        sigint_source = 0x560b174d0210
        __func__ = "main"


and it happens after the following actions:

      guint sigint_id = g_unix_signal_add_full (G_PRIORITY_DEFAULT,
                                          SIGINT,
                                          on_sigint,
                                          NULL,  /* user_data */
                                          NULL); /* GDestroyNotify */
      if (sigint_id)
        sigint_source = g_main_context_find_source_by_id (NULL, sigint_id); 
      ...
      g_main_loop_run (loop);
      ...
      g_main_loop_quit (loop);  /* in the on_sigint() SIGINT handler */
      ...
      if (sigint_source)
        {
          if(! g_source_is_destroyed(sigint_source))
            {
182:          g_source_destroy (sigint_source);
            }
        }

The above looks to me like a correct code. But I'm no GLib expert so I have no idea when the default context is created and/or destroyed. However, the context's address 0x2020202020202020 looks really suspicious.

Comment 16 Fedora End Of Life 2018-05-03 08:08:40 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 17 Fedora End Of Life 2018-05-29 11:34:48 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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