sig11 on alphastation (digital ws 433a)
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@schweiz.org / / / / / // /_/ / / _ / Heldaustr. 18 http://marco.graf.nine.ch /_/ /_/ / / \__/ / /___/_/ 9470 Buchs SG ICQ: 23012328 /___/ +41-81-7565109 mobile: +41-78-6030045
On Tue, 4 Feb 2003 17:35:04 +0100 (MET) Marco Graf <grafmar@ee.ethz.ch> wrote:
the reason why that happend: the address on my alpha station is 64bit long, but the integer is only 32bit long.
Any comments on this ? I know it sounds strange, but this is really the cause (i checked myself) Attila Kinali -- Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll. -- Frank Klemm, de.comp.os.unix.discussion
participants (2)
-
Attila Kinali -
Marco Graf