FS#34845 - [dia] segfaults

Attached to Project: Community Packages
Opened by Nightsorrow (Nightsorrow) - Thursday, 18 April 2013, 19:04 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 24 April 2013, 19:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

dia can't be started and throws segmentation fault.

Package:
https://www.archlinux.org/packages/community/x86_64/dia/

Error output:

sys:1: Warning: attempting to add an interface (DiaInteractiveRendererInterface) to class (DiaGdkRenderer) after class_init

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

** (dia:1401): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed
[1] 1401 segmentation fault (core dumped) dia


My system:
Arch Linux fully updated testing repositories included.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 24 April 2013, 19:40 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Sunday, 21 April 2013, 13:47 GMT
Hi,

Thanks for reporting.

I'm unable to reproduce the problem, dia starts just fine here.

Some more information may be helpful:
* kernel version
* graphics module (nvidia or nouveau?)
* have you tried restarting X?
* windowmanager / desktop environment

Thanks.
Comment by Nightsorrow (Nightsorrow) - Sunday, 21 April 2013, 14:14 GMT
Hi,

I've tried to restart X and whole computer too and have still same problem.

I'm using Gnome Shell:
gnome-shell 3.8.1-1

Kernel:
Linux localhost 3.8.8-1-ARCH #1 SMP PREEMPT Wed Apr 17 10:57:28 CEST 2013 x86_64 GNU/Linux

Graphic module - integrated Intel HD Graphics
xf86-video-intel 2.21.6-1

Thanks.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 21 April 2013, 15:52 GMT
Hm. Not sure what this could be. A bit more far fetched, but: You aren't out of disk space or anything? Any -git libraries from AUR involved?

Do you have the occation to try this guide? https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide
Comment by Nightsorrow (Nightsorrow) - Sunday, 21 April 2013, 21:08 GMT
Hi,

which information do you want? Here is output from gdb:
http://pastebin.com/CN3t4R25

and here strace:
http://pastebin.com/8rviKXFr
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 23 April 2013, 11:33 GMT
Hi, thanks for the additional information.

A bit far fetched, but does it work if you:
* Reinstall glibc
* Run a disk check
* Move .Xauthority and/or .local/share in your home directory somewhere else temporarily (or try with a new user)

Thanks
Comment by Nightsorrow (Nightsorrow) - Tuesday, 23 April 2013, 16:32 GMT
Hi,

No success with disc check, .Xauthority, and reinstalling glibc.

I've just installed Archlinux on my new computer and have same error. I've also installed Gnome Shell 3.8 and Intel graphic drivers before I've tried dia. Disk is encrypted with dm_crypt so the dm_mod and dm_crypt modules are loaded. This is probably platform specific problem.

First computer is Thinkpad T410 with Intel graphic card and second is Thinkpad T430s with Intel graphic card both have 64bit Arch Linux installed.

Thanks
Comment by Marco Pompili (marcs) - Wednesday, 24 April 2013, 08:24 GMT
I got the same problem on my 3 years old arch installation, no encrypted disk. Enough disk space. I'm using the 32bit version of arch. The dia interface appear on the screen for a fraction of a second and the crashes with a segmentation fault. Maybe can be glib2 related like with skype ? Just random guess. :)
Comment by Sergej Pupykin (sergej) - Wednesday, 24 April 2013, 13:59 GMT
should be fixed in dia-0.97.2-4
Comment by Magnus Bjerke Vik (Gachapen) - Wednesday, 24 April 2013, 16:02 GMT
Works like it should now. Thank you!

Loading...