Hello openbsd-misc,

I'm trying to run mupen64plus with Mario Kart 64 rom on OpenBSD
6.1-current. mupen64plus dumps core eventually with error in DMESG:

--
"error:
[drm:pid38441:intel_pipe_config_compare] *ERROR* mismatch in
gmch_pfit.lvds_border_bits (expected 32768, found 0)
pipe state doesn't match!
--

there's a visible brief resolution change to 800x600  and/or change to
"black" splash screen and then it gets back to xterm in i3.

I can see the same behavior in 6.1-stable. I don't remember exactly when
this broke, I think I've played on 6.0-current and 6.1-current (before
release). Would it be useful to try to pinpoint release where it still works?

I've recompiled mupen64plus with debug symbols to provide more useful
backtrace (Down below), but producing that backtrace crashes gdb, that
one dumps core too. This backtrace (without debug symbols) is included
too. Should I recompile gdb too?

What can I do to make this work again?

Thank you for cluestick,
Jan

P.S. I don't seem to be able to get mail through to ports@ - Have I
broken some netiquette before? (I'm sorry) I seem to be subscribed ...

### mupen64 console log
 __  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 2.5.0

UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.0
UI-Console:             Includes support for Dynamic Recompiler.
Core: Goodname: Mario Kart 64 (E) (V1.1) [!]
Core: Name: MARIOKART64
Core: MD5: 2BB149A583FDEFEA96805F628FE42FD9
Core: CRC: 2577C7D4 D18FAAAE
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: Unknown (0x150)
UI-Console Status: Cheat codes disabled.
UI-Console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice
UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.5.0
UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.0
UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP
Input: 0 SDL joysticks were found.
Input: N64 Controller #1: Forcing default keyboard configuration
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptsupport
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptsupport
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptsupport
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
hapsupport
Input: Mupen64Plus SDL Input Plugin version 2.5.0 initialized.
Core Status: Selected state slot: 1
Video: SSE processing enabled.
Video: ROM (CRC d4c77725aeaa8fd1-50) not found in INI file
Video: Enabled hacks for game: 'MARIOKART64'
Video: Initializing OpenGL Device Context.
Core: Setting 32-bit video mode: 800x600
Video Warning: Failed to set GL_SWAP_CONTROL to 0. (it's 32)
Video Warning: Failed to set GL_DEPTH_SIZE to 16. (it's 24)
Video: Using OpenGL: Intel Open Source Technology Center - Mesa DRI
Intel(R) 945GME x86/MMX/SSE2 : 2.1 Mesa 13.0.6
Audio: Initializing SDL audio subsystem...
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptic (force feedback) support
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptic (force feedback) support
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptic (force feedback) support
Input Error: Couldn't init SDL haptic subsystem: SDL not built with
haptic (force feedback) support
Core: Starting R4300 emulator: Dynamic Recompiler
Core Error: VidExt_ResizeWindow() called in fullscreen mode.
Core Error: VidExt_ResizeWindow() called in fullscreen mode.
Video Error: Failed to set 32-bit video mode: 800x600
Segmentation fault (core dumped)

### dmesg
OpenBSD 6.1-current (GENERIC.MP) #47: Thu May  4 12:06:47 MDT 2017
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class)
1.61 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
real mem  = 2138193920 (2039MB)
avail mem = 2084450304 (1987MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 06/11/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev.
2.5 @ 0xf0710 (30 entries)
bios0: vendor American Megatrends Inc. version "2103" date 06/11/2009
bios0: ASUSTeK Computer INC. 901
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) P0P4(S4) P0P6(S4) P0P7(S4)
P0P8(S4) P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class)
1.60 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P4)
acpiprt2 at acpi0: bus 3 (P0P6)
acpiprt3 at acpi0: bus 1 (P0P7)
acpiprt4 at acpi0: bus -1 (P0P8)
acpiprt5 at acpi0: bus -1 (P0P9)
acpiprt6 at acpi0: bus 4 (P0P5)
acpiec0 at acpi0
acpicpu0 at acpi0: !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 85 degC
"PNP0303" at acpi0 not configured
"SYN0A04" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "901" serial   type LION oem "ASUS"
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
bios0: ROM list: 0xc0000/0xec00!
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
inteldrm0 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0: apic 2 int 16
inteldrm0: 1024x600, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 2 int
16
pci1 at ppb0 bus 5
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 2 int
17
pci2 at ppb1 bus 4
ale0 at pci2 dev 0 function 0 "Attansic Technology L1E" rev 0xb0:
AR8113, msi, address 00:22:15:36:2d:7f
atphy0 at ale0 phy 0: F1 10/100/1000 PHY, rev. 9
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 2 int
18
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 2 int
19
pci4 at ppb3 bus 1
ral0 at pci4 dev 0 function 0 "Ralink RT2790" rev 0x00: apic 2 int 19,
address 00:15:af:bc:da:cb
ral0: MAC/BBP RT2872 (rev 0x0200), RF RT2720 (MIMO 1T2R)
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int
23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int
22
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int
21
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int
20
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int
23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 6
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 1: <RunCore 32G-C SSD>
wd0: 1-sector PIO, LBA48, 30800MB, 63078400 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide0 channel 1 drive 0: <ASUS-PHISON SSD>
wd1: 1-sector PIO, LBA, 3847MB, 7880544 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 2
int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Elantech Touchpad, version 2, firmware 0x20030
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 4 configuration 1 interface 0 "Kingston DT Micro"
rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Kingston, DT Micro, PMAP> SCSI2 0/direct
removable serial.0951168aBD3089060026
sd0: 14996MB, 512 bytes/sector, 30712320 sectors
umass1 at uhub0 port 5 configuration 1 interface 0 "Generic Mass Storage
Device" rev 2.00/1.05 addr 3
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Single, Flash Reader, 1.00> SCSI0
0/direct removable serial.058f6335058F63356336
sd1: 1876MB, 512 bytes/sector, 3842048 sectors
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct
fixed
sd2: 30796MB, 512 bytes/sector, 63070598 sectors
softraid0: volume sd2 is roaming, it used to be sd1, updating metadata
root on sd2a (dc989ffd011ca273.a) swap on sd2b dump on sd2b
error: [drm:pid38441:intel_pipe_config_compare] *ERROR* mismatch in
gmch_pfit.lvds_border_bits (expected 32768, found 0)
pipe state doesn't match!


