[Mplayer-advusers] sig11 on alphastation (digital ws 433a)

Marco Graf grafmar at ee.ethz.ch
Tue Feb 4 17:35:04 CET 2003


gdb output after pressing volup (0):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10488)]
control (cmd=4, arg=536863392) at ao_oss.c:70
70                              vol->left = v & 0x00FF;
(gdb)


Linuxdistro:
Debian woody

/proc/cpuinfo:
cpu                     : Alpha
cpu model               : EV56
cpu variation           : 0
cpu revision            : 0
cpu serial number       : Linux_is_Great!
system type             : Miata
system variation        : 0
system revision         : 0
system serial number    : MILO-2.0.35-c5.
cycle frequency [Hz]    : 433097278 est.
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 860.60
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 15015 (pc=120049f9c,va=12042a96c)
platform string         : N/A
cpus detected           : 0

uname -a
Linux surfstation-amiv 2.4.18 #1 Fre Dez 13 14:16:13 CET 2002 alpha unknown

gcc --version
2.95.4


the reason why that happend:
the address on my alpha station is 64bit long, but the integer is only 32bit long.

(gdb) up
#1  0x12004ffac in mixer_getvolume (l=0x11fffe2c0, r=0x11fffe2c4) at mixer.c:25
25          if(CONTROL_OK != audio_out->control(AOCONTROL_GET_VOLUME,(int)&vol))
(gdb) p &vol
$1 = (ao_control_vol_t *) 0x11fffe2a0
(gdb) p (int)&vol
$2 = 536863392
(gdb) p (long)&vol
$3 = 4831830688
(gdb) down
#0  control (cmd=4, arg=536863392) at ao_oss.c:70
70                              vol->left = v & 0x00FF;
(gdb) p arg
$4 = 536863392
(gdb)


cu
  mga

-- 
_______________________________________________________________________
   ___  ___   ___    _____
  / __\/__ \ / __/_ /___  \     Marco Graf  marco.graf at schweiz.org
 / / / / / // /_/ / / _   /  Heldaustr. 18  http://marco.graf.nine.ch
/_/ /_/ / / \__/ / /___/_/   9470 Buchs SG  ICQ: 23012328
            /___/	    +41-81-7565109  mobile: +41-78-6030045
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h.gz
Type: application/octet-stream
Size: 4062 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20030204/96d1f64f/attachment.obj>


More information about the MPlayer-advusers mailing list