On Wed, 24 Aug 2016, Alessandro DE LAURENZIS wrote:

> Dear misc@ readers,
> 
> just noticed that xpdf receives a bus error as soon as the fullscreen mode is
> activated.  A gdb trace follows, hoping it gives some hints:
> 
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-unknown-openbsd6.0"...(no debugging symbols 
> found)
> 
> (gdb) run
> Starting program: /usr/local/bin/xpdf
> 
> Program received signal SIGBUS, Bus error.
> 0x00001693d3cabc78 in XtWindowOfObject () from /usr/X11R6/lib/libXt.so.11.0

Next time, try harder. Google is your friend ;)

Five minutes of googling lead me to this:

https://bugs.launchpad.net/ubuntu/+source/ddd/+bug/1354961

Can you please try the x11/motif diff below and report back?

Ciao!
David

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/motif/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    3 Aug 2016 18:55:49 -0000       1.2
+++ Makefile    24 Aug 2016 08:21:36 -0000
@@ -4,6 +4,8 @@ COMMENT=        Motif toolkit
 
 DISTNAME=      motif-2.3.6
 
+REVISION=      0
+
 SHARED_LIBS=   Mrm     4.1 \
                Uil     5.0 \
                Xm      6.1
Index: patches/patch-lib_Xm_XmI_h
===================================================================
RCS file: patches/patch-lib_Xm_XmI_h
diff -N patches/patch-lib_Xm_XmI_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_Xm_XmI_h  24 Aug 2016 08:21:36 -0000
@@ -0,0 +1,26 @@
+$OpenBSD$
+
+Description: Disable fix for upstream bug #1565
+
+This patch reverts the changes introduced by upstream's fix for
+upstream bug #1565 and causes pop menus and keyboard navigation in
+menus to revert to their Motif 2.3.3 behaviour.
+
+Upstream's original fix broke keyboard navigation in menus (#730026)
+and upstream's updated fix (applied in motif 2.3.4-5) caused segfaults
+in ddd and xpdf (#781995).
+
+Author: Graham Inggs <gra...@nerve.org.za>
+Bug: http://bugs.motifzone.net/show_bug.cgi?id=1565
+Bug-Debian: https://bugs.debian.org/781995
+
+--- lib/Xm/XmI.h.orig  Sat Jun 11 01:52:23 2016
++++ lib/Xm/XmI.h       Wed Aug 24 10:04:23 2016
+@@ -294,7 +294,6 @@ extern Pixel _XmAssignInsensitiveColor(Widget w);
+ #define FIX_1501
+ #define FIX_1521
+ #define FIX_1505
+-#define FIX_1565
+ 
+ #endif /* _XmI_h */
+ /* DON'T ADD ANYTHING AFTER THIS #endif */

  • ... David Coppa
    • ... Alessandro DE LAURENZIS
    • ... Jeremie Courreges-Anglas
    • ... Christian Weisgerber
      • ... Alessandro Dhttps://bugs.launchpad.net/ubuntu/+source/ddd/+bug/1354961/comments/24E LAURENZIS

Reply via email to