Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 485124

Summary: app-office/dia-0.97.2-r1 - segfaults at start
Product: Gentoo Linux Reporter: Mario Kicherer <dev>
Component: Current packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242    
Attachments: dia glib patch

Description Mario Kicherer 2013-09-16 19:24:21 UTC
dia-0.97.2-r1 segfaults with the following message:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
sys:1: Warning: attempting to add an interface (DiaInteractiveRendererInterface) to class (DiaGdkRenderer) after class_init

** (dia:15945): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed

** (dia:15945): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed
Segmentation fault

According to the following patch that fixes this issue this happens with newer glib versions: https://build.opensuse.org/package/view_file/openSUSE:Factory/dia/dia-glib-2.35.patch?rev=24cf757b766c4023926760ff77985e47

Works for me on AMD64.

Reproducible: Always
Comment 1 Mario Kicherer 2013-09-16 19:25:02 UTC
Created attachment 358816 [details, diff]
dia glib patch
Comment 2 Mario Kicherer 2013-09-16 19:28:49 UTC
Ah, I forgot, I'm using unstable glib-2.36.3-r2.
Comment 3 Mario Kicherer 2013-09-16 19:34:52 UTC
The patch is also required with latest glib-2.36.4-r1.
Comment 4 Alexander Tsoy 2013-09-17 19:26:43 UTC
Dublicate of bug 469040
Comment 5 Joachim Bartosik (RETIRED) gentoo-dev 2013-09-20 21:11:46 UTC
Happens to me too

(dia:1002): GLib-WARNING **: A group named "gtk" is already part of this GOptionContext
sys:1: Warning: attempting to add an interface (DiaInteractiveRendererInterface) to class (DiaGdkRenderer) after class_init

** (dia:1002): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed

** (dia:1002): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed
Segmentation fault
Comment 6 Pacho Ramos gentoo-dev 2013-09-22 10:55:32 UTC

*** This bug has been marked as a duplicate of bug 469040 ***