DIA keeps core dumping :(

Hi guys, I've been a DIA user for a long long time, to me is the best diagram software in existence...since 14.2 dia started to core dump with this msg:

(dia:3459): Gdk-CRITICAL **: 06:36:03.973: IA__gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (src)' failed
Bus error (core dumped)
Don't know why... can anyone point me in the right direction? I've have several machines where I work, a couple of Freebsd and a couple of OpenBSD, in Open, dia works normally...

Thanks in advance.

PS: My wm is i3, sometimes cwm...14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC amd64
 
Thanks for your reply, does this mean something to you?:
[New LWP 112082]
[New LWP 118841]
Core was generated by `dia'.
Program terminated with signal SIGBUS, Bus error.
Object-specific hardware error.
#0 0x000000082b4e6594 in ?? ()
[Current thread is 1 (LWP 112082)]
 
The backtrace command in the debugger is "bt", that will tell you how you got there.
Mhhh...not much info either...at least not that I can understand...
(gdb) bt full
#0 0x000000082b4e6594 in ?? ()
No symbol table info available.
#1 0x00000008229e0508 in ?? ()
No symbol table info available.
#2 0x0000000000000000 in ?? ()
No symbol table info available.
 
Mhhh...not much info either...at least not that I can understand...
Sorry, I'm not an expert...
Maybe you need to compile Dia with debug symbols...

I see it on one of my machines:
Code:
$ which dia
/usr/local/bin/dia
$ file /usr/local/bin/dia
/usr/local/bin/dia: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked,
interpreter /libexec/ld-elf.so.1, for FreeBSD 13.4, FreeBSD-style, stripped
I think with debugging symbols, it would look like:
Code:
$ file /usr/local/bin/dia
/usr/local/bin/dia: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked,
interpreter /libexec/ld-elf.so.1, for FreeBSD 13.4, FreeBSD-style, with debug_info, not stripped
and then try lldb or gdb.

If I wrote something stupid, I hope I'll be corrected.
 
Maybe it's the specific version of the graphics/dia... what's the output of pkg info dia on OP's machine?

Sometimes, having an up-to-date version resolves things.
Well in fact in OP is version 0.98.0, compiled 17:47:07 Apr 10 2025, while in FBSD is 0.97.3_9,1...but, BUT...found out draw.io, which is in the FBSD repos, AND works in browser too...beautiful...somewhat a workaround, but I'm very happy so far...

Thanks for all the replys guys :)

Gonna close the thread...
 
Maybe this will help someone...
In my case the problem was solved by installing:
Code:
# pkg install gdk-pixbuf-extra
dia starts and works fine.
Code:
# freebsd-version -kru
13.5-RELEASE
13.5-RELEASE
13.5-RELEASE-p2
 
Maybe this will help someone...
In my case the problem was solved by installing:
Code:
# pkg install gdk-pixbuf-extra
dia starts and works fine.
Code:
# freebsd-version -kru
13.5-RELEASE
13.5-RELEASE
13.5-RELEASE-p2
Mhhh...gonna try...never thought about that...thanks!!!
 
Maybe this will help someone...
In my case the problem was solved by installing:
Code:
# pkg install gdk-pixbuf-extra
dia starts and works fine.
Code:
# freebsd-version -kru
13.5-RELEASE
13.5-RELEASE
13.5-RELEASE-p2
Awesome...that did the trick...



THANKS Black_N !!!
 

Attachments

  • dia.png
    dia.png
    524.5 KB · Views: 133
Back
Top