Launchpad has imported 4 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=65130.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2013-05-29T13:58:38+00:00 Tbzatek wrote: Created attachment 79966 [PATCH] Use GOnce for interface type registration In certain cases, randomly, udisksd was failing with the following messages: > (udisksd:10020): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > (udisksd:10020): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > (udisksd:10020): GLib-GObject-WARNING **: invalid cast from > `PolkitSystemBusName' to `<invalid>' > (udisksd:10020): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > (udisksd:10020): GLib-GObject-WARNING **: cannot register existing type > `PolkitSubject' > (udisksd:10020): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > (udisksd:10020): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: > assertion `G_TYPE_IS_INTERFACE (interface_type)' failed > ** (udisksd:10020): CRITICAL **: polkit_authority_check_authorization_sync: > assertion `POLKIT_IS_SUBJECT (subject)' failed > ** (udisksd:10020): CRITICAL **: polkit_authority_check_authorization_sync: > assertion `POLKIT_IS_SUBJECT (subject)' failed Further debugging showed missing locking in polkit_subject_get_type() and potential race explaining the first GObject warning. The attached patch makes the type registration use modern conventions with GOnce. Reply at: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1236510/comments/0 ------------------------------------------------------------------------ On 2013-05-29T14:14:34+00:00 Colin Walters wrote: Looks good. I amended the patch to include a link back to this bug. http://cgit.freedesktop.org/polkit/commit/?id=20ad116a6582e57d20f9d8197758947918753a4c Reply at: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1236510/comments/1 ------------------------------------------------------------------------ On 2013-05-29T14:34:40+00:00 Hans de Goede wrote: I can confirm that this patch fixes my reproducable udisksd crashes. Reply at: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1236510/comments/2 ------------------------------------------------------------------------ On 2013-05-29T19:23:34+00:00 Zeuthen wrote: Nice catch guys, thanks for fixing this! Reply at: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1236510/comments/3 ** Changed in: policykit Status: Unknown => Fix Released ** Changed in: policykit Importance: Unknown => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/1236510 Title: udisksd crashed with SIGSEGV in udisks_daemon_util_check_authorization_sync() Status in PolicyKit: Fix Released Status in “policykit-1” package in Ubuntu: Fix Released Status in “policykit-1” package in Fedora: Unknown Bug description: I didn't see anything strange. ProblemType: Crash DistroRelease: Ubuntu 13.10 Package: udisks2 2.1.0-4 ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3 Uname: Linux 3.11.0-11-generic x86_64 ApportVersion: 2.12.5-0ubuntu1 Architecture: amd64 Date: Sun Oct 6 15:01:23 2013 ExecutablePath: /usr/lib/udisks2/udisksd InstallationDate: Installed on 2013-10-02 (5 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1) MachineType: Dell Inc. XPS 2720 MarkForUpload: True ProcCmdline: /usr/lib/udisks2/udisksd --no-debug ProcEnviron: ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-11-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash SegvAnalysis: Segfault happened at: 0x4348a5: mov (%rax),%ebp PC (0x004348a5) ok source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)! destination "%ebp" ok Stack memory exhausted (SP below stack segment) SegvReason: reading NULL VMA Signal: 11 SourcePackage: udisks2 StacktraceTop: ?? () ?? () ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 g_cclosure_marshal_generic () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 Title: udisksd crashed with SIGSEGV in ffi_call_unix64() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: dmi.bios.date: 03/28/2013 dmi.bios.vendor: Dell Inc. dmi.bios.version: A00 dmi.board.name: 05R2TK dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 13 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: 00 dmi.modalias: dmi:bvnDellInc.:bvrA00:bd03/28/2013:svnDellInc.:pnXPS2720:pvr00:rvnDellInc.:rn05R2TK:rvrA00:cvnDellInc.:ct13:cvr00: dmi.product.name: XPS 2720 dmi.product.version: 00 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/policykit/+bug/1236510/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

