public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q3A segfaults with 2.4.8
@ 2001-08-12  1:48 Garett Spencley
  2001-08-12  3:04 ` Daniel T. Chen
  2001-08-12  6:42 ` J Sloan
  0 siblings, 2 replies; 5+ messages in thread
From: Garett Spencley @ 2001-08-12  1:48 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have no idea how to debug this so some insight would be very helpful.
Quake3 arena is crashing with 2.4.8 and 2.4.8-ac1.

I'm pretty sure it's related to the emu10k1 changes because the last
output is:

...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
------------------------------------
Received signal 11, exiting...

It works fine with 2.4.7 and -ac series.

Here's my system info:

Mandrake 8.0

Linux version 2.4.8-ac1 (root@localhost.localdomain) (gcc version 3.0) #1
Sat Aug 11 18:16:04 EDT 2001

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 2
model name	: AMD Athlon(tm) Processor
stepping	: 1
cpu MHz		: 704.960
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1405.74

$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03e8-03ef : serial(auto)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0400-040f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
0cf8-0cff : PCI conf1
9000-9fff : PCI Bus #01
  9c00-9cff : 3Dfx Interactive, Inc. Voodoo 3
c800-c81f : Creative Labs SB Live! EMU10000
  c800-c81f : EMU10K1
cc00-ccff : Realtek Semiconductor Co., Ltd. RTL-8139
  cc00-ccff : 8139too
d000-d01f : VIA Technologies, Inc. UHCI USB
  d000-d01f : usb-uhci
d400-d41f : VIA Technologies, Inc. UHCI USB (#2)
  d400-d41f : usb-uhci
d800-d803 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
dc00-dc07 : Creative Labs SB Live!
  dc00-dc07 : emu10k1-gp
ffa0-ffaf : VIA Technologies, Inc. Bus Master IDE
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1

$ cat /proc/iomem
00000000-0009efff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-09ffffff : System RAM
  00100000-0026e5e9 : Kernel code
  0026e5ea-002db53f : Kernel data
dfc00000-e3cfffff : PCI Bus #01
  e0000000-e1ffffff : 3Dfx Interactive, Inc. Voodoo 3
e4000000-e7ffffff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
ebdfd000-ebdfdfff : Brooktree Corporation Bt878
  ebdfd000-ebdfdfff : bttv
ebdfe000-ebdfefff : Brooktree Corporation Bt878
ebdff000-ebdfffff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
ebe00000-efefffff : PCI Bus #01
  ec000000-edffffff : 3Dfx Interactive, Inc. Voodoo 3
efffff00-efffffff : Realtek Semiconductor Co., Ltd. RTL-8139
  efffff00-efffffff : 8139too

# lspci -vvv
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 64
	Region 0: Memory at e4000000 (32-bit, prefetchable) [size=64M]
	Region 1: Memory at ebdff000 (32-bit, prefetchable) [size=4K]
	Region 2: I/O ports at d800 [disabled] [size=4]
	Capabilities: [a0] AGP version 1.0
		Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x1

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00009000-00009fff
	Memory behind bridge: ebe00000-efefffff
	Prefetchable memory behind bridge: dfc00000-e3cfffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 1b)
	Subsystem: Asustek Computer, Inc.: Unknown device 800d
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:04.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06) (prog-if 8a [Master SecP PriP])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Region 4: I/O ports at ffa0 [size=16]
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 0e) (prog-if 00 [UHCI])
	Subsystem: Unknown device 0925:1234
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, cache line size 08
	Interrupt: pin D routed to IRQ 10
	Region 4: I/O ports at d000 [size=32]
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 0e) (prog-if 00 [UHCI])
	Subsystem: Unknown device 0925:1234
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, cache line size 08
	Interrupt: pin D routed to IRQ 10
	Region 4: I/O ports at d400 [size=32]
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 20)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
	Subsystem: AOPEN Inc. ALN-325C
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (8000ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at cc00 [size=256]
	Region 1: Memory at efffff00 (32-bit, non-prefetchable) [size=256]

00:0f.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02)
	Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (4000ns min, 10000ns max)
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at ebdfd000 (32-bit, prefetchable) [size=4K]

00:0f.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
	Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (1000ns min, 63750ns max)
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at ebdfe000 (32-bit, prefetchable) [size=4K]