### mupen64plus  backtrace
[16:01][janus@maya:~]$ gdb $(which mupen64plus) mupen64plus.core
GNU gdb 6.3
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 "i386-unknown-openbsd6.1"...
Core was generated by `mupen64plus'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.23.0...done.
Loaded symbols for /usr/lib/libpthread.so.23.0
Loaded symbols for /usr/local/bin/mupen64plus
Reading symbols from /usr/local/lib/libSDL2.so.0.3...done.
Loaded symbols for /usr/local/lib/libSDL2.so.0.3
Symbols already loaded for /usr/lib/libpthread.so.23.0
Reading symbols from /usr/lib/libc.so.89.5...done.
Loaded symbols for /usr/lib/libc.so.89.5
Reading symbols from /usr/lib/libm.so.10.0...done.
Loaded symbols for /usr/lib/libm.so.10.0
Reading symbols from /usr/lib/libsndio.so.6.1...done.
Loaded symbols for /usr/lib/libsndio.so.6.1
Reading symbols from /usr/lib/libusbhid.so.7.0...done.
Loaded symbols for /usr/lib/libusbhid.so.7.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/libmupen64plus.so.2.3...done.
Loaded symbols for /usr/local/lib/libmupen64plus.so.2.3
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libpng.so.17.3...done.
Loaded symbols for /usr/local/lib/libpng.so.17.3
Reading symbols from /usr/X11R6/lib/libfreetype.so.28.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.28.0
Reading symbols from /usr/X11R6/lib/libGL.so.17.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.17.1
Reading symbols from /usr/X11R6/lib/libGLU.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.9.0
Reading symbols from /usr/local/lib/libestdc++.so.17.0...done.
Loaded symbols for /usr/local/lib/libestdc++.so.17.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/X11R6/lib/libglapi.so.0.2...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.2
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0
Reading symbols from /usr/X11R6/lib/libdrm.so.7.4...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.4
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from
/usr/local/lib/mupen64plus/mupen64plus-video-rice.so...done.
Loaded symbols for /usr/local/lib/mupen64plus/mupen64plus-video-rice.so
Reading symbols from
/usr/local/lib/mupen64plus/mupen64plus-audio-sdl.so...done.
Loaded symbols for /usr/local/lib/mupen64plus/mupen64plus-audio-sdl.so
Reading symbols from /usr/local/lib/libspeexdsp.so.1.0...done.
Loaded symbols for /usr/local/lib/libspeexdsp.so.1.0
Reading symbols from /usr/local/lib/libsamplerate.so.2.1...done.
Loaded symbols for /usr/local/lib/libsamplerate.so.2.1
Reading symbols from
/usr/local/lib/mupen64plus/mupen64plus-input-sdl.so...done.
Loaded symbols for /usr/local/lib/mupen64plus/mupen64plus-input-sdl.so
Reading symbols from
/usr/local/lib/mupen64plus/mupen64plus-rsp-hle.so...done.
Loaded symbols for /usr/local/lib/mupen64plus/mupen64plus-rsp-hle.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.1...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.1
Reading symbols from /usr/X11R6/lib/libXss.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXss.so.6.0
Reading symbols from /usr/X11R6/lib/modules/dri/i915_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/i915_dri.so
Reading symbols from /usr/X11R6/lib/libdrm_intel.so.5.4...done.
Loaded symbols for /usr/X11R6/lib/libdrm_intel.so.5.4
Reading symbols from /usr/X11R6/lib/libpciaccess.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.2.0
Reading symbols from /usr/X11R6/lib/libdrm_radeon.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libdrm_radeon.so.4.0
Reading symbols from /usr/X11R6/lib/libtxc_dxtn.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libtxc_dxtn.so.0.0
#0  0x0f5592b1 in ViStatusChanged () at ../../src/Video.cpp:798
798         CRender::g_pRender->UpdateClipRectangle();
(gdb) backtrace
#0  0x0f5592b1 in ViStatusChanged () at ../../src/Video.cpp:798
#1  0x0746fe7d in write_vi_regs (opaque=0x2745f2c0, address=2755657728,
value=77846, mask=4294967295)
    at ../../src/vi/vi_controller.c:75
#2  0x07442fbd in writew (write_word=0x746fe16 <write_vi_regs>,
opaque=0x2745f2c0, address=2755657728, value=77846)
    at ../../src/memory/memory.c:152
#3  0x074445d0 in write_vi () at ../../src/memory/memory.c:653
#4  0x061a77b3 in ?? ()
#5  0x0742f57f in CoreShutdown () at ../../src/api/frontend.c:119
/usr/src/gnu/usr.bin/binutils/gdb/dwarf2-frame.c:822: internal-error:
Unknown register rule.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
/usr/src/gnu/usr.bin/binutils/gdb/dwarf2-frame.c:822: internal-error:
Unknown register rule.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Abort trap (core dumped)

### gdb core  / backtrace
[16:02][janus@maya:~]$ gdb $(which gdb) gdb.core
GNU gdb 6.3
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 "i386-unknown-openbsd6.1"...(no debugging
symbols found)

Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
(no debugging symbols found)
Loaded symbols for /usr/bin/gdb
Reading symbols from /usr/lib/libreadline.so.4.0...done.
Loaded symbols for /usr/lib/libreadline.so.4.0
Reading symbols from /usr/lib/libiberty.so.12.0...done.
Loaded symbols for /usr/lib/libiberty.so.12.0
Reading symbols from /usr/lib/libncurses.so.14.0...done.
Loaded symbols for /usr/lib/libncurses.so.14.0
Reading symbols from /usr/lib/libm.so.10.0...done.
Loaded symbols for /usr/lib/libm.so.10.0
Reading symbols from /usr/lib/libkvm.so.16.2...done.
Loaded symbols for /usr/lib/libkvm.so.16.2
Reading symbols from /usr/lib/libc.so.89.5...done.
Loaded symbols for /usr/lib/libc.so.89.5
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x0fd93797 in thrkill () at {standard input}:5
5       {standard input}: No such file or directory.
        in {standard input}
(gdb) backtrace
#0  0x0fd93797 in thrkill () at {standard input}:5
#1  0x0fd98861 in *_libc_raise (s=6) at /usr/src/lib/libc/gen/raise.c:37
#2  0x0fd7d07c in *_libc_abort () at /usr/src/lib/libc/stdlib/abort.c:52
#3  0x14f7b24b in xfree () from /usr/bin/gdb
#4  0x14f7b460 in xfree () from /usr/bin/gdb
#5  0x14f7b4b0 in xfree () from /usr/bin/gdb
#6  0x1505a82d in dwarf2_frame_sniffer () from /usr/bin/gdb
#7  0x14f80e71 in fputs_unfiltered () from /usr/bin/gdb
#8  0x14f81172 in fputs_unfiltered () from /usr/bin/gdb
#9  0x14f85618 in terminal_init_inferior () from /usr/bin/gdb
#10 0x1501dab5 in readline_line_completion_function () from /usr/bin/gdb
#11 0x14fd9961 in generic_target_write_pc () from /usr/bin/gdb
#12 0x14f826f8 in fputs_unfiltered () from /usr/bin/gdb
#13 0x14f803f2 in fputs_unfiltered () from /usr/bin/gdb
#14 0x1501027d in default_print_registers_info () from /usr/bin/gdb
#15 0x15010dbe in default_print_registers_info () from /usr/bin/gdb
#16 0x150110c1 in default_print_registers_info () from /usr/bin/gdb
#17 0x14fa6879 in ax_ext () from /usr/bin/gdb
#18 0x14fa6a6a in not_just_help_class_command () from /usr/bin/gdb
#19 0x14f79749 in show_commands () from /usr/bin/gdb
#20 0x15016094 in set_async_prompt () from /usr/bin/gdb
#21 0x15016fc5 in set_async_annotation_level () from /usr/bin/gdb
#22 0x0974d44f in rl_callback_read_char () at
/usr/src/gnu/lib/libreadline/callback.c:123
#23 0x15016267 in set_async_prompt () from /usr/bin/gdb
#24 0x15016924 in stdin_event_handler () from /usr/bin/gdb
#25 0x15015988 in gdb_do_one_event () from /usr/bin/gdb
#26 0x15014d97 in standard_macro_lookup () from /usr/bin/gdb
#27 0x1501562e in gdb_do_one_event () from /usr/bin/gdb
#28 0x14f77d11 in core_file_command () from /usr/bin/gdb
#29 0x14f79d05 in quit_cover () from /usr/bin/gdb
---Type <return> to continue, or q <return> to quit---
#30 0x14f79d92 in quit_cover () from /usr/bin/gdb
#31 0x14fb7c25 in mi_load_progress () from /usr/bin/gdb
#32 0x15012862 in delete_step_resume_breakpoint () from /usr/bin/gdb
#33 0x14f6e617 in main () from /usr/bin/gdb
Current language:  auto; currently asm



Reply via email to