Bug 866718
Summary: | [abrt] udisks2-2.0.0-1.fc18: Process /usr/lib/udisks2/udisksd was killed by signal 11 (SIGSEGV) | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||||||||||||||||||||||||
Component: | polkit | Assignee: | Tomáš Bžatek <tbzatek> | ||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||
Version: | 18 | CC: | a554335, afo_49, aleksander, alessandro.bagno, allfer, andreas.mack, antek.orszulak, bkelly, boats.muse, bqueiros, bruce.detter, bweekes, cameroncros, ch199405, christoph.maser, claudioguirunas, cristian.ciupitu, cyber.trekker, dan, desintegr, dmitryburstein, emianos, exosyst, felipe.anjos, fito.nefty, fixintox, frankfont, glmakx, hellis_waitin, heyveld, hx, igal.alkon, intelati26, iv_i170511, JDP803, jeff, jigmantao, jm5280, jones.peter.busi, jorg, jorti, jxt_hbtm, kasunc, ke1th, kim.vdriet, kishmis2003, kristian.hermann.karl, kzmuhia, lamailpoubelle, locustmage, love58900, lswoo89, maci, malarkannan.p, massi.ergosum, mcatanzaro+wrong-account-do-not-cc, mclasen, mihai, mikey, mitr, moh.khedr.ali, mrblack, naipaul_ojar, nobody+324336, omargoulin, panpan_du54, paulmmathenge, pedrogfrancisco, przemo, quetzalzun, ra, Reinhard.Bayer100, renich, req1348, rladdnt, rofl.lol1337, rpucket310, rshutt, salsabil42xoops, sangu.fedora, scottt.tw, sgw, sheepdestroyer, shockingbehavur, spam, spetreolle, svandermeer7, tbzatek, tsmetana, user_ua, vladovv, winston_slaughter, wolfstep, zeuthen | ||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:5024c9528abc7224bc77a02bbfa050c06249c20d | ||||||||||||||||||||||||||||
Fixed In Version: | polkit-0.107-5.fc18 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||
Last Closed: | 2013-06-11 09:14:06 UTC | Type: | --- | ||||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||||
Attachments: |
|
Description
Adam Williamson
2012-10-16 01:17:32 UTC
Created attachment 627829 [details]
File: core_backtrace
Created attachment 627830 [details]
File: environ
Created attachment 627831 [details]
File: limits
Created attachment 627832 [details]
File: backtrace
Created attachment 627833 [details]
File: cgroup
Created attachment 627834 [details]
File: smolt_data
Created attachment 627835 [details]
File: maps
Created attachment 627836 [details]
File: dso_list
Created attachment 627837 [details]
File: proc_pid_status
Created attachment 627838 [details]
File: var_log_messages
Created attachment 627839 [details]
File: open_fds
So polkit_authority_check_authorization_sync() returns NULL but the GError passed is not set. Looks like a polkit bug to me. What version of polkit are you using? Please run (as root) this command to reproduce # gdb --args /usr/lib/udisks2/udisksd --replace and then verify that the @result local is NULL and @error is also NULL. Thanks. I can't reproduce it in my current running session :/ Disks comes up fine now, no matter how many times I re-spawn udisksd. I'll check it after a clean boot and withdraw the negative feedback if I can't reproduce it there... Hey Adam, were you able to reproduce this problem? Thanks, David After a clean reboot, it happens once. Subsequent launches of gnome-disks are fine (I guess udisksd is transparently re-launched). Seems to be consistent. (In reply to comment #15) > After a clean reboot, it happens once. Subsequent launches of gnome-disks > are fine (I guess udisksd is transparently re-launched). Seems to be > consistent. Uhm, if it's consistent, please provide the information requested in comment 12 then. Also, please check if it happens in selinux permissive mode as well. Thanks. Well, I can't! If I run udisks --replace then the bug doesn't happen. It only happens with the instance of udisks that's run during boot. As soon as udisks gets restarted - manually, or by triggering this bug once - it starts working fine. I can check for selinux, though. (In reply to comment #17) > Well, I can't! If I run udisks --replace then the bug doesn't happen. It > only happens with the instance of udisks that's run during boot. As soon as > udisks gets restarted - manually, or by triggering this bug once - it starts > working fine. I can check for selinux, though. Please do. Also, please do it a bit quicker or close the bug - it's not useful if the process of working on the bug is so slow. Also please remove your -1 on https://admin.fedoraproject.org/updates/FEDORA-2012-15303/udisks2-2.0.0-1.fc18 since you have not demonstrated that this is a problem with the updated package (it looks like a problem with your system or selinux instead). Thanks! sorry, I'm somewhat busy with 18 validation atm. I just ran gnome-disks for the first time on this boot and the problem didn't happen, so it's possible it got resolved somehow. i'll try and find some time to check it once more then update things. i opened udisk backtrace_rating: 4 Package: udisks2-2.0.1-1.fc18 OS Release: Fedora release 18 (Spherical Cow) I just opened Disks udisks2-2.0.1-1.fc18 Fedora release 18 (Spherical Cow) (upgraded from F17 with fedup) This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. *** Bug 885404 has been marked as a duplicate of this bug. *** *** Bug 890362 has been marked as a duplicate of this bug. *** *** Bug 890462 has been marked as a duplicate of this bug. *** *** Bug 891163 has been marked as a duplicate of this bug. *** *** Bug 891416 has been marked as a duplicate of this bug. *** *** Bug 894625 has been marked as a duplicate of this bug. *** *** Bug 895506 has been marked as a duplicate of this bug. *** *** Bug 895776 has been marked as a duplicate of this bug. *** *** Bug 896110 has been marked as a duplicate of this bug. *** *** Bug 896145 has been marked as a duplicate of this bug. *** *** Bug 896210 has been marked as a duplicate of this bug. *** *** Bug 896663 has been marked as a duplicate of this bug. *** *** Bug 896746 has been marked as a duplicate of this bug. *** *** Bug 901634 has been marked as a duplicate of this bug. *** *** Bug 901719 has been marked as a duplicate of this bug. *** *** Bug 901801 has been marked as a duplicate of this bug. *** *** Bug 901859 has been marked as a duplicate of this bug. *** *** Bug 901958 has been marked as a duplicate of this bug. *** *** Bug 901982 has been marked as a duplicate of this bug. *** *** Bug 902029 has been marked as a duplicate of this bug. *** *** Bug 902074 has been marked as a duplicate of this bug. *** *** Bug 902155 has been marked as a duplicate of this bug. *** *** Bug 902364 has been marked as a duplicate of this bug. *** *** Bug 902822 has been marked as a duplicate of this bug. *** *** Bug 903851 has been marked as a duplicate of this bug. *** *** Bug 903912 has been marked as a duplicate of this bug. *** *** Bug 903955 has been marked as a duplicate of this bug. *** *** Bug 904176 has been marked as a duplicate of this bug. *** *** Bug 904323 has been marked as a duplicate of this bug. *** *** Bug 904813 has been marked as a duplicate of this bug. *** *** Bug 904861 has been marked as a duplicate of this bug. *** *** Bug 904861 has been marked as a duplicate of this bug. *** *** Bug 904872 has been marked as a duplicate of this bug. *** *** Bug 905251 has been marked as a duplicate of this bug. *** *** Bug 906372 has been marked as a duplicate of this bug. *** *** Bug 906435 has been marked as a duplicate of this bug. *** *** Bug 906954 has been marked as a duplicate of this bug. *** *** Bug 907098 has been marked as a duplicate of this bug. *** *** Bug 907602 has been marked as a duplicate of this bug. *** *** Bug 908378 has been marked as a duplicate of this bug. *** *** Bug 909487 has been marked as a duplicate of this bug. *** *** Bug 909506 has been marked as a duplicate of this bug. *** *** Bug 909632 has been marked as a duplicate of this bug. *** *** Bug 910012 has been marked as a duplicate of this bug. *** *** Bug 911085 has been marked as a duplicate of this bug. *** *** Bug 911391 has been marked as a duplicate of this bug. *** *** Bug 911440 has been marked as a duplicate of this bug. *** *** Bug 911456 has been marked as a duplicate of this bug. *** *** Bug 911768 has been marked as a duplicate of this bug. *** *** Bug 911804 has been marked as a duplicate of this bug. *** *** Bug 911813 has been marked as a duplicate of this bug. *** *** Bug 912500 has been marked as a duplicate of this bug. *** *** Bug 912502 has been marked as a duplicate of this bug. *** *** Bug 912608 has been marked as a duplicate of this bug. *** *** Bug 912862 has been marked as a duplicate of this bug. *** *** Bug 912872 has been marked as a duplicate of this bug. *** *** Bug 912885 has been marked as a duplicate of this bug. *** *** Bug 913255 has been marked as a duplicate of this bug. *** *** Bug 913394 has been marked as a duplicate of this bug. *** *** Bug 914962 has been marked as a duplicate of this bug. *** *** Bug 914993 has been marked as a duplicate of this bug. *** *** Bug 915100 has been marked as a duplicate of this bug. *** *** Bug 915134 has been marked as a duplicate of this bug. *** *** Bug 915544 has been marked as a duplicate of this bug. *** *** Bug 916049 has been marked as a duplicate of this bug. *** *** Bug 917987 has been marked as a duplicate of this bug. *** *** Bug 918077 has been marked as a duplicate of this bug. *** *** Bug 918345 has been marked as a duplicate of this bug. *** *** Bug 918370 has been marked as a duplicate of this bug. *** *** Bug 920846 has been marked as a duplicate of this bug. *** *** Bug 921278 has been marked as a duplicate of this bug. *** *** Bug 921654 has been marked as a duplicate of this bug. *** *** Bug 921802 has been marked as a duplicate of this bug. *** *** Bug 921823 has been marked as a duplicate of this bug. *** *** Bug 922480 has been marked as a duplicate of this bug. *** *** Bug 922492 has been marked as a duplicate of this bug. *** *** Bug 922592 has been marked as a duplicate of this bug. *** *** Bug 923848 has been marked as a duplicate of this bug. *** *** Bug 924017 has been marked as a duplicate of this bug. *** *** Bug 924145 has been marked as a duplicate of this bug. *** *** Bug 924544 has been marked as a duplicate of this bug. *** *** Bug 914873 has been marked as a duplicate of this bug. *** ^ Perhaps ABRT should be trained to catch those dupes? Error eventuated immediately after booting... backtrace_rating: 4 Package: udisks2-2.0.1-1.fc18 OS Release: Fedora release 18 (Spherical Cow) active usb disk Archos 43 it backtrace_rating: 4 Package: udisks2-2.0.1-1.fc18 OS Release: Fedora release 18 (Spherical Cow) (In reply to comment #106) > ^ Perhaps ABRT should be trained to catch those dupes? Yes, already reported, ABRT team is investigating. We still need a good reproducer, most of the reports look like random crashes. We need a case that could be debugged. We also need messages printed by udisksd on console. If somebody is still seeing this problem, please let us know. (In reply to comment #105) > *** Bug 914873 has been marked as a duplicate of this bug. *** While mostly gnome-shell start, this issue happens. gnome-shell-3.8.0.1-2.fc19.x86_64 udisks2-2.1.0-2.fc19.x86_64 (In reply to comment #110) > We still need a good reproducer, most of the reports look like random > crashes. We need a case that could be debugged. We also need messages > printed by udisksd on console. > > If somebody is still seeing this problem, please let us know. Interestingly, it disappeared once I tried to trace it. Now it's gone for me even w/o tracing it. Sorry... (In reply to comment #111) > (In reply to comment #105) > > *** Bug 914873 has been marked as a duplicate of this bug. *** > > While mostly gnome-shell start, this issue happens. > > gnome-shell-3.8.0.1-2.fc19.x86_64 > udisks2-2.1.0-2.fc19.x86_64 (In reply to comment #110) > We still need a good reproducer, most of the reports look like random > crashes. We need a case that could be debugged. We also need messages > printed by udisksd on console. > > If somebody is still seeing this problem, please let us know. usb 3.0 hard docking station power on -> udisksd segfault error # /usr/lib/udisks2/udisksd -r 15:54:33.883:[1804]:[NOTICE]: udisks daemon version 2.1.0 starting [main.c:146, main()] 15:54:33.885:[1804]:[DEBUG]: Entering main event loop [main.c:171, main()] 15:54:33.901:[1804]:[INFO]: Initialization (device probing) [udiskslinuxprovider.c:445, udisks_linux_provider_start()] 15:54:33.903:[1804]:[INFO]: Initialization (coldplug 1/2) [udiskslinuxprovider.c:457, udisks_linux_provider_start()] 15:54:33.903:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.904:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.904:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop2 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.905:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop3 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.905:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop4 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.905:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop5 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.905:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop6 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.905:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop7 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.906:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.906:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.907:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.907:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.908:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.908:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.908:[1804]:[INFO]: Initialization (coldplug 2/2) [udiskslinuxprovider.c:457, udisks_linux_provider_start()] 15:54:33.908:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.908:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.908:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop2 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop3 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop4 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop5 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop6 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/virtual/block/loop7 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.909:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:33.910:[1804]:[INFO]: Initialization complete [udiskslinuxprovider.c:466, udisks_linux_provider_start()] 15:54:33.910:[1806]:[INFO]: Housekeeping initiated (0 seconds since last housekeeping) [udiskslinuxprovider.c:969, housekeeping_thread_func()] 15:54:33.911:[1806]:[INFO]: Refreshing SMART data on /org/freedesktop/UDisks2/drives/ST2000DM001_1CH164_Z1E1Q3VM (nowakeup=0) [udiskslinuxdriveobject.c:925, udisks_linux_drive_object_housekeeping()] 15:54:33.911:[1804]:[DEBUG]: Connected to the system bus [main.c:53, on_bus_acquired()] 15:54:33.911:[1809]:[INFO]: Entering cleanup thread [udisksstate.c:306, udisks_state_thread_func()] 15:54:33.911:[1809]:[INFO]: Cleanup check start [udisksstate.c:419, udisks_state_check_in_thread()] 15:54:33.911:[1809]:[INFO]: Cleanup check end [udisksstate.c:457, udisks_state_check_in_thread()] 15:54:33.911:[1804]:[NOTICE]: Acquired the name org.freedesktop.UDisks2 on the system message bus [main.c:77, on_name_acquired()] 15:54:34.019:[1806]:[INFO]: Housekeeping complete [udiskslinuxprovider.c:973, housekeeping_thread_func()] 15:54:51.252:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.254:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.254:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.254:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.820:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:0/block/sdb [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.846:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:1/block/sdc [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.932:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] 15:54:52.938:[1804]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/host8/target8:0:0/8:0:0:1/block/sdc/sdc1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()] (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type `PolkitSubject' (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type `PolkitSubject' (udisksd:1804): GLib-GObject-WARNING **: invalid cast from `PolkitSystemBusName' to `<invalid>' (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed ** (udisksd:1804): CRITICAL **: polkit_authority_check_authorization_sync: assertion `POLKIT_IS_SUBJECT (subject)' failed (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type `PolkitSubject' (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed ** (udisksd:1804): CRITICAL **: polkit_authority_check_authorization_sync: assertion `POLKIT_IS_SUBJECT (subject)' failed segmentation fault (core dumped) *** Bug 962781 has been marked as a duplicate of this bug. *** *** Bug 962219 has been marked as a duplicate of this bug. *** *** Bug 962141 has been marked as a duplicate of this bug. *** *** Bug 962105 has been marked as a duplicate of this bug. *** *** Bug 960881 has been marked as a duplicate of this bug. *** *** Bug 958746 has been marked as a duplicate of this bug. *** *** Bug 957738 has been marked as a duplicate of this bug. *** *** Bug 957232 has been marked as a duplicate of this bug. *** *** Bug 956644 has been marked as a duplicate of this bug. *** *** Bug 955899 has been marked as a duplicate of this bug. *** *** Bug 953309 has been marked as a duplicate of this bug. *** *** Bug 952255 has been marked as a duplicate of this bug. *** *** Bug 951954 has been marked as a duplicate of this bug. *** *** Bug 951182 has been marked as a duplicate of this bug. *** *** Bug 951105 has been marked as a duplicate of this bug. *** *** Bug 951098 has been marked as a duplicate of this bug. *** *** Bug 950353 has been marked as a duplicate of this bug. *** *** Bug 949173 has been marked as a duplicate of this bug. *** *** Bug 948009 has been marked as a duplicate of this bug. *** *** Bug 947465 has been marked as a duplicate of this bug. *** *** Bug 929429 has been marked as a duplicate of this bug. *** *** Bug 929378 has been marked as a duplicate of this bug. *** *** Bug 929363 has been marked as a duplicate of this bug. *** *** Bug 929273 has been marked as a duplicate of this bug. *** *** Bug 926879 has been marked as a duplicate of this bug. *** *** Bug 926876 has been marked as a duplicate of this bug. *** (In reply to comment #113) > > (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > > (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > > (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > > (udisksd:1804): GLib-GObject-WARNING **: invalid cast from > `PolkitSystemBusName' to `<invalid>' > > (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > > ** (udisksd:1804): CRITICAL **: polkit_authority_check_authorization_sync: > assertion `POLKIT_IS_SUBJECT (subject)' failed > > (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > > (udisksd:1804): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > > ** (udisksd:1804): CRITICAL **: polkit_authority_check_authorization_sync: > assertion `POLKIT_IS_SUBJECT (subject)' failed > > segmentation fault (core dumped) Thank you, this is very helpful. Does it happen in fully started desktop session? Is it reproducible? The POLKIT_IS_SUBJECT() macro fails, we probably pass wrong PolkitSubject* in. That is created by the following call: > subject = polkit_system_bus_name_new (g_dbus_method_invocation_get_sender (invocation)); Keeping in mind that we have a reference to invocation so that g_dbus_method_invocation_get_sender() succeeds and there are no errors from g_dbus_is_unique_name() call, it all seems to be a problem of "PolkitSubject" type registration (plugin load?) and subsequent g_object_new() failure. While we can fix the crash by checking the error variable, the result of the udisks_daemon_util_check_authorization_sync() function call would be FALSE and some operations would be denied without any obvious reason, making users and developers even more confused while debugging. Also random denial doesn't bring any good experience either. If this is a race (I see sdb1 and sdc1 devices appearing at the same time), who is responsible for PolkitSubject registration? In this case PolkitSystemBusName only implements PolkitSubjectIface, does the GObject machinery somehow registers the PolkitSubject GType type? (PolkitSystemBusName is of type G_TYPE_OBJECT, not a POLKIT_TYPE_SUBJECT). Reassigning to polkit for investigation. For the record, as the author if libpolkit-gobject, it's supposed to be thread-safe (and I strongly believe it actually is). Instead, I think the problem is with the GLib type system. This > (udisksd:1804): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' and the fact that all we do is this http://cgit.freedesktop.org/polkit/tree/src/polkit/polkitsystembusname.c#n195 makes me say that. There's also a history of threading issues with type registration in GLib (specifically gtype.c). I would start looking there... Update to new kernel? backtrace_rating: 4 cmdline: /usr/lib/udisks2/udisksd --no-debug core_backtrace: executable: /usr/lib/udisks2/udisksd kernel: 3.8.11-200.fc18.x86_64 package: udisks2-2.0.1-2.fc18 reason: Process /usr/lib/udisks2/udisksd was killed by signal 11 (SIGSEGV) reported_to: uReport: BTHASH=1592215b7410fac73d68551d97bc2dfa677ce8af runlevel: N 5 uid: 0 ureports_counter: 1 *** Bug 966079 has been marked as a duplicate of this bug. *** *** Bug 967195 has been marked as a duplicate of this bug. *** *** Bug 967974 has been marked as a duplicate of this bug. *** Debugged with Hans de Goede having the same symptomps in bug 966079, filed upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=65130 with proposed patch. Created attachment 754400 [details]
proof of concept patch
For the record, this is the original proof-of-concept patch from Hans that has proved to fix the issue.
polkit-0.107-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/polkit-0.107-5.fc18 polkit-0.111-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/polkit-0.111-2.fc19 *** Bug 962153 has been marked as a duplicate of this bug. *** *** Bug 965868 has been marked as a duplicate of this bug. *** *** Bug 965271 has been marked as a duplicate of this bug. *** Package polkit-0.107-5.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing polkit-0.107-5.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9590/polkit-0.107-5.fc18 then log in and leave karma (feedback). polkit-0.111-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 969818 has been marked as a duplicate of this bug. *** *** Bug 969994 has been marked as a duplicate of this bug. *** polkit-0.107-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 972865 has been marked as a duplicate of this bug. *** *** Bug 971678 has been marked as a duplicate of this bug. *** *** Bug 973192 has been marked as a duplicate of this bug. *** *** Bug 915077 has been marked as a duplicate of this bug. *** |