00:10.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
	Subsystem: Creative Labs CT4832 SBLive! Value
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (500ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at c800 [size=32]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.1 Input device controller: Creative Labs SB Live! (rev 07)
	Subsystem: Creative Labs Gameport Joystick
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Region 0: I/O ports at dc00 [size=8]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) (prog-if 00 [VGA])
	Subsystem: 3Dfx Interactive, Inc. Voodoo3 AGP
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=32M]
	Region 1: Memory at e0000000 (32-bit, prefetchable) [size=32M]
	Region 2: I/O ports at 9c00 [size=256]
	Expansion ROM at efef0000 [disabled] [size=64K]
	Capabilities: [54] AGP version 1.0
		Status: RQ=7 SBA+ 64bit+ FW- Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
	Capabilities: [60] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Thanks in advance for any help,

-- 
Garett Spencley

I encourage you to encrypt e-mail sent to me using PGP
My public key is available on PGP key servers (http://keyservers.net)
Key fingerprint: 8062 1A46 9719 C929 578C BB4E 7799 EC1A AB12 D3B9


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Q3A segfaults with 2.4.8
  2001-08-12  1:48 Q3A segfaults with 2.4.8 Garett Spencley
@ 2001-08-12  3:04 ` Daniel T. Chen
  2001-08-12  6:42 ` J Sloan
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel T. Chen @ 2001-08-12  3:04 UTC (permalink / raw)
  To: Garett Spencley; +Cc: linux-kernel

Hrm, I upgraded from 2.4.7-ac11 + EMU10K1 CVS v0.15 diffs to 2.4.8 + Rui's
patch + Juha's AC3 SMP fix + Andrea's 2.4.8aa1, and quake3 1.29h PR works
fine here. I did compile with gcc version 2.95.4 20010721 (Debian pre
release), however.

---
Dan Chen                 crimsun@email.unc.edu
GPG key: www.cs.unc.edu/~chenda/pubkey.gpg.asc

On Sat, 11 Aug 2001, Garett Spencley wrote:

> I have no idea how to debug this so some insight would be very helpful.
> Quake3 arena is crashing with 2.4.8 and 2.4.8-ac1.
> 
> I'm pretty sure it's related to the emu10k1 changes because the last
> output is:
> 
> ...loading 'scripts/sky.shader'
> ...loading 'scripts/test.shader'
> ----- finished R_Init -----
> 
> ------- sound initialization -------
> ------------------------------------
> Received signal 11, exiting...
> 
> It works fine with 2.4.7 and -ac series.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Q3A segfaults with 2.4.8
  2001-08-12  1:48 Q3A segfaults with 2.4.8 Garett Spencley
  2001-08-12  3:04 ` Daniel T. Chen
@ 2001-08-12  6:42 ` J Sloan
  1 sibling, 0 replies; 5+ messages in thread
From: J Sloan @ 2001-08-12  6:42 UTC (permalink / raw)
  To: Garett Spencley, linux-kernel

Q3a works fine for me, as before.

My current configuration:

Red Hat 7.1 + all updates
Xfree86 4.1 (rawhide rpms)
kernel 2.4.8 + Andrew Morton's low latency patches.
Penium III 933/512 MB RAM/Voooo 3 AGP

cu

jjs

Garett Spencley wrote:

> Hi,
>
> I have no idea how to debug this so some insight would be very helpful.
> Quake3 arena is crashing with 2.4.8 and 2.4.8-ac1.
>
> I'm pretty sure it's related to the emu10k1 changes because the last
> output is:
>
> ...loading 'scripts/sky.shader'
> ...loading 'scripts/test.shader'
> ----- finished R_Init -----
>
> ------- sound initialization -------
> ------------------------------------
> Received signal 11, exiting...
>
> It works fine with 2.4.7 and -ac series.
>
> Here's my system info:
>
> Mandrake 8.0
>
> Linux version 2.4.8-ac1 (root@localhost.localdomain) (gcc version 3.0) #1
> Sat Aug 11 18:16:04 EDT 2001
>
> $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 2
> model name      : AMD Athlon(tm) Processor
> stepping        : 1
> cpu MHz         : 704.960
> cache size      : 512 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
> bogomips        : 1405.74
>
> $ cat /proc/ioports
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : fpu
> 0170-0177 : ide1
> 01f0-01f7 : ide0
> 02f8-02ff : serial(auto)
> 0376-0376 : ide1
> 03c0-03df : vga+
> 03e8-03ef : serial(auto)
> 03f6-03f6 : ide0
> 03f8-03ff : serial(auto)
> 0400-040f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
> 0cf8-0cff : PCI conf1
> 9000-9fff : PCI Bus #01
>   9c00-9cff : 3Dfx Interactive, Inc. Voodoo 3
> c800-c81f : Creative Labs SB Live! EMU10000
>   c800-c81f : EMU10K1
> cc00-ccff : Realtek Semiconductor Co., Ltd. RTL-8139
>   cc00-ccff : 8139too
> d000-d01f : VIA Technologies, Inc. UHCI USB
>   d000-d01f : usb-uhci
> d400-d41f : VIA Technologies, Inc. UHCI USB (#2)
>   d400-d41f : usb-uhci
> d800-d803 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
> dc00-dc07 : Creative Labs SB Live!
>   dc00-dc07 : emu10k1-gp
> ffa0-ffaf : VIA Technologies, Inc. Bus Master IDE
>   ffa0-ffa7 : ide0
>   ffa8-ffaf : ide1
>
> $ cat /proc/iomem
> 00000000-0009efff : System RAM
> 000a0000-000bffff : Video RAM area
> 000c0000-000c7fff : Video ROM
> 000f0000-000fffff : System ROM
> 00100000-09ffffff : System RAM
>   00100000-0026e5e9 : Kernel code
>   0026e5ea-002db53f : Kernel data
> dfc00000-e3cfffff : PCI Bus #01
>   e0000000-e1ffffff : 3Dfx Interactive, Inc. Voodoo 3
> e4000000-e7ffffff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
> ebdfd000-ebdfdfff : Brooktree Corporation Bt878
>   ebdfd000-ebdfdfff : bttv
> ebdfe000-ebdfefff : Brooktree Corporation Bt878
> ebdff000-ebdfffff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
> ebe00000-efefffff : PCI Bus #01
>   ec000000-edffffff : 3Dfx Interactive, Inc. Voodoo 3
> efffff00-efffffff : Realtek Semiconductor Co., Ltd. RTL-8139
>   efffff00-efffffff : 8139too
>
> # lspci -vvv
> 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
>         Latency: 64
>         Region 0: Memory at e4000000 (32-bit, prefetchable) [size=64M]
>         Region 1: Memory at ebdff000 (32-bit, prefetchable) [size=4K]
>         Region 2: I/O ports at d800 [disabled] [size=4]
>         Capabilities: [a0] AGP version 1.0
>                 Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2
>                 Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x1
>
> 00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
>         I/O behind bridge: 00009000-00009fff
>         Memory behind bridge: ebe00000-efefffff
>         Prefetchable memory behind bridge: dfc00000-e3cfffff
>         BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
>
> 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 1b)
>         Subsystem: Asustek Computer, Inc.: Unknown device 800d
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>
> 00:04.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06) (prog-if 8a [Master SecP PriP])
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 32
>         Region 4: I/O ports at ffa0 [size=16]
>         Capabilities: [c0] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 0e) (prog-if 00 [UHCI])
>         Subsystem: Unknown device 0925:1234
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64, cache line size 08
>         Interrupt: pin D routed to IRQ 10
>         Region 4: I/O ports at d000 [size=32]
>         Capabilities: [80] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 0e) (prog-if 00 [UHCI])
>         Subsystem: Unknown device 0925:1234
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64, cache line size 08
>         Interrupt: pin D routed to IRQ 10
>         Region 4: I/O ports at d400 [size=32]
>         Capabilities: [80] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 20)
>         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>
> 00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
>         Subsystem: AOPEN Inc. ALN-325C
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (8000ns min, 16000ns max)
>         Interrupt: pin A routed to IRQ 9
>         Region 0: I/O ports at cc00 [size=256]
>         Region 1: Memory at efffff00 (32-bit, non-prefetchable) [size=256]
>
> 00:0f.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02)
>         Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (4000ns min, 10000ns max)
>         Interrupt: pin A routed to IRQ 5
>         Region 0: Memory at ebdfd000 (32-bit, prefetchable) [size=4K]
>
> 00:0f.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
>         Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (1000ns min, 63750ns max)
>         Interrupt: pin A routed to IRQ 5
>         Region 0: Memory at ebdfe000 (32-bit, prefetchable) [size=4K]
>
> 00:10.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
>         Subsystem: Creative Labs CT4832 SBLive! Value
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (500ns min, 5000ns max)
>         Interrupt: pin A routed to IRQ 10
>         Region 0: I/O ports at c800 [size=32]
>         Capabilities: [dc] Power Management version 1
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:10.1 Input device controller: Creative Labs SB Live! (rev 07)
>         Subsystem: Creative Labs Gameport Joystick
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Region 0: I/O ports at dc00 [size=8]
>         Capabilities: [dc] Power Management version 1
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 01:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) (prog-if 00 [VGA])
>         Subsystem: 3Dfx Interactive, Inc. Voodoo3 AGP
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=32M]
>         Region 1: Memory at e0000000 (32-bit, prefetchable) [size=32M]
>         Region 2: I/O ports at 9c00 [size=256]
>         Expansion ROM at efef0000 [disabled] [size=64K]
>         Capabilities: [54] AGP version 1.0
>                 Status: RQ=7 SBA+ 64bit+ FW- Rate=x1,x2
>                 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
>         Capabilities: [60] Power Management version 1
>                 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> Thanks in advance for any help,
>
> --
> Garett Spencley
>
> I encourage you to encrypt e-mail sent to me using PGP
> My public key is available on PGP key servers (http://keyservers.net)
> Key fingerprint: 8062 1A46 9719 C929 578C BB4E 7799 EC1A AB12 D3B9
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Q3A segfaults with 2.4.8
       [not found] <Pine.LNX.4.10.10108120314450.5761-100000@coffee.psychology.mcmaster.ca>
@ 2001-08-12 14:40 ` Garett Spencley
  0 siblings, 0 replies; 5+ messages in thread
From: Garett Spencley @ 2001-08-12 14:40 UTC (permalink / raw)
  To: linux-kernel

On Sun, 12 Aug 2001, Mark Hahn wrote:
> in cases like this, you need to run strace around the app,
> and see what it's doing that's failing.  all the system config
> stuff is fairly irrelevant...

$ strace quake3

execve("/usr/local/bin/quake3", ["quake3"], [/* 50 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0)                                  = 0x80da050
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=36055, ...}) = 0
old_mmap(NULL, 36055, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libtermcap.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\r\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=11608, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
old_mmap(NULL, 14696, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40020000
mprotect(0x40023000, 2408, PROT_NONE)   = 0
old_mmap(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40023000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000 \0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=10764, ...}) = 0
old_mmap(NULL, 13644, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mprotect(0x40027000, 1356, PROT_NONE)   = 0
old_mmap(0x40027000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40027000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\302"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1222404, ...}) = 0
old_mmap(NULL, 1237800, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40028000
mprotect(0x4014d000, 37672, PROT_NONE)  = 0
old_mmap(0x4014d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x124000) = 0x4014d000
old_mmap(0x40153000, 13096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40153000
close(3)                                = 0
munmap(0x40016000, 36055)               = 0
getpid()                                = 2245
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0x80da050
brk(0x80db000)                          = 0x80db000
brk(0x80dc000)                          = 0x80dc000
brk(0x80dd000)                          = 0x80dd000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
brk(0x80de000)                          = 0x80de000
brk(0x80df000)                          = 0x80df000
brk(0x80e0000)                          = 0x80e0000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
open("/usr/share/locale/en/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
old_mmap(NULL, 244, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
brk(0x80e1000)                          = 0x80e1000
open("/usr/share/locale/en/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13, ...}) = 0
old_mmap(NULL, 13, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/usr/share/locale/en/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
old_mmap(NULL, 49, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/usr/share/locale/en/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=145, ...}) = 0
old_mmap(NULL, 145, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
close(3)                                = 0
open("/usr/share/locale/en/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=67, ...}) = 0
old_mmap(NULL, 67, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001a000
close(3)                                = 0
open("/usr/share/locale/en/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0
old_mmap(NULL, 24, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
close(3)                                = 0
open("/usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
old_mmap(NULL, 42, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=276, ...}) = 0
old_mmap(NULL, 276, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21484, ...}) = 0
old_mmap(NULL, 21484, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40157000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2441, ...}) = 0
old_mmap(NULL, 2441, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
old_mmap(NULL, 44, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4015d000
close(3)                                = 0
open("/usr/share/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=110304, ...}) = 0
old_mmap(NULL, 110304, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4015e000
close(3)                                = 0
SYS_199(0x401516ec, 0, 0x40152320, 0x40150170, 0xbffff804) = 501
ipc_subcall(0x401516ec, 0, 0x40152320, 0x40150170) = 501
semop(1075123948, 0x40150170, 0)        = 501
semget(1075123948, 0, IPC_CREAT|0x40152120|0440) = 501
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 997627058
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=349, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40179000
read(3, "/dev/hda5 / reiserfs rw 0 0\nnone"..., 4096) = 349
close(3)                                = 0
munmap(0x40179000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40179000
read(3, "        total:    used:    free:"..., 4096) = 573
close(3)                                = 0
munmap(0x40179000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0x80e2000)                          = 0x80e2000
brk(0x80e3000)                          = 0x80e3000
stat64("/usr/local/games/quake3", {st_mode=S_IFDIR|0755, st_size=496, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=496, ...}) = 0
getpid()                                = 2245
getppid()                               = 2244
brk(0x80e4000)                          = 0x80e4000
getpgrp()                               = 2244
rt_sigaction(SIGCHLD, {0x8074f60, [], 0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/local/bin/quake3", O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/sh\n# Needed to make symli"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(0x7, 0xbffff648, 0, 0x3, 0xbffff648) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
shmat(255, 0xbffff700, 0x2ptrace: umoven: Input/output error
)             = ?
shmat(255, 0x80e038c, 0x3ptrace: umoven: Input/output error
)              = ?
fstat64(255, {st_mode=S_IFREG|0755, st_size=151, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0x80e5000)                          = 0x80e5000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\n# Needed to make symli"..., 151) = 151
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=40582, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40179000
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
brk(0x80e6000)                          = 0x80e6000
brk(0x80e7000)                          = 0x80e7000
read(3, "dule\tJUS_I.B1.002//\t\tINTERNAL\t\tI"..., 4096) = 4096
brk(0x80e8000)                          = 0x80e8000
brk(0x80e9000)                          = 0x80e9000
brk(0x80ea000)                          = 0x80ea000
read(3, "e\tISO-8859-4//\t\tINTERNAL\t\tISO885"..., 4096) = 4096
brk(0x80eb000)                          = 0x80eb000
brk(0x80ec000)                          = 0x80ec000
brk(0x80ed000)                          = 0x80ed000
brk(0x80ee000)                          = 0x80ee000
read(3, "\tISO-IR-103//\t\tT.61-8BIT//\nalias"..., 4096) = 4096
brk(0x80ef000)                          = 0x80ef000
read(3, "1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tcost\nal"..., 4096) = 4096
brk(0x80f0000)                          = 0x80f0000
brk(0x80f1000)                          = 0x80f1000
read(3, "RNAL\t\tIBM500\t\t1\nmodule\tINTERNAL\t"..., 4096) = 4096
brk(0x80f2000)                          = 0x80f2000
brk(0x80f3000)                          = 0x80f3000
brk(0x80f4000)                          = 0x80f4000
brk(0x80f5000)                          = 0x80f5000
brk(0x80f6000)                          = 0x80f6000
read(3, "odule\tINTERNAL\t\tIBM891//\t\tIBM891"..., 4096) = 4096
brk(0x80f7000)                          = 0x80f7000
brk(0x80f8000)                          = 0x80f8000
read(3, "\tBIG5//\nalias\tCN-BIG5//\t\tBIG5//\n"..., 4096) = 4096
brk(0x80f9000)                          = 0x80f9000
brk(0x80fa000)                          = 0x80fa000
brk(0x80fb000)                          = 0x80fb000
read(3, "ost\nalias\tISO_9036//\t\tASMO_449//"..., 4096) = 4096
brk(0x80fc000)                          = 0x80fc000
read(3, "-IR-8-1//\t\tNATS-SEFI//\nalias\tCSN"..., 4096) = 3718
brk(0x80fd000)                          = 0x80fd000
brk(0x80fe000)                          = 0x80fe000
brk(0x80ff000)                          = 0x80ff000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40179000, 4096)                = 0
brk(0x8100000)                          = 0x8100000
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\10"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=6412, ...}) = 0
old_mmap(NULL, 9372, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40179000
mprotect(0x4017b000, 1180, PROT_NONE)   = 0
old_mmap(0x4017b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x4017b000
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0x8101000)                          = 0x8101000
stat64("/usr", {st_mode=S_IFDIR|0755, st_size=408, ...}) = 0
stat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=320, ...}) = 0
stat64("/usr/local/games", {st_mode=S_IFDIR|0755, st_size=96, ...}) = 0
stat64("/usr/local/games/quake3", {st_mode=S_IFDIR|0755, st_size=496, ...}) = 0
chdir("/usr/local/games/quake3")        = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -9, [142], SEEK_CUR)       = 0
fork()                                  = 2246
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8075120, [], 0x4000000}, {SIG_DFL}, 8) = 0
wait4(-1, Q3 1.29h linux-i386 Aug  2 2001
----- FS_Startup -----
Current search path:
/home/gspen/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

----------------------
4060 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Joystick is not active.
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.1
Xlib:  extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: Mesa DRI Voodoo3 20010501 x86/MMX/3DNow!
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
XF86 Gamma extension initialized

GL_VENDOR: VA Linux Systems, Inc.
GL_RENDERER: Mesa DRI Voodoo3 20010501 x86/MMX/3DNow!
GL_VERSION: 1.2 Mesa 3.4.2
GL_EXTENSIONS: GL_ARB_multitexture GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_env_add GL_EXT_texture_object GL_EXT_texture_lod_bias GL_EXT_vertex_array GL_HP_occlusion_test GL_MESA_window_pos GL_MESA_resize_buffers GL_NV_texgen_reflection GL_PGI_misc_hints GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_pixel_texture GL_SGIS_texture_edge_clamp GL_SGIX_pixel_texture
GL_MAX_TEXTURE_SIZE: 256
GL_MAX_ACTIVE_TEXTURES_ARB: 2

PIXELFORMAT: color(16-bits) Z(16-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/lightningnew.shader'
...loading 'scripts/explode1.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/tim.shader'
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
------------------------------------
[WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 2246
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbffff210, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8075120, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "exit 0 \n\n", 151)           = 9
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
_exit(0)                                = ?

-- 
Garett Spencley

I encourage you to encrypt e-mail sent to me using PGP
My public key is available on PGP key servers (http://keyservers.net)
Key fingerprint: 8062 1A46 9719 C929 578C BB4E 7799 EC1A AB12 D3B9


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Q3A segfaults with 2.4.8
       [not found] <Pine.LNX.4.33.0108121643020.9470-100000@boris.prodako.se>
@ 2001-08-12 16:01 ` Garett Spencley
  0 siblings, 0 replies; 5+ messages in thread
From: Garett Spencley @ 2001-08-12 16:01 UTC (permalink / raw)
  To: linux-kernel

On Sun, 12 Aug 2001, Tobias Ringstrom wrote:

> I think you need to use strace -f, or you will only thace the shell
> script.
>
> /Tobias

Oops sorry. I can't believe I did that. Here's the _real_ strace (where
it segfaults).

$ strace ./quake3.x86

[pid 18349] write(2, "\n------- sound initialization --"..., 38
------- sound initialization -------
) = 38
[pid 18349] ipc_subcall(0xffffffff, 0x1f5, 0xffffffff, 0x4026b170) = 0
[pid 18349] open("/dev/dsp", O_RDWR)    = 12
[pid 18349] SYS_199(0x4026c6ec, 0x2, 0x4026d320, 0x4026b170, 0) = 501
[pid 18349] ipc_subcall(0xffffffff, 0x1f5, 0xffffffff, 0x4026b170) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_GETCAPS, 0xbffff6c4) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_SPEED, 0x8161e0c) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_STEREO, 0xbffff6bc) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_SPEED, 0x878c174) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_SETFMT, 0xbffff6b8) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_GETOSPACE, 0xbffff6d0) = 0
[pid 18349] old_mmap(NULL, 65536, PROT_WRITE, MAP_SHARED, 12, 0) = 0x48ef6000
[pid 18349] ioctl(12, SNDCTL_DSP_SETTRIGGER, 0xbffff6bc) = 0
[pid 18349] ioctl(12, SNDCTL_DSP_SETTRIGGER, 0xbffff6bc) = 0
[pid 18349] write(2, "--------------------------------"..., 37------------------------------------
) = 37
[pid 18349] --- SIGSEGV (Segmentation fault) ---
[pid 18349] fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
[pid 18349] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
[pid 18349] ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 18349] write(1, "Received signal 11, exiting...\n", 31) = 31
[pid 18349] write(10, "\211\17\10\0\0\0\0\0\20\'\0\0\20\'\0\0\20\'\0\0\1B_m+l"..., 44) = 44
[pid 18349] read(10, "\1\0.\0\0\0\0\0\37\0\0\0h\365b\10X\353b\10@\0\0\0\350\214"..., 32) = 32
[pid 18349] write(10, "+\17\1\0", 4)    = 4
[pid 18349] read(10, "\1\2/\0\0\0\0\0\4\0\240\1\0\0\0\0\1\0\0\0\0\0\0\0\240\222"..., 32) = 32
[pid 18349] write(10, "\3\17\2\0\2\0\200\1\16\'\2\0\2\0\200\1", 16) = 16
[pid 18349] read(10, "\1\0000\0\3\0\0\0/\0\0\0\1\0\0\1\377\377\377\377\0\0\0"..., 32) = 32
[pid 18349] read(10, "O \3\0O \3\0\0\0~\10", 12) = 12
[pid 18349] read(10, "\1\0201\0\0\0\0\0M\0\0\0\0\0\0\0\200\2\340\1\0\0\0\0\240"..., 32) = 32
[pid 18349] ioctl(11, 0x4008642a, 0xbffff224) = 0
[pid 18349] munmap(0x48ed5000, 135168)  = 0
[pid 18349] munmap(0x48e82000, 339968)  = 0
[pid 18349] write(10, "\202\6\3\0\0\0\0\0\3\0\200\1\201\4\2\0\4\0\200\1\4B\2\0"..., 32) = 32
[pid 18349] read(10, "\22c4\0\2\0\200\1\2\0\200\1\0\3\16@\0\0\16\5\0\5\377\7"..., 32) = 32
[pid 18349] read(10, "\21E4\0\2\0\200\1\2\0\200\1\354\266\30@\220D\220\10@\234"..., 32) = 32
[pid 18349] read(10, "\1\0005\0\0\0\0\0\2\0\1\0\0\350\220\10\254\253\225\10\320"..., 32) = 32
[pid 18349] write(10, "\211\16\2\0\2\0\0\0\211\n\r\0\0\0\0\0\340\245\1\0\0\005"..., 104) = 104
[pid 18349] read(10, "\1\2:\0\0\0\0\0\4\0\240\1\0\0\0\0\0\0\0\0\0\0\0\0\240\222"..., 32) = 32
[pid 18349] munmap(0x48e41000, 266240)  = 0
[pid 18349] shutdown(10, 2 /* send and receive */) = 0
[pid 18349] close(10)                   = 0
[pid 18349] munmap(0x46e41000, 33554432) = 0
[pid 18349] munmap(0x4001d000, 4096)    = 0
[pid 18349] munmap(0x44e41000, 33554432) = 0
[pid 18349] fstat64(11, {st_mode=S_IFCHR|0666, st_rdev=makedev(226, 0), ...}) = 0
[pid 18349] fstat64(11, {st_mode=S_IFCHR|0666, st_rdev=makedev(226, 0), ...}) = 0
[pid 18349] close(11)                   = 0
[pid 18349] _exit(0)                    = ?
<... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 18349
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbffff200, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8075120, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "exit 0 \n\n", 151)           = 9
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
_exit(0)                                = ?

-- 
Garett Spencley

I encourage you to encrypt e-mail sent to me using PGP
My public key is available on PGP key servers (http://keyservers.net)
Key fingerprint: 8062 1A46 9719 C929 578C BB4E 7799 EC1A AB12 D3B9


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-12 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-12  1:48 Q3A segfaults with 2.4.8 Garett Spencley
2001-08-12  3:04 ` Daniel T. Chen
2001-08-12  6:42 ` J Sloan
     [not found] <Pine.LNX.4.10.10108120314450.5761-100000@coffee.psychology.mcmaster.ca>
2001-08-12 14:40 ` Garett Spencley
     [not found] <Pine.LNX.4.33.0108121643020.9470-100000@boris.prodako.se>
2001-08-12 16:01 ` Garett Spencley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox