Subject: pkg/34197: xemacs dies with X display when compiled with gcc4.1
To: None <,,>
From: Martin Husemann <>
List: pkgsrc-bugs
Date: 08/14/2006 14:55:00
>Number:         34197
>Category:       pkg
>Synopsis:       xemacs dies with X display when compiled with gcc4.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 14 14:55:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.1
System: NetBSD 4.99.1 NetBSD 4.99.1 (NELLY) #45: Mon Aug 14 13:03:41 CEST 2006 sparc64
Architecture: sparc64
Machine: sparc64

Opening an xemacs display on my sparc64 workstation dies:

#0  0x0000000042741c64 in strlen () from /usr/lib/
#1  0x0000000000206e98 in fixup_internal_substring (
    nonreloc=0xbff00000 <Address 0xbff00000 out of bounds>, reloc=3220176896, 
    offset=512, len=0x5343c0) at insdel.c:1031
#2  0x00000000002aaecc in x_font_spec_matches_charset (
    unused_d=<value optimized out>, charset=4560904, nonreloc=0x0, 
    reloc=-24552, offset=0, length=4482048, stage=-272490272)
    at objects-x.c:913
#3  0x00000000002ab160 in x_find_charset_font (device=1098166420, 
    font=3220176896, charset=486993491159945248, stage=<value optimized out>)
    at objects-x.c:970
#4  0x000000000022ebe8 in font_instantiate (
    unused_specifier=<value optimized out>, matchspec=<value optimized out>, 
    domain=<value optimized out>, instantiator=5215560, 
    depth=<value optimized out>) at objects.c:875
#5  0x000000000018beb0 in va_call_trapping_problems_1 (ai_mi_madre=0x4f9548)
    at eval.c:5237
#6  0x000000000018bdb4 in call_trapping_problems_2 (opaque=-22064)
    at eval.c:4885
#7  0x0000000000191f44 in call_with_condition_handler (
    handler=<value optimized out>, handler_arg=10317392, 
    fun=0xfffffffffffffff8, arg=0) at eval.c:2135

Not sure if this is related to the X server yet.

Run xemacs-current on a sparc64 machine with X using sunffb driver.