FS#28516 - [gv] 3.7.3 incompatible with xaw3d 1.6.1

Attached to Project: Arch Linux
Opened by max compress (maxcompress) - Sunday, 19 February 2012, 05:32 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 31 March 2012, 01:32 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 8
Private No

Details

Description:

when xaw3d upgraded to version 1.6.1-1 gv stop working.

# gv
Warning: Representation size 4 must match superclass's to override highlightedFrameStyle
Segmentation fault

Additional info:
* package version(s)
gv-3.7.3-1 , xaw3d-1.6.1-1
* config and/or log files etc.

Steps to reproduce:
always
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 31 March 2012, 01:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  gv-3.7.3.90-1
Comment by Christian Neukirchen (chneukirchen) - Wednesday, 22 February 2012, 12:52 GMT
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c639c6 in __memmove_ssse3_back () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff6c639c6 in __memmove_ssse3_back () from /lib/libc.so.6
#1 0x00007ffff753a514 in XtSetValues () from /usr/lib/libXt.so.6
#2 0x000000000041a34d in main (argc=1, argv=0x7fffffffe728) at main.c:1092
(gdb) up 2
#2 0x000000000041a34d in main (argc=1, argv=0x7fffffffe728) at main.c:1092
1092 SET_BITMAP(w_toggleOddPages,show_toggleOddPages,app_res.mark_odd_bitmap)
(gdb) p args
$1 = {{name = 0x65df50 "bitmap", value = 44040195}, {
name = 0x430cf4 "resizeHeight", value = 1}, {
name = 0x430d01 "maximumWidth", value = 1900}, {
name = 0x430d1b "maximumHeight", value = 1036}, {
name = 0x430d37 "minimumWidth", value = 400}, {
name = 0x430d51 "minimumHeight", value = 430}, {name = 0x0,
value = 140737354130632}, {
name = 0x1002f3028 <Address 0x1002f3028 out of bounds>, value = 0}, {
name = 0x7ffff6ed6380 "\250\060/", value = 140737351895068}, {
name = 0x7ffff6ed1000 "\177ELF\002\001\001", value = 140737351948436}, {
name = 0x1 <Address 0x1 out of bounds>, value = 0}, {
name = 0x7ffff7fcf4b8 "", value = 140737332358424}, {
name = 0x7ffff6ecb048 "\200\272\377\367\377\177",
value = 140737353936896}, {name = 0x7ffff6b428d8 "-\025",
value = 140737353938104}, {name = 0x7ffff6ed61a0 "\b0/",
value = 140737351974149}, {
name = 0x7ffff6eefd20 "H\203\354\b\350\027g\376\377\366@\"\001u!\366@0@H\213\005\236A-", value = 0}, {
name = 0xffffffff <Address 0xffffffff out of bounds>, value = 7}, {
name = 0x402c78 "GLIBC_2.3", value = 140737354127768}, {
name = 0x7ffff7ddc610 "4\001", value = 140737351895872}, {
name = 0x7 <Address 0x7 out of bounds>, value = 140737351930484}}
Comment by Olivier (olive) - Sunday, 04 March 2012, 21:58 GMT
The following fix the problem.

=> build Xaw3d-1.6.1 with:

--enable-internationalization
--enable-multiplane-bitmaps
--enable-gray-stipples
--enable-arrow-scrollbars

=> then build gv with:

export CFLAGS="${CFLAGS} `pkg-config --cflags xaw3d`"

This is from the following discussion (I tested it and it works).
http://lists.gnu.org/archive/html/bug-gv/2012-02/msg00014.html
Comment by Andreas Radke (AndyRTR) - Tuesday, 13 March 2012, 05:47 GMT
Do we really need that heavy changes in xaw3d just for one pkg? Can you lease test for unwanted side effects?
Comment by Olivier (olive) - Tuesday, 13 March 2012, 07:09 GMT
I have not seen any other side effects, even when not recompiling other packages that depend of xaw3d and using binaries as is (tested with xfig, timidity, xvkbd and a custom build of emacs with xaw3d). As I have understood, these options were the default in previous versions of xaw3d. These configure switch enable optional feature of xaw3d, I do not find enabling a few configure options as a big change. There is not much xaw3d software anymore and gv is the only way to direct interact with ghostscript graphically. I would rebuild xaw3d with the switches. To be on the safe side, we might consider to put such xaw3d in the testing repository for a few days/weeks.
Comment by Stefan Husmann (stefanhusmann) - Friday, 16 March 2012, 14:59 GMT
This is fixed in gv 3.7.3.90 and hopefully also in upcoming gv 3.7.4, see http://lists.gnu.org/archive/html/bug-gv/2012-02/msg00015.html
   PKGBUILD (0.9 KiB)

Loading...