Using 2.40.102-3.mga4 (behavior also present using 2.40.102-5.mga5) on 64-bit architecture. Using the GUI configuration screen "Directory Selection", trying to select a directory results in a segfault. [hoyt@titan]$ unison -debug all Xlib: extension "RANDR" missing on display ":0.0". (unison:16431): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed (unison:16431): GLib-GObject-WARNING **: gtype.c:4215: type id '0' is invalid (unison:16431): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced Segmentation fault (core dumped) This is similar to behavior reported at http://caml.inria.fr/mantis/view.php?id=6621 I was unable to duplicate this on my 32-bit machine (it works as it should), but the 32-bit package also segfaults on the 64-bit machine.
Source RPM: (none) => 2.40.102-3.mga4
What package is this report for?
Source RPM: 2.40.102-3.mga4 => (none)
Source RPM: (none) => unison 2.40.102-3.mga4
(In reply to David Walser from comment #1) > What package is this report for? My apologies. unison 2.40.102-3.mga4
Assignee: bugsquad => pmdenielou
Confirming on updated cauldron 64 bit unison 2.40.102-5.mga5 (I have not tried unison for years but wanted it now.) In terminal: --------8<--------- bash-4.3$ unison Gtk-Message: Failed to load module "canberra-gtk-module" (unison:12370): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed (unison:12370): GLib-GObject-WARNING **: gtype.c:4221: type id '0' is invalid (unison:12370): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced Segmenteringsfel ---------->8--------- What happens graphically is it asks in a popup for a profile and as i have none before I click new, new popup i enter name and description, next, try to select a folder - bam!
CC: (none) => fri
Both crash for me on same 64 bit cauldron system. Oh, above was for i386, below is for 64 bit, sorry for the confusion. In terminal: --------8<--------- bash-4.3$ unison (unison:15814): Gtk-WARNING **: Kan inte hitta temamotorn i "module_path": "oxygen-gtk", (unison:15814): Gtk-WARNING **: Kan inte hitta temamotorn i "module_path": "oxygen-gtk", (unison:15814): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed (unison:15814): GLib-GObject-WARNING **: gtype.c:4221: type id '0' is invalid (unison:15814): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced Segmenteringsfel Swedish "Kan inte hitta temamotorn" = "can not find theme engine" But i do have oxygen-gtk installed.
Summary: Attempting to select a location via teh GUI causes a segfault => unison: Attempting to select a location via GUI causes a segfault
Solution/workaround here: https://forums.mageia.org/en/viewtopic.php?f=7&t=9900 Changing gtk theme to 'use my KDE style in GTK applications' under applications heading in System Settings
CC: (none) => richard
Ah, thanks Richard I installed gtk-qt-engine but i took a while until i found what you describe. - I use swedish language. It is in KDE settings, second row named here (translated) "Common look and behaviour", icon "Program look" There on left it is section icon "GTK Styles and Fonts" (swedish translation is missing for the item, and the settings in it is half translated) In there the top setting is "GTK styles", and radio button was set to "use another style" but its dropdown was set to an empty alternative. So what is the bug here? Maybe unison should fail more gracefully, but maybe mageia KDE should have better default setting, and maybe include module gtk-qt-engine in task-KDE, or gtk apps packages suggest it?
Version: 4 => 5Hardware: x86_64 => AllSummary: unison: Attempting to select a location via GUI causes a segfault => unison: Attempting to select a location via GUI causes a segfault on default KDE installSource RPM: unison 2.40.102-3.mga4 => unison 2.40.102-5.mga5Whiteboard: (none) => MGA4TOOSeverity: critical => major
Unison seem to work but this is not a clean fix. 1) Starting unison from terminal i see it spits a lot of lines like: (unison:14339): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (unison:14339): Gdk-CRITICAL **: IA__gdk_pixmap_foreign_new_for_display: assertion '(anid != 0)' failed 2) When making a profile i assume there should be dropdown boxes for some selection, and whenit ask if one unit is a FAT type there is nothing i can click to toggle the selection. Oh, BTW do NOT try the button "Install Scrollbar Fix" in the "Firefox and Thunderbird" section of the gtk settings described in previous post - they fail to launch now... (that is of course another bug, i just want to warn here)
Have a look at my post on Mageia forums, I've posted a fix for the Thunderbird/Firefox problem.
Ah yes sorry it was not the "Install Scrollbar Fix", but the "GTK styles" need to get reverted to (for me) i.e Qt4 or oxygen-gtk for firefox to work. For now i uninstalled gtk-qt-engine, lib64gtk-qt-engine, gtk-qt-kcm We can instead of unison use FreeFileSync / synkron / krusader / luckybackup I see the stable unison version at http://www.cis.upenn.edu/~bcpierce/unison/ is 2.48.3, and in changelog i see: "Incorporated a patch from Christopher Zimmermann to replace the Uprintf module (which doesn't work with OCaml 4.02, causing Unison to crash) with equivalent functionality from the standard library. " Maybe that is the culprit? If someone tries it, please report here.
CC: (none) => nelg
Problem fixed as of Mageia6.
Status: NEW => RESOLVEDCC: (none) => hoytduffResolution: (none) => FIXED