>Synopsis: gnome-shell segfaults in Mesa on startup >Environment: System : OpenBSD 5.9 Details : OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64 Machine : amd64 >Description: When starting gnome-shell on a Thinkpad T500 it crashes with the following backtrace. This system was updated from 5.8 to 5.9. Both gdm and gnome worked in 5.7. Since 5.8 gdm failed to start (always showed its "Ooops" screen) for some reason which could not be determined (problem reported to aja@ back then). In 5.8 xdm could be used as a workaround to start a gnome session, so I did that and forgot about the problem. Now, in 5.9, gnome won't start up at all anymore, even from xdm. gdm still shows "Ooops". The backtrace is similar to this one which was reported for radeon last December: http://marc.info/?l=openbsd-bugs&m=145071127402451&w=2 Could this be a regression in Mesa or inteldrm, perhaps? Perhaps the circumstance that dmesg from both reports shows 8GB of RAM is significant? (gdb) run Starting program: /usr/local/bin/gnome-shell Program received signal SIGSEGV, Segmentation fault. 0x00001746c266aaa0 in ?? () (gdb) bt #0 0x00001746c266aaa0 in ?? () #1 0x00001746e7cef93d in _mesa_map_function_spec () at glsl_symbol_table.h:45 #2 0x00001746e7cef9b2 in _mesa_init_remap_table () at glsl_symbol_table.h:45 #3 0x00001746e7c25825 in _mesa_initialize_context () from /usr/X11R6/lib/modules/dri/i965_dri.so #4 0x00001746e7f33a01 in brwCreateContext () at brw_reg.h:271 #5 0x00001746e7ee2112 in driCreateContextAttribs () at brw_vec4_nir.cpp:30 #6 0x00001746e7ee229b in driCreateNewContextForAPI () at brw_vec4_nir.cpp:30 #7 0x000017475710e236 in dri2_create_context () from /usr/X11R6/lib/libGL.so.16.0 #8 0x00001747571148cf in CreateContext () from /usr/X11R6/lib/libGL.so.16.0 #9 0x0000174757114b99 in glXCreateNewContext () from /usr/X11R6/lib/libGL.so.16.0 #10 0x000017470aeae746 in _cogl_winsys_display_setup () from /usr/local/lib/libcogl.so.3.1 #11 0x000017470ae6724f in cogl_display_setup () from /usr/local/lib/libcogl.so.3.1 #12 0x000017470ae66a99 in cogl_renderer_check_onscreen_template () from /usr/local/lib/libcogl.so.3.1 #13 0x000017477680ae62 in check_onscreen_template () from /usr/local/lib/libclutter-1.0.so.6.0 #14 0x000017477680afb1 in clutter_backend_x11_get_display () ---Type <return> to continue, or q <return> to quit--- from /usr/local/lib/libclutter-1.0.so.6.0 #15 0x0000174776837678 in clutter_backend_real_create_context () from /usr/local/lib/libclutter-1.0.so.6.0 #16 0x0000174776850793 in _clutter_feature_init () from /usr/local/lib/libclutter-1.0.so.6.0 #17 0x0000174776862edc in clutter_init_real () from /usr/local/lib/libclutter-1.0.so.6.0 #18 0x0000174776863370 in post_parse_hook () from /usr/local/lib/libclutter-1.0.so.6.0 #19 0x000017470f5ed34e in g_option_context_parse () from /usr/local/lib/libglib-2.0.so.4200.2 #20 0x00001747768630a9 in clutter_init () from /usr/local/lib/libclutter-1.0.so.6.0 #21 0x00001746ec4c862f in meta_clutter_init () from /usr/local/lib/libmutter.so.1.0 #22 0x00001746ec4fe2a0 in meta_init () from /usr/local/lib/libmutter.so.1.0 #23 0x0000174483f03308 in main () from /usr/local/bin/gnome-shell (gdb) dmesg: OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8461684736 (8069MB) avail mem = 8201039872 (7821MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries) bios0: vendor LENOVO version "6FET46WW (1.16 )" date 09/24/2008 bios0: LENOVO 2089A55 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.28 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu0: 3MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 265MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu1: 3MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T4621" serial 1923 type LION oem "SANYO" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK docked (15) cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 inteldrm0: msi inteldrm0: 1680x1050 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 00:1c:25:97:4e:a1 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi azalia0: codecs: Conexant CX20561 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO 3T3R, MoW, address 00:16:ea:ec:c8:0a ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: msi pci4 at ppb3 bus 13 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int 16 "Ricoh 5C832 Firewire" rev 0x04 at pci5 dev 0 function 1 not configured sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int 18 sdmmc0 at sdhc0 "Ricoh 5C843 MMC" rev 0x11 at pci5 dev 0 function 3 not configured "Ricoh 5C592 Memory Stick" rev 0x11 at pci5 dev 0 function 4 not configured "Ricoh 5C852 xD" rev 0x11 at pci5 dev 0 function 5 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03 ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2 ahci0: port 0: 3.0Gb/s ahci0: port 1: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD3200BEKT-0, 01.0> SCSI3 0/direct fixed naa.50014ee602f656a1 sd0: 305245MB, 512 bytes/sector, 625142448 sectors cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-U20N, HX10> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1 int 23 iic0 at ichiic0 usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 wsmouse1 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 aps0 at isa0 port 0x1600/31 uhub8 at uhub0 port 5 "IBM product 0x4485" rev 2.00/0.01 addr 2 uhub9 at uhub8 port 1 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 uaudio0 at uhub8 port 2 configuration 1 interface 0 "Logitech Logitech H555 Headset" rev 2.00/1.00 addr 4 uaudio0: audio rev 1.00, 7 mixer controls audio1 at uaudio0 uhidev0 at uhub8 port 3 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/27.20 addr 5 uhidev0: iclass 3/1 ums0 at uhidev0: 8 buttons, Z and W dir wsmouse2 at ums0 mux 0 ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2 ugen1 at uhub3 port 2 "Lenovo Computer Corp ThinkPad Bluetooth with Enhanced Data Rate II" rev 2.00/3.99 addr 3 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (74063fa10b9a1358.a) swap on sd0b dump on sd0b usbdevs: Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 2: high speed, self powered, config 1, product 0x4485(0x4485), IBM(0x04b3), rev 0.01 port 1 addr 3: high speed, self powered, config 1, product 0x2514(0x2514), Standard Microsystems(0x0424), rev 0.00 port 1 powered port 2 powered port 3 powered port 4 powered port 2 addr 4: full speed, power 100 mA, config 1, Logitech H555 Headset(0x0a1b), Logitech(0x046d), rev 1.00 port 3 addr 5: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc050), Logitech(0x046d), rev 27.20 port 4 powered port 6 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, Fingerprint Sensor(0x2810), AuthenTec(0x08ff), rev 17.03 port 2 addr 3: full speed, self powered, config 1, ThinkPad Bluetooth with Enhanced Data Rate II(0x2145), Lenovo Computer Corp(0x0a5c), rev 3.99 Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb5: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb6: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb7: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered