Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#250 closed defect (invalid)

SIGBUS on sparc64

Reported by: Dominik 'Rathann' Mierzejewski Owned by: alex@…
Priority: normal Component: vo
Version: HEAD Severity: critical
Keywords: Cc: reimar
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

% gdb ./mplayer
GNU gdb Red Hat Linux (6.3.0.0-0.29rh)
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 "sparc64-redhat-linux"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) run -v -vo x11 /mnt/space/dominik/*.avi
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 32192)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer dev-RPM-CVS-050302-06:00-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc

Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

CommandLine: '-v' '-vo' 'x11' '/mnt/space/dominik/Requiem for a Dream (DivX).avi'
init_freetype
get_path('font/font.desc') -> '/home/staff/rathann/.mplayer/font/font.desc'
font: can't open file: /home/staff/rathann/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/staff/rathann/.mplayer/input.conf'
Can't open input config file /home/staff/rathann/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
get_path('Requiem for a Dream (DivX).avi.conf') ->
'/home/staff/rathann/.mplayer/Requiem for a Dream (DivX).avi.conf'
Playing /mnt/space/dominik/Requiem for a Dream (DivX).avi.
[file] File size is 710199296 bytes
STREAM: [file] /mnt/space/dominik/Requiem for a Dream (DivX).avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Detaching after fork from child process 32217.
CACHE_PRE_INIT: 0 [0] 8192 pre:1677721 eof:0
Cache fill: 0.10% (8192 bytes) AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 33367 (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 181888 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 360
==========================
list_end=0x10F4
==> Found video stream: 0

STREAM Header =====

Type: sdiv FCC: 3vid (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 29970/1000 = 29.970
Start: 0 Len: 181888
Suggested BufferSize: 43385
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======

biSize 40
biWidth 640
biHeight 360
biPlanes 1
biBitCount 24
biCompression 861292868='3VID'
biSizeImage 691200

===========================
Regenerating keyframe table for DIVX3 video
list_end=0x2186
==> Found audio stream: 1

STREAM Header =====

Type: sdua FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 15963/1 = 15963.000
Start: 0 Len: 96882444
Suggested BufferSize: 7564
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15963
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=256
mp3.fdwFlags=0x2000000
mp3.nBlockSize=41217
mp3.nFramesPerBlock=256
mp3.nCodecDelay=28933
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=181888)
list_end=0x29FBF578
Found movie at 0x280C - 0x29FBF578
Reading INDEX block, 363762 chunks for 181888 frames (fpos=0x29fbf580)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1D98)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=604393084 (181888) audio size=96882444 (96882444)
VIDEO: [3VID] 640x360 24bpp 29.970 fps 796.7 kbps (97.3 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:640x360 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/staff/rathann/.mplayer/sub/'
get_path('default.sub') -> '/home/staff/rathann/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16be, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF G:FF00 B:FF0000)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16be
AF_pre: 44100Hz/2ch/s16be
ao2: 44100 Hz 2 chans s16be
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16be (requested: s16be)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 4/4 (8192 bytes/frag) free: 32768
AO: [oss] 44100Hz 2ch s16be (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
VO: [x11] 640x360 => 640x360 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma@…>

Program received signal SIGBUS, Bus error.
0xfffff80000df3b68 in _XData32 () from /usr/X11R6/lib64/libX11.so.6
(gdb) bt
#0 0xfffff80000df3b68 in _XData32 () from /usr/X11R6/lib64/libX11.so.6
#1 0xfffff80000dcbb04 in XChangeProperty () from /usr/X11R6/lib64/libX11.so.6
#2 0x000000000013090c in vo_x11_classhint (display=0x7119e0, window=29360130,
name=0x44e510 "x11")

at x11_common.c:943

#3 0x0000000000134c40 in config (width=640, height=360, d_width=640,
d_height=360, flags=6640640,

title=0x44d8f0 "MPlayer", format=7419236) at vo_x11.c:404

#4 0x000000000015ab74 in config (vf=0x718cd0, width=640, height=360,
d_width=640, d_height=360,

flags=0, outfmt=842094169) at vf_vo.c:48

#5 0x000000000015a308 in vf_config_wrapper (vf=0x718cd0, width=640, height=360,
d_width=640,

d_height=360, flags=0, outfmt=7419232) at vf.c:573

#6 0x0000000000154c2c in mpcodecs_config_vo (sh=0x6fe320, w=6652928, h=4538368,

preferred_outfmt=0) at vd.c:312

#7 0x0000000000157908 in init_vo (sh=0x6fe320, pix_fmt=PIX_FMT_YUV420P) at
vd_ffmpeg.c:511
#8 0x0000000000157a78 in get_buffer (avctx=0x718f70, pic=0x71c850) at
vd_ffmpeg.c:562
#9 0x00000000002275a4 in alloc_picture (s=0x7192c0, pic=0x71c850, shared=0) at
mpegvideo.c:354
#10 0x000000000022a234 in MPV_frame_start (s=0x7192c0, avctx=0x718f70) at
mpegvideo.c:1478
#11 0x000000000039be48 in ff_h263_decode_frame (avctx=0x718f70, data=0x718e50,

data_size=0x7ffffffde2c,
buf=0x700310

"\tq\003\003Äx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205á"...,
buf_size=1166) at h263dec.c:687
#12 0x0000000000225b38 in avcodec_decode_video (avctx=0x718f70, picture=0x718e50,

got_picture_ptr=0x7ffffffde2c,
buf=0x700310

"\tq\003\003Äx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205á"...,
buf_size=1166) at utils.c:592
#13 0x0000000000157f78 in decode (sh=0x6fe320, data=0x700310, len=1166, flags=1166)

at vd_ffmpeg.c:764

#14 0x0000000000154518 in decode_video (sh_video=0x6fe320,

start=0x700310

"\tq\003\003Äx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205áx\027\205á"...,
in_size=1166, drop_frame=0)

at dec_video.c:309

#15 0x000000000010a964 in main (argc=6268928, argv=0x7fffffff490) at mplayer.c:2325
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xfffff80000df3b48 to 0xfffff80000df3b88:
0xfffff80000df3b48 <_XData32+40>: movl %xcc, %g1, %g2
0xfffff80000df3b4c <_XData32+44>: add %g3, %g2, %g1
0xfffff80000df3b50 <_XData32+48>: sub %i2, %g2, %i2
0xfffff80000df3b54 <_XData32+52>: stx %g1, [ %i0 + 0xb0 ]
0xfffff80000df3b58 <_XData32+56>: srax %g2, 2, %g2
0xfffff80000df3b5c <_XData32+60>: add %g2, -1, %g2
0xfffff80000df3b60 <_XData32+64>: brlz,pn %g2, 0xfffff80000df3b24
<_XData32+4>
0xfffff80000df3b64 <_XData32+68>: add %g2, -1, %g2
0xfffff80000df3b68 <_XData32+72>: ldx [ %i1 ], %g1
0xfffff80000df3b6c <_XData32+76>: add %i1, 8, %i1
0xfffff80000df3b70 <_XData32+80>: st %g1, [ %g3 ]
0xfffff80000df3b74 <_XData32+84>: b %xcc, 0xfffff80000df3b60 <_XData32+64>
0xfffff80000df3b78 <_XData32+88>: add %g3, 4, %g3
0xfffff80000df3b7c <_XData32+92>: call 0xfffff80000f8a060 <_XFlush@plt>
0xfffff80000df3b80 <_XData32+96>: mov %i0, %o0
0xfffff80000df3b84 <_XData32+100>: cmp %i2, 0
End of assembler dump.
(gdb) info all-registers
g0 0x0 0
g1 0x713564 7419236
g2 0xffffffffffffffff -1
g3 0x713560 7419232
g4 0x5f47e4 6244324
g5 0x3000000 50331648
g6 0xfffff80000dcb880 -8796078557056
g7 0xfffff800010a15e0 -8796075584032
o0 0x81c04000 2176860160
o1 0x0 0
o2 0x8a116080 2316394624
o3 0x8a116000 2316394496
o4 0x372e 14126
o5 0xb000000 184549376
sp 0x7ffffffc861 0x7ffffffc861
o7 0xb00372e 184563502
l0 0x80 128
l1 0x0 0
l2 0xc 12
l3 0x7119c0 7412160
l4 0x0 0
l5 0x0 0
l6 0x0 0
l7 0xfffff8000011b658 -8796091861416
i0 0x7119e0 7412192
i1 0x7ffffffd2cc 8796093010636
i2 0x0 0
i3 0xaf0 2800
i4 0xc 12
i5 0x3 3
fp 0x7ffffffc921 0x7ffffffc921
i7 0xfffff80000dcbafc -8796078556420
f0 0 (raw 0x00000000)
f1 0 (raw 0x00000000)
f2 0 (raw 0x00000000)
f3 0 (raw 0x00000000)
f4 0 (raw 0x00000000)
f5 0 (raw 0x00000000)
f6 0 (raw 0x00000000)
f7 0 (raw 0x00000000)
f8 0 (raw 0x00000000)
f9 0 (raw 0x00000000)
f10 0 (raw 0x00000000)
f11 0 (raw 0x00000000)
f12 5.04467447e-43 (raw 0x00000168)
f13 0 (raw 0x00000000)
f14 4.125 (raw 0x40840000)
f15 0 (raw 0x00000000)
f16 0 (raw 0x00000000)
f17 0 (raw 0x00000000)
f18 0 (raw 0x00000000)
f19 0 (raw 0x00000000)
f20 0 (raw 0x00000000)
f21 0 (raw 0x00000000)
f22 0 (raw 0x00000000)
f23 0 (raw 0x00000000)
f24 0 (raw 0x00000000)
f25 0 (raw 0x00000000)
f26 0 (raw 0x00000000)
f27 0 (raw 0x00000000)
f28 0 (raw 0x00000000)
f29 0 (raw 0x00000000)
f30 0 (raw 0x00000000)
f31 0 (raw 0x00000000)
f32 1.4953049604536891e-31 (raw 0x39884340f8f82d4e)
f34 5.4686469267146436e-16 (raw 0x3cc3b3efbf673000)
f36 0 (raw 0x0000000000000000)
f38 2.9906099209065515e-31 (raw 0x39984340f8f825ee)
f40 0.50000000000013822 (raw 0x3fe00000000004dd)
f42 1 (raw 0x3ff0000000000000)
f44 1 (raw 0x3ff0000000000000)
f46 0 (raw 0x0000000000000000)
f48 0 (raw 0x0000000000000000)
f50 9.1144115445262417e-17 (raw 0x3c9a453fa9def07c)
f52 0.50000000000013811 (raw 0x3fe00000000004dc)
f54 0.16666666666670024 (raw 0x3fc5555555555a0f)
f56 -2.1938006966593093e-13 (raw 0xbd4ee00000000000)
f58 2.199269343586024e-13 (raw 0x3d4ef3b3efbf6730)
f60 -2.1938006966593093e-13 (raw 0xbd4ee00000000000)
f62 0 (raw 0x0000000000000000)
pc 0xfffff80000df3b68 0xfffff80000df3b68 <_XData32+72>
npc 0xfffff80000df3b6c 0xfffff80000df3b6c <_XData32+76>
state 0x99f0000205 661156528645
fsr 0x1100000020 73014444064
fprs 0x0 0
y 0x0 0
cwp 0x5 5
pstate 0x2 2
asi 0xf0 240
ccr 0x99 153
d0 0 (raw 0x0000000000000000)
d2 0 (raw 0x0000000000000000)
d4 0 (raw 0x0000000000000000)
d6 0 (raw 0x0000000000000000)
d8 0 (raw 0x0000000000000000)
d10 0 (raw 0x0000000000000000)
d12 7.6391848474749803e-312 (raw 0x0000016800000000)
d14 640 (raw 0x4084000000000000)
d16 0 (raw 0x0000000000000000)
d18 0 (raw 0x0000000000000000)
d20 0 (raw 0x0000000000000000)
d22 0 (raw 0x0000000000000000)
d24 0 (raw 0x0000000000000000)
d26 0 (raw 0x0000000000000000)
d28 0 (raw 0x0000000000000000)
d30 0 (raw 0x0000000000000000)
d32 1.4953049604536891e-31 (raw 0x39884340f8f82d4e)
d34 5.4686469267146436e-16 (raw 0x3cc3b3efbf673000)
d36 0 (raw 0x0000000000000000)
d38 2.9906099209065515e-31 (raw 0x39984340f8f825ee)
d40 0.50000000000013822 (raw 0x3fe00000000004dd)
d42 1 (raw 0x3ff0000000000000)
d44 1 (raw 0x3ff0000000000000)
d46 0 (raw 0x0000000000000000)
d48 0 (raw 0x0000000000000000)
d50 9.1144115445262417e-17 (raw 0x3c9a453fa9def07c)
d52 0.50000000000013811 (raw 0x3fe00000000004dc)
d54 0.16666666666670024 (raw 0x3fc5555555555a0f)
d56 -2.1938006966593093e-13 (raw 0xbd4ee00000000000)
d58 2.199269343586024e-13 (raw 0x3d4ef3b3efbf6730)
d60 -2.1938006966593093e-13 (raw 0xbd4ee00000000000)
d62 0 (raw 0x0000000000000000)
q0 0 (raw 0x00000000000000000000000000000000)
q4 0 (raw 0x00000000000000000000000000000000)
q8 0 (raw 0x00000000000000000000000000000000)
q12 0 (raw 0x00000168000000004084000000000000)
q16 0 (raw 0x00000000000000000000000000000000)
q20 0 (raw 0x00000000000000000000000000000000)
q24 0 (raw 0x00000000000000000000000000000000)
q28 0 (raw 0x00000000000000000000000000000000)
q32 0 (raw 0x39884340f8f82d4e3cc3b3efbf673000)
q36 0 (raw 0x000000000000000039984340f8f825ee)
q40 4.656612873097993507241665319511092e-10 (raw
0x3fe00000000004dd3ff0000000000000)
q44 3.0517578125e-05 (raw 0x3ff00000000000000000000000000000)
q48 0 (raw 0x00000000000000003c9a453fa9def07c)
q52 4.6566128730979769528588333663411316e-10 (raw
0x3fe00000000004dc3fc5555555555a0f)
q56 -7.3001916145734170349303589012664991e-208 (raw
0xbd4ee000000000003d4ef3b3efbf6730)
q60 -7.3001916145734137222978780384067959e-208 (raw
0xbd4ee000000000000000000000000000)

System information:

Aurora Linux 2.0 (FC3 Kashmir)

kernel:
Linux bark.icm.edu.pl 2.6.10-2002 #1 SMP Wed Feb 9 08:01:47 CET 2005 sparc64
sparc64 sparc64 GNU/Linux

libc:
% ls -l /lib64/libc[.-]*
-rwxr-xr-x 1 root root 1715344 Dec 24 06:14 /lib64/libc-2.3.3.so
lrwxrwxrwx 1 root root 13 Jan 6 21:17 /lib64/libc.so.6 -> libc-2.3.3.so
% rpm -q glibc.sparc64
glibc-2.3.3-99

% gcc -v
Reading specs from /usr/lib/gcc/sparc64-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=sparc64-redhat-linux
--build=sparc64-redhat-linux --target=sparc64-redhat-linux --with-cpu=v7
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
% ld -v
GNU ld version 2.15.92.0.2 20040927
% as --version
GNU assembler 2.15.92.0.2 20040927
[...]
This assembler was configured for a target of `sparc-redhat-linux'.

% cat /proc/cpuinfo
cpu : TI UltraSparc IIi (Sabre)
fpu : UltraSparc IIi integrated FPU
promlib : Version 3 Revision 19
prom : 3.19.4
type : sun4u
ncpus probed : 1
ncpus active : 1
Cpu0Bogo : 874.49
Cpu0ClkTck : 000000001a39de00
MMU Type : Spitfire
State:
CPU0: online

cat /var/log/Xorg.0.log:
[...]
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.1032sp1smp sparc [ELF]
Current Operating System: Linux bark.icm.edu.pl 2.6.10-2002 #1 SMP Wed Feb 9
08:01:47 CET 2005 sparc64
Build Date: 07 February 2005
Build Host: arthur.devel.redhat.com
[...]
(II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
[...]
(==) SUNFFB(0): RGB weight 888
(==) SUNFFB(0): Default visual is TrueColor
[...]
(II) /dev/fb0: AFB: Detected Elite3D/M3.
(II) /dev/fb0: BT498 (PAC2) ramdac detected
(II) /dev/fb0: Detected Elite3D M3/M6, checking firmware...
(II) /dev/fb0: ... AFB firmware is loaded
(==) SUNFFB(0): Backing store disabled
(==) SUNFFB(0): Silken mouse enabled
(II) /dev/fb0: Using acceleration
(II) /dev/fb0: DGA support initialized.
() Option "dpms"
(
) SUNFFB(0): DPMS enabled
(==) RandR enabled
[...]
(II) /dev/fb0: Setting up double-buffer acceleration.

% cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.8 emulation code)
Kernel: Linux bark.icm.edu.pl 2.6.10-2002 #1 SMP Wed Feb 9 08:01:47 CET 2005 sparc64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Sun CS4231 at 0x1fff1200000, irq 13,7e3

Audio devices:
0: CS4231 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: CS4231

% cat config.h
/* -------- This file has been automatically generated by configure ---------

Note: Any changes in it will be lost when you run configure again. */

/* Protect against multiple inclusion */
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1

/* use GNU internationalization */
#define USE_I18N 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* Dynamic a/v plugins */
#undef DYNAMIC_PLUGINS

/* "restrict" keyword */
#define restrict restrict

/* builtin_expect branch prediction hint */
#define HAVE_BUILTIN_EXPECT 1

/* attribute(used) as needed by some compilers */
#if (GNUC * 100 + GNUC_MINOR >= 303)
# define attribute_used attribute((used))
#else
# define attribute_used
#endif

#define PREFIX "/usr"

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* enable/disable automatic gdb attach on crash, requires SIGHANDLER */
#undef CRASH_DEBUG

/* Toggles debugging informations */
#define MP_DEBUG 1

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 2

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef HAVE_OPENBSD_DVD_STRUCT
#undef DARWIN_DVD_IOCTL
#undef SOLARIS_USCSI
#undef HPUX_SCTL_IO
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define MPLAYER_DATADIR "/usr/share/mplayer"
#define MPLAYER_CONFDIR "/etc/mplayer"
#define MPLAYER_LIBDIR "/usr/lib64"

/* Define this to compile stream-caching support, it can be enabled via

-cache <kilobytes> */

#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#undef USE_DIVX

/* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
/* You have to change DECORE_LIBS in config.mak, too! */
#undef NEW_DECORE

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define if you are using XviD library */
#undef HAVE_XVID3
#undef HAVE_XVID4
#undef DECORE_XVID
#undef ENCORE_XVID

/* Define if you are using the X.264 library */
#undef HAVE_X264

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available

Note: for mencoder */

#undef HAVE_DIVX4ENCORE

/* Indicates if libmp3lame is available

Note: for mencoder */

#undef HAVE_MP3LAME
#undef CONFIG_MP3LAME

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:

(use -bps or -nobps commandline option for run-time method selection)
-bps gives better sync for vbr mp3 audio, it is now default */

#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)

with a stereo MPEG layer 2/3 audio stream. The command line option
-stereo has three possible values (0 for stereo, 1 for left-only, 2 for
right-only), with 0 being the default.
*/

#define USE_FAKE_MONO 1

/* Undefine this if your sound card driver has no working select().

If you have kernel Oops, player hangups, or just no audio, you should
try to recompile MPlayer with this option disabled! */

#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use nl_langinfo function */
#define USE_LANGINFO 1

/* define this to use RTC (/dev/rtc) for video timers */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if your system has the header file for the OSS sound interface

  • in /usr/include */

#undef HAVE_SOUNDCARD_H

/* Define this if your system has the sysinfo header */
#define HAVE_SYS_SYSINFO_H 1

/* Define this if your system has ftello() */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
off_t ftello(FILE *);
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#define MEMALIGN_HACK 1
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1
#ifdef HAVE_ZLIB
#define CONFIG_ZLIB 1
#endif

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has scandir & alphasort */
#define HAVE_SCANDIR 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has strlcpy */
#undef HAVE_STRLCPY
#ifndef HAVE_STRLCPY
unsigned int strlcpy (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has strlcat */
#undef HAVE_STRLCAT
#ifndef HAVE_STRLCAT
unsigned int strlcat (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has fseeko */
#define HAVE_FSEEKO 1
#ifndef HAVE_FSEEKO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
int fseeko(FILE *, off_t, int);
#endif

#define HAVE_LOCALTIME_R 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* Define this if your system has swab */
#define HAVE_SWAB 1

/* Define this if your system has no posix select */
#undef HAVE_NO_POSIX_SELECT

/* Define this if your system has gettimeofday */
#define HAVE_GETTIMEOFDAY 1

/* Define this if your system has glob */
#define HAVE_GLOB 1

/* Define this if your system has pthreads */
#define HAVE_PTHREADS 1

/* Define this if you enabled thread support for libavcodec */
#define HAVE_THREADS 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/*

#undef HAVE_LIRCC

/* DVD navigation support using libdvdnav */

/* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires a FAST
CPU!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#undef USE_WIN32DLL
#define WIN32_PATH ""

/* DirectShow support */
#undef USE_DIRECTSHOW

/* Mac OS X specific features */
#undef MACOSX
#undef MACOSX_FINDER_SUPPORT

/* Build our Win32-loader */

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* ffmpeg's libavformat support (requires libavformat source) */
#define USE_LIBAVFORMAT 1
#undef CONFIG_WIN32

/* risky codecs */
#define CONFIG_RISKY 1

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

#define CONFIG_MPEGAUDIO_HP 1

/* Use amr codecs from libavcodec (requires amr sources) */
#undef AMR_NB
#undef AMR_NB_FIXED
#undef AMR_WB

/* Use codec libs included in mplayer CVS / source dist: */
#define USE_MP3LIB 1
#define USE_LIBA52 1
#undef CONFIG_DTS
#define USE_LIBMPEG2 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#undef USE_XANIM
/* Default search path */
#undef XACODEC_PATH

/* RealPlayer DLL support */
#undef USE_REALCODECS
/* Default search path */
#undef REALCODEC_PATH

/* LIVE.COM Streaming Media library support */
#undef STREAMING_LIVE_DOT_COM

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* Use unrarlib for Vobsubs */
#define USE_UNRARLIB 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef HAVE_ALSA1X

#undef USE_ESD
#undef HAVE_ESD_LATENCY
#undef USE_POLYP

#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_ALSA_ASOUNDLIB_H
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#undef HAVE_WIN32WAVEOUT
#undef HAVE_NAS

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable EDL support */
#define USE_EDL

/* Enable Video 4 Linux TV interface support */
#undef HAVE_TV_V4L

/* Enable Video 4 Linux 2 TV interface support */
#undef HAVE_TV_V4L2

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant

byte first (like Motorola and SPARC, unlike Intel and VAX). */

#define WORDS_BIGENDIAN 1

#define ARCH_SPARC 1

/* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,

  • define ARCH_PPC if ARCH_POWERPC is set to cope with that. */

#ifdef ARCH_POWERPC
#define ARCH_PPC 1
#endif

/* the same issue as with ARCH_POWERPC but with ffmpeg/libavcodec */
#ifdef ARCH_ARMV4L
#define ARCH_ARM 1
#endif

/* only gcc3 can compile mvi instructions */

/* Define this for Cygwin build for win32 */

/* Define this to any prefered value from 386 up to infinity with step 100 */
#define CPU sparc

#define MP_WORDSIZE 64

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#elif defined(HPUX)
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#elif defined(WIN32)
#define DEFAULT_CDROM_DEVICE "D:"
#define DEFAULT_DVD_DEVICE "D:"
#elif defined(SYS_DARWIN)
#define DEFAULT_CDROM_DEVICE "/dev/disk1"
#define DEFAULT_DVD_DEVICE "/dev/rdiskN"
#elif defined(OpenBSD)
#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#endif

/*----------------------------------------------------------------------------

NOTE: Instead of modifying these definitions here, use the
--enable/--disable options of the ./configure script!
See ./configure --help for details.

*---------------------------------------------------------------------------*/

/* C99 lrintf function available */
#define HAVE_LRINTF 1

/* yes, we have inttypes.h */
#define HAVE_INTTYPES_H 1

/* int_fastXY_t emulation */

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* SMB support */
#undef LIBSMBCLIENT

/* termcap flag for getch2.c */
#undef USE_TERMCAP

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* enable PNM support */
#define HAVE_PNM

/* enable md5sum support */
#define HAVE_MD5SUM

/* enable GIF support */
#undef HAVE_GIF
#undef HAVE_GIF_4

/* enable FreeType support */
#define HAVE_FREETYPE

/* enable Fontconfig support */
#define HAVE_FONTCONFIG

/* enable FriBiDi usage */
#undef USE_FRIBIDI

/* enable ENCA usage */
#undef HAVE_ENCA

/* liblzo support */
#undef USE_LIBLZO

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable Tremor as vorbis decoder */
#define TREMOR 1

/* enable OggTheora support */
#undef HAVE_OGGTHEORA

/* enable Matroska support */
#define HAVE_MATROSKA 1

/* enable FAAD (AAC) support */
#define HAVE_FAAD 1
#define USE_INTERNAL_FAAD 1

/* enable LADSPA plugin support */
#undef HAVE_LADSPA

/* enable network */
#define MPLAYER_NETWORK 1

/* enable ftp support */
#define HAVE_FTP 1

/* enable vstream support */
#undef HAVE_VSTREAM

/* enable winsock2 instead of Unix functions*/
#undef HAVE_WINSOCK2

/* define this to use inet_aton() instead of inet_pton() */
#undef USE_ATON

/* enables / disables cdparanoia support */
#undef HAVE_CDDA

/* enables / disables VIDIX usage */
#undef CONFIG_VIDIX

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* enables / disables QTX codecs */
#undef USE_QTX_CODECS

/* enables / disables osd menu */
#define HAVE_MENU 1

/* enables / disables subtitles sorting */
#define USE_SORTSUB 1

/* XMMS input plugin support */
#undef HAVE_XMMS
#define XMMS_INPUT_PLUGIN_DIR ""

/* enables inet6 support */
#define HAVE_AF_INET6 1

/* do we have gethostbyname2? */
#define HAVE_GETHOSTBYNAME2 1

/* Extension defines */
#undef HAVE_3DNOW only define if you have 3DNOW (AMD k6-2, AMD Athlon,
iDT WinChip, etc.)
#undef HAVE_3DNOWEX
only define if you have 3DNOWEX (AMD Athlon, etc.)
#undef HAVE_MMX only define if you have MMX (newer x86 chips, not P54C/PPro)
#undef HAVE_MMX2
only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2
only define if you have SSE2 (Intel Pentium 4)

only define if you have Altivec (G4)

enables usage of altivec.h

#undef HAVE_MLIB Sun mediaLib, available only on solaris
#define HAVE_VIS = yes
only define if you have VIS ( ultrasparc )

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#undef HAVE_XVMC
#define HAVE_XF86VM 1
#define HAVE_XF86XK 1
#define HAVE_XINERAMA 1
#undef HAVE_GL
#undef GL_WIN32
#define HAVE_DGA 1
#define HAVE_DGA2 1
#undef HAVE_SDL
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */

#undef HAVE_DIRECTX
#undef HAVE_GGI
#undef HAVE_3DFX
#define HAVE_TDFXFB 1
#undef HAVE_TDFX_VID
#undef HAVE_DIRECTFB

#undef HAVE_ZR
#undef HAVE_BL
#define HAVE_MGA 1
#define HAVE_XMGA 1

#define HAVE_FBDEV 1
#undef HAVE_DXR2
#undef HAVE_DXR3
#define HAVE_DVB_HEAD 1
#define HAS_DVBIN_SUPPORT 1
#undef HAVE_SVGALIB
#undef HAVE_VESA
#define HAVE_XDPMS 1
#undef HAVE_AA
#undef HAVE_CACA
#define HAVE_TGA 1
#undef HAVE_TOOLAME

/* used by GUI: */

#if defined(HAVE_GL)
defined(HAVE_X11) defined(HAVE_XV)

#define X11_FULLSCREEN 1
#endif

#endif /* MPLAYER_CONFIG_H */

% cat config.log
# -------- Generated by configure -----------

LANG = C
MAN_LANG = cs de en es fr hu it pl sv
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr
BINDIR = $(DESTDIR)/usr/bin
DATADIR = $(DESTDIR)/usr/share/mplayer
MANDIR = $(DESTDIR)/usr/share/man
CONFDIR = $(DESTDIR)/etc/mplayer
LIBDIR = $(DESTDIR)/usr/lib64
#AR = ar
CC = cc
HOST_CC = cc
AWK =
RANLIB = true
INSTALL = install
# OPTFLAGS = -O4 -g3 -mcpu=v9 -pipe -fomit-frame-pointer -ffast-math
EXTRA_INC =
OPTFLAGS = -I../libvo -I../../libvo -I/usr/X11R6/include -W -Wall
-Wno-unused-parameter -O2 -mcpu=v9 -g3 -m64 -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 $(EXTRA_INC)
STRIPBINARIES = no
CHARSET =
HELP_FILE = help/help_mp-en.h

PRG = mplayer
PRG_MENCODER = mencoder

MPLAYER_NETWORK = yes
STREAMING_LIVE_DOT_COM = no
MPLAYER_NETWORK_LIB = -lnsl
DVBIN = yes
VIDIX = no
SHARED_PP = no
CONFIG_PP = yes
CONFIG_RISKY = yes
CONFIG_MP3LAME = no
LIBMENU = yes
I18NLIBS =
MATROSKA = yes

OPENDIVX = no

MP3LIB = yes
LIBA52 = yes
LIBMPEG2 = yes
TREMOR = yes
TREMOR_FLAGS =

UNRARLIB = yes
HAVE_FFPOSTPROCESS = yes
PNG = yes
JPEG = yes
GIF = no

EXTRA_LIB = -L/lib64 -L/usr/lib64 -L/usr/X11R6/lib64
Z_LIB = -lz
HAVE_MLIB = no
WIN32_LIB =
STATIC_LIB =
ENCA_LIB =
HAVE_PTHREADS = yes
MATH_LIB = -lm

X11_INC = -I/usr/X11R6/include
X11DIR = -L/usr/X11R6/lib -lXext -lX11 -lnsl

HAVE_XVMC_ACCEL = no

# for libavcodec:
SRC_PATH=..
LIBPREF=lib
LIBSUF=.a
SLIBPREF=lib
SLIBSUF=.so

# video output
X_LIB = -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11
-lnsl -lnsl
GGI_LIB =
MLIB_LIB =
MLIB_INC =
DXR2_INC =
DVB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB =
SDL_LIB =
SVGA_LIB =
AA_LIB =
CACA_INC =
CACA_LIB =

# audio output
ALSA_LIB =
NAS_LIB =
ARTS_LIB =
ARTS_INC =
ESD_LIB =
ESD_INC =
POLYP_LIB =
POLYP_INC =
JACK_LIB =
JACK_INC =
SGIAUDIO_LIB =

# input/demuxer/codecs
TERMCAP_LIB =
LIRC_LIB =
LIRCC_LIB =
DVDREAD_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC =
W32_DEP =
W32_LIB =
DS_DEP =
DS_LIB =
AV_DEP = libavcodec/libavcodec.a libavformat/libavformat.a
AV_LIB = libavcodec/libavcodec.a libavformat/libavformat.a
CONFIG_LIBAVFORMAT = yes
ZORAN = no
FAME = no
FAME_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB = -lpthread -ldl
XVID = no
XVID_INC =
XVID_LIB =
X264 = no
X264_INC =
X264_LIB =
CONFIG_DTS = no
DTS_INC =
DTS_LIB =
DECORE_LIB =
MENCODER = yes
ENCORE_LIB =
DIRECTFB_INC =
DIRECTFB_LIB =
CDPARANOIA_INC =
CDPARANOIA_LIB =
FREETYPE_INC = -I/usr/include/freetype2
FREETYPE_LIB = -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz
FONTCONFIG_INC =
FONTCONFIG_LIB = -lfontconfig
FRIBIDI_INC =
FRIBIDI_LIB =
LIBLZO_LIB=
MAD_LIB =
VORBIS_LIB =
THEORA_LIB =
FAAD_LIB =
INTERNAL_FAAD = yes
SMBSUPPORT_LIB =
XMMS_PLUGINS = no
XMMS_LIB =
MACOSX = no
MACOSX_FINDER_SUPPORT = no
MACOSX_FRAMEWORKS =
TOOLAME=no
TOOLAME_EXTRAFLAGS=
TOOLAME_LIB=
AMR_NB=no
AMR_NB_FIXED=no
AMR_WB=no

# --- Some stuff for autoconfigure ----
TARGET_ARCH_SPARC = yes
TARGET_WIN32 = no
TARGET_CPU=sparc
TARGET_MMX =
TARGET_MMX2 =
TARGET_3DNOW =
TARGET_3DNOWEX =
TARGET_SSE =
TARGET_ALTIVEC =
TARGET_VIS = yes

# --- GUI stuff ---
GTKLIB =
GLIBLIB =
GTK_LIBS =
GUI = no
DEBUG = -DDEBUG

Change History (5)

comment:1 by Dominik 'Rathann' Mierzejewski, 19 years ago

Component: corevo

doesn't crash with vo=null

comment:2 by reimar, 19 years ago

This looks to me very much like unaligned access - the adress in i1 (where it is
trying to some data from) is not divisible by 8 (and is it loads the data into a
64 bit register I guess it tries to load a 64 bit variable). But as the function
is called _XData32 I would think it is supposed to load a 32bit var. So my guess
is actually it's an X bug.
But maybe test if it works when you align the pid variable in x11_common.c, line

  1. I.e. change

pid_t pid = getpid();
to
pid_t pid attribute((aligned(8))) = getpid();
If that fixes it I am almost certain it is a bug in X...

comment:3 by Dominik 'Rathann' Mierzejewski, 19 years ago

Sorry, Reimar. Your patch changes nothing. Still the same crash in exactly the
same place.

comment:4 by Dominik 'Rathann' Mierzejewski, 19 years ago

Cc: Reimar.Doeffinger@… added

comment:5 by Dominik 'Rathann' Mierzejewski, 19 years ago

Resolution: invalid
Status: newclosed

Switching to 64bit Xserver doesn't help either, but commenting out
XChangeProperty call entirely helps. Looks like X.org bug.
Marking this as resolved INVALID and filing a new bugzilla in X.org:
https://bugs.freedesktop.org/show_bug.cgi?id=2748

Note: See TracTickets for help on using tickets.