Current-Users archive

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

Re: Very recent NetBSD-current Xorg panic





On 08 January 2023 12:15:12 (+00:00), Martin Husemann wrote:

> On Sun, Jan 08, 2023 at 11:28:18AM +0000, Chavdar Ivanov wrote:
> > This morning I upgraded the instance to my yesterday's build - as of
> > 07/01/2023. Now Xorg dumps core as follows:
> > Can you show the output of > > readelf -l /usr/X11R7/lib/modules/dri/i965_dri.so > > for the new build? It probably has 4 LOAD sections now, while the old
> one only had 2.

Correct:



# readelf -l /usr/X11R7/lib/modules/dri/i965_dri.so

Elf file type is DYN (Shared object file)
Entry point 0x0
There are 9 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000000040 0x0000000000000040
                 0x00000000000001f8 0x00000000000001f8  R      0x8
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x000000000007ec68 0x000000000007ec68  R      0x1000
  LOAD           0x000000000007f000 0x000000000007f000 0x000000000007f000
                 0x00000000007c04be 0x00000000007c04be  R E    0x1000
  LOAD           0x0000000000840000 0x0000000000840000 0x0000000000840000
                 0x00000000001c9c72 0x00000000001c9c72  R      0x1000
  LOAD           0x0000000000a0a090 0x0000000000a0a090 0x0000000000a0a090
                 0x00000000000aa8e8 0x00000000001f6078  RW     0x1000
  DYNAMIC        0x0000000000a7ecb8 0x0000000000a7ecb8 0x0000000000a7ecb8
                 0x0000000000000280 0x0000000000000280  RW     0x8
  NOTE           0x0000000000000238 0x0000000000000238 0x0000000000000238
                 0x0000000000000050 0x0000000000000050  R      0x4
  GNU_EH_FRAME   0x00000000009684d8 0x00000000009684d8 0x00000000009684d8
                 0x000000000001c8c4 0x000000000001c8c4  R      0x4
  GNU_RELRO      0x0000000000a0a090 0x0000000000a0a090 0x0000000000a0a090
                 0x0000000000074f70 0x0000000000074f70  R      0x1

 Section to Segment mapping:
  Segment Sections...
   00
01 .note.gnu.build-id .note.netbsd.ident .note.netbsd.pax .hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt
   02     .init .plt .plt.got .text .fini
   03     .rodata .eh_frame_hdr .eh_frame .gcc_except_table
04 .init_array .fini_array .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
   05     .dynamic
   06     .note.gnu.build-id .note.netbsd.ident .note.netbsd.pax
   07     .eh_frame_hdr
08 .init_array .fini_array .ctors .dtors .jcr .data.rel.ro .dynamic .got >
> Martin

> I downgraded the system to the version from 03/01, it works fine; it might be interesting to mention that multimedia/obs, compiled on the version from 07/01, does not work on the version from 03/01, even if it reports the same 10.99.2:



$ uname -a
NetBSD tarkus.lorien.lan 10.99.2 NetBSD 10.99.2 (GENERIC) #4: Tue Jan 3 20:39:31 GMT 2023 sysbuild%ymir.lorien.lan@localhost:/home/sysbuild/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
$ file /usr/pkg/bin/obs
/usr/pkg/bin/obs: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 10.99.2, stripped
$ ldd /usr/pkg/bin/obs
ldd: /usr/pkg/bin/obs: invalid ELF class 2; expected 1
$ /usr/pkg/bin/obs
/usr/pkg/bin/obs: Shared object "libobs-frontend-api.so.0" not found

As far as I understand it, there was a change with the dynamic loader at this time? BTW, I tried backing out sys/dev/ic/igpioreg.h, as mentioned above, it didn't make any difference.
--
----
Chavdar Ivanov


Home | Main Index | Thread Index | Old Index