pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55147: pkgsrc Xorg dumps core



>Number:         55147
>Category:       pkg
>Synopsis:       pkgsrc Xorg dumps core
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 06 11:10:00 +0000 2020
>Originator:     Hauke Fath
>Release:        NetBSD 9.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD localhost 9.0_STABLE NetBSD 9.0_STABLE (HP2170P) #1: Fri Apr 3 22:39:54 CEST 2020 hauke@localhost:/var/obj/netbsd-builds/9/amd64/sys/arch/amd64/compile/HP2170P amd64
Architecture: x86_64
Machine: amd64
>Description:

	With a current pkgsrc xorg installation
	(modular-xorg-server-1.20.8, xf86-video-intel-2.99.917nb7),
	the X server dumps core early:

[hauke@localhost] ~ # gdb /usr/pkg/bin/Xorg X.core 
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/Xorg...
[New process 1]
[New process 2]
Core was generated by `X'.
Program terminated with signal SIGABRT, Aborted.
#0  0x0000773b58b8353a in _lwp_kill () from /usr/lib/libc.so.12
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x0000773b58b8353a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x0000773b58b831e9 in abort () from /usr/lib/libc.so.12
#2  0x000000000056b30b in OsAbort () at utils.c:1351
#3  0x000000000056faea in AbortServer () at log.c:879
#4  0x0000000000570815 in FatalError (f=f@entry=0x5aa750 "Caught signal %d (%s). Server aborting\n") at log.c:1017
#5  0x00000000005686b3 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at osinit.c:156
#6  <signal handler called>
#7  0x0000000000000000 in ?? ()
#8  0x0000773b5381cab1 in kgem_retire (kgem=kgem@entry=0x773b5cca9000) at kgem.c:2789
#9  0x0000773b5381e26c in kgem_cleanup_cache (kgem=0x773b5cca9000) at kgem.c:4023
#10 0x0000773b5381e3c4 in __kgem_bo_map__cpu (kgem=kgem@entry=0x773b5cca9000, bo=0x773b5d014320) at kgem.c:536
#11 0x0000773b5381e3fd in kgem_bo_map__cpu (kgem=kgem@entry=0x773b5cca9000, bo=<optimized out>) at kgem.c:6347
#12 0x0000773b53821f40 in kgem_bo_map__cpu (bo=<optimized out>, kgem=0x773b5cca9000) at kgem.c:1458
#13 kgem_new_batch (kgem=kgem@entry=0x773b5cca9000) at kgem.c:1471
#14 0x0000773b5382282f in kgem_init (kgem=kgem@entry=0x773b5cca9000, fd=<optimized out>, dev=<optimized out>, gen=gen@entry=56) at kgem.c:1631
#15 0x0000773b53867e8a in sna_pre_init (scrn=0x773b5cd61000, probe=<optimized out>) at sna_driver.c:651
#16 0x000000000046aff5 in InitOutput (pScreenInfo=pScreenInfo@entry=0x81bd20 <screenInfo>, argc=argc@entry=4, argv=argv@entry=0x7f7fff3ed228) at xf86Init.c:523
#17 0x0000000000432ffb in dix_main (argc=4, argv=0x7f7fff3ed228, envp=<optimized out>) at main.c:193
#18 0x000000000041eddd in ___start ()
#19 0x00007f7eada0ea18 in ?? () from /usr/libexec/ld.elf_so
#20 0x0000000000000004 in ?? ()
#21 0x00007f7fff3ed8a8 in ?? ()
#22 0x00007f7fff3ed8b7 in ?? ()
#23 0x00007f7fff3ed8ba in ?? ()
#24 0x00007f7fff3ed8c0 in ?? ()
#25 0x0000000000000000 in ?? ()
(gdb) 

	From dmesg:
[     1.000003] cpu0: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz, id 0x306a9

[...]

[     9.184265] kern info: [drm] Memory usable by graphics device = 2048M
[     9.212940] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     9.239455] kern info: [drm] Driver supports precise vblank timestamp query.
[     9.265435] kern info: [drm] failed to find VBIOS tables
[     9.291128] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[     9.342221] intelfb0 at i915drmkms0
[     9.373242] intelfb0: framebuffer at 0xffffbb00ae513000, size 1366x768, depth 32, stride 5504
[     9.632353] kern error: [drm:(/local/source/netbsd-9/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:230)cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A
[     9.686722] kern error: [drm:(/local/source/netbsd-9/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:381)intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder A FIFO underrun
[    10.062552] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[    10.082712] wsmux1: connecting to wsdisplay0


	
>How-To-Repeat:

	Start pkgsrc xinit or xdm on an intel-graphics netbsd-9 machine.

	
>Fix:
	

	Yes, please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index