Description of problem: glom-1.22.1 seg faults upon start up with gi.repository.Gda error Version-Release number of selected component (if applicable): glom-1.22.1-5 How reproducible: 100% on startup from commandline or GUI menu Steps to Reproduce: 1. Start glom by any means. This bug can be resolved by taking the following steps: 1) Installing lib64gda-gir5.0, lib64gdata-gir0.0, and lib64gdaui-gir5.0 will fix the gi.repository.Gda error. They are not listed as dependencies before installing the glom RPM, perhaps they should be. 2) The first error goes away, but then there is a libxml error which also causes a seg fault. This is the same bug as reported in Fedora 19: https://bugzilla.redhat.com/show_bug.cgi?id=1013033 3) Download glom version 1.22.5 from the glom download site, put it into ~rpmbuild/SOURCES, edit the glom.spec file to change the minor version number, and run rpmbuild. The updated package then builds without errors and after installing the new glom rpm, glom started up and functioned normally. Reproducible: Steps to Reproduce:
Keywords: (none) => Junior_jobSummary: glom 1.22.1 in Mageia 3 seg faults on startup => glom 1.22.1 segfaults on startup
Keywords: (none) => TriagedAssignee: bugsquad => fundawang
glom 1.22.5 was pushed into core/updates_testing, please test. I didn't find any direct references to libgdata and libgdaui in glom, though.
Before I installed lib64gda-gir5.0, lib64gdata-gir0.0, and lib64gdaui-gir5.0 I got a boost gi.repository.Gda error like the one mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=869072 However, the Fedora maintainer states the error is due to lack of introspection support in their glom build for Fedora 19. I checked the glom.spec for Mageia 3 and it does enable introspection. I rebuilt the glom RPM from the SRPM just to make certain and the gi.repository.Gda still occurred, but installing the above Gda libs took care of it. Just tried installing glom-1.22.5 from updates_testing and it seems to work as expected. If I try installing without lib64gda-gir5.0, lib64gdata-gir0.0, and lib64gdaui-gir5, I get a dependency error about missing typelib(Gda): % sudo rpm -ivh Mageia/3/x86_64/media/core/updates_testing/glom-1.22.5-1.mga3.x86_64.rpm error: Failed dependencies: typelib(Gda) is needed by glom-1.22.5-1.mga3.x86_64
(In reply to Funda Wang from comment #1) > I didn't find any direct references to libgdata and libgdaui in glom, though. Did you try to run glom? When lib64gdaui-gir5.0 and lib64gdata-gir0.0 are not installed, glom will still segfault on startup. Here's what it looks like after installation, i've omitted the numerous Gtk-CRITICAL and Gdk-CRITICAL in between as they seem irrelevant: [doktor5000@Mageia3 ~]$ glom (process:24395): EvinceDocument-WARNING **: Fehler beim Ãffnen des Ordners »/usr/lib64/evince/4/backends«: Datei oder Verzeichnis nicht gefunden ERROR:root:Could not find any typelib for Gda boost::python::import() failed while importing module: gi.repository.Gda traceback = 0 Glom: Python Error: ImportError: No module named Gda Glom: A python import of a module failed: gi.repository.Gda [snip] Segmentation fault [doktor5000@Mageia3 ~]$ up lib64gdata-gir0.0 Um die Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert: Paket Version Release Arch (Medium »Core Release«) lib64gdata-gir0.0 0.13.2 2.mga3 x86_64 lib64goa-gir1.0 3.6.3 1.mga3 x86_64 180KB zusätzlicher Speicher werden benötigt 46KB an Paketen werden geholt Fortfahren mit der Installation der 2 Pakete? (J/n) ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/3/x86_64/media/core/release/lib64goa-gir1.0-3.6.3-1.mga3.x86_64.rpm ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/3/x86_64/media/core/release/lib64gdata-gir0.0-0.13.2-2.mga3.x86_64.rpm lib64goa-gir1.0-3.6.3-1.mga3.x86_64.rpm lib64gdata-gir0.0-0.13.2-2.mga3.x86_64.rpm von /var/cache/urpmi/rpms wird installiert Vorbereiten ⦠##################################################################################################################################### 1/2: lib64goa-gir1.0 ##################################################################################################################################### 2/2: lib64gdata-gir0.0 ##################################################################################################################################### [doktor5000@Mageia3 ~]$ glom (process:24543): EvinceDocument-WARNING **: Fehler beim Ãffnen des Ordners »/usr/lib64/evince/4/backends«: Datei oder Verzeichnis nicht gefunden ERROR:root:Could not find any typelib for Gda boost::python::import() failed while importing module: gi.repository.Gda traceback = 0 Glom: Python Error: ImportError: No module named Gda Glom: A python import of a module failed: gi.repository.Gda [snip] Segmentation fault [doktor5000@Mageia3 ~]$ up lib64gdaui-gir5.0 Um die Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert: Paket Version Release Arch (Medium »Core Release«) lib64gda-gir5.0 5.1.1 2.mga3 x86_64 lib64gdaui-gir5.0 5.1.1 2.mga3 x86_64 185KB zusätzlicher Speicher werden benötigt 50KB an Paketen werden geholt Fortfahren mit der Installation der 2 Pakete? (J/n) ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/3/x86_64/media/core/release/lib64gda-gir5.0-5.1.1-2.mga3.x86_64.rpm ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/3/x86_64/media/core/release/lib64gdaui-gir5.0-5.1.1-2.mga3.x86_64.rpm lib64gda-gir5.0-5.1.1-2.mga3.x86_64.rpm lib64gdaui-gir5.0-5.1.1-2.mga3.x86_64.rpm von /var/cache/urpmi/rpms wird installiert Vorbereiten ⦠##################################################################################################################################### 1/2: lib64gda-gir5.0 ##################################################################################################################################### 2/2: lib64gdaui-gir5.0 ##################################################################################################################################### [doktor5000@Mageia3 ~]$ glom (process:24586): EvinceDocument-WARNING **: Fehler beim Ãffnen des Ordners »/usr/lib64/evince/4/backends«: Datei oder Verzeichnis nicht gefunden bool GlomBakery::Document::write_to_disk(): m_file_uri is empty. (glom:24586): glibmm-ERROR **: unhandled exception (type std::exception) in signal handler: what: Error code from xmlParseChunk(): 111 Trace/Breakpoint ausgelöst So at least it would start now. From the EvinceDocument-WARNING it seems it's also missing a runtime dependency on evince. Requires should be added on typelib(GData) and typelib(Gdaui) and maybe Suggests on evince. I've no clue about glom, but it will fix the warning.
Status: NEW => ASSIGNEDCC: (none) => doktor5000
@Funda: I've commited the fix for cauldron, shall I ask for a freeze push as otherwise glom will not even start?
@Funda: Fixed a typo and comitted to 3/updates_testing, glom-1.22.5-1.1.mga3 should hit the mirrors soon. @Donny: Please test again with glom-1.22.5-1.1.mga3, should hit the mirrors soon.
I uninstalled glom-1.22.5-1.mga3 lib64gda-gir5.0-5.1.1-2.mga3.x86_64 lib64gdaui-gir5.0-5.1.1-2.mga3.x86_64 and then tried installing glom-1.22.5-1.1.mga3: %sudo urpmi glom-1.22.5-1.1.mga3.x86_64.rpm To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") lib64gda-gir5.0 5.1.1 2.mga3 x86_64 lib64gdaui-gir5.0 5.1.1 2.mga3 x86_64 (command line) glom 1.22.5 1.1.mga3 x86_64 13MB of additional disk space will be used. 5MB of packages will be retrieved. So it appears to report dependencies properly now. glom starts up and runs properly as in the glom-1.22.5-1.mga3 version.
@QA: I have uploaded a patched/updated package for Mageia 3. You can test this by installing glom-1.22.5-1.1.mga3 on a system which doesn't have glom or the newly added dependencies installed already. Suggested advisory: ======================== Updated glom-1.22.5-1.1.mga3 fixes glom segfaulting at startup, and the Suggests added for evince-backend fixed a warning on glom startup. ======================== For further informations just shoot :)
Keywords: Junior_job, Triaged => (none)Assignee: fundawang => qa-bugs
CC: (none) => wassiWhiteboard: (none) => MGA3-64-OK has_procedure
On MGA3 32-bit real hardware, installed glom from scratch (pulled in 29 pkgs): # urpmi glom ... libgda5.0_4 5.1.1 2.mga3 i586 libgdaui-gir5.0 5.1.1 2.mga3 i586 ... (cyfrwng "Core Updates Testing") glom 1.22.5 1.1.mga3 i586 libglom1.22_0 1.22.5 1.1.mga3 i586 Bydd 57MB o le ychwanegol ar ddisg yn cael ei ddefnyddio. bydd 16MB o becynnau yn cael eu hadfer. Parhau gyda gosod 29 pecyn? (Y/n) y Once the 29 pkgs installed, $ glom bool GlomBakery::Document::write_to_disk(): m_file_uri is empty. but the graphical Welcome to Glom over main Untitled - Glom windows appeared. No problem starting Glom from the Development/Databases menu. So if this suffices as a test, I shall OK it 32-bit.
CC: (none) => lewyssmithWhiteboard: MGA3-64-OK has_procedure => MGA3-64-OK has_procedure MGA3-32-OK
Advisory uploaded. Validating. Could sysadmin please push from 3 core/updates_testing to updates Thanks
Keywords: (none) => validated_updateWhiteboard: MGA3-64-OK has_procedure MGA3-32-OK => advisory MGA3-64-OK has_procedure MGA3-32-OKCC: (none) => sysadmin-bugs
Update pushed: http://advisories.mageia.org/MGAA-2014-0007.html
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED