FS#28318 - xfig3.2.5b: SIGSEGV signal trapped

Attached to Project: Arch Linux
Opened by Luis Sarmiento (donpicoro) - Wednesday, 08 February 2012, 01:06 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 17 February 2012, 19:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After the update of libpng, xfig randomly crashes continuously :(

The message collected in console is nothing but the following line:
xfig3.2.5b: SIGSEGV signal trapped

it saves the SAVE.fig and exits :(

Additional info:
* package version: xfig-3.2.5b-7 both binary and rebuild from ABS (I figure maybe it was outdated somehow)



Steps to reproduce:
use xfig !
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 17 February 2012, 19:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 1.6.1
Comment by Eric Belanger (Snowman) - Friday, 10 February 2012, 06:40 GMT
Looks like an X issue. Maybe related to the xaw3d update.

(gdb) run
Starting program: /usr/bin/xfig

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6539675 in XrmStringToQuark () from /usr/lib/libX11.so.6
(gdb) bt
#0 0x00007ffff6539675 in XrmStringToQuark () from /usr/lib/libX11.so.6
#1 0x00007ffff6c83d18 in ?? () from /usr/lib/libXt.so.6
#2 0x00007ffff6c84098 in XtGetValues () from /usr/lib/libXt.so.6
#3 0x00007ffff710f013 in ?? () from /usr/lib/libXaw3d.so.8
#4 0x00007ffff6c8b156 in ?? () from /usr/lib/libXt.so.6
#5 0x00007ffff6c8be3e in XtAppNextEvent () from /usr/lib/libXt.so.6
#6 0x000000000045e529 in main (argc=1, argv=0x7fffffffddd8) at main.c:1545
(gdb)
Comment by Luis Sarmiento (donpicoro) - Friday, 10 February 2012, 15:39 GMT
hey man, thanks for your time and efforts.
If it is related to xaw3d update... does it mean I should fill another bug report there?
Comment by Devin J. Pohly (djpohly) - Friday, 10 February 2012, 18:25 GMT
I can reproduce this by starting xfig and trying to pop up a tooltip (e.g. hovering a button in the toolbox).

I've narrowed it down to this when compiling Xaw3d:
* Bad: -O2
* Good: -O1
* Bad: -O1 -fstack-protector

Interesting.
Comment by Luis Sarmiento (donpicoro) - Tuesday, 14 February 2012, 20:12 GMT
Ok, not sure what solved it. BUT after the today's upgrade it behaves rock solid.

Not sure what it was... among the upgraded packages I found some suspects:
libjpeg-turbo? xorg-mkfontscale? xorg-mkfontdir? xorg-xinit?
but definitively no Xaw3d on sight.

as you said: Interesting.

Edit: typo
Comment by Devin J. Pohly (djpohly) - Tuesday, 14 February 2012, 21:38 GMT
Just updated here and I can still consistently reproduce the crash. Downgrading libjpeg still does not fix it; rebuilding xaw3d with different options still does, as mentioned above.
Comment by einar (esjurso) - Wednesday, 15 February 2012, 17:43 GMT Comment by Devin J. Pohly (djpohly) - Wednesday, 15 February 2012, 18:48 GMT
Thanks einar, I think I have a fix. Filing upstream...

Edit: https://bugs.freedesktop.org/show_bug.cgi?id=46124
Comment by einar (esjurso) - Wednesday, 15 February 2012, 20:50 GMT
Accepted upstream.

Loading...