W^X is now mandatory.

Please follow the following:

"W^X violating programs can be permitted on a ffs/nfs filesystem-basis,
using the "wxallowed" mount option.  One day far in the future
upstream software developers will understand that W^X violations are a
tremendously risky practice and that style of programming will be
banished outright.  Until then, we recommend most users need to use the
wxallowed option on their /usr/local filesystem. [...]"



On 29 May 2016 at 14:31, lvdd <lists-open...@sordn.de> wrote:
> Hi,
>
> I am having trouble with chromium, firefox and otter-browser since the
> upgrade to the latest amd64 snapshot (28th).
>
> Chromium shows me an "Aw Snap" right from the start and for everything
> (even the settings page) so it is currently completely unusable. This
> also happens with a new user and fresh profile. The console shows the
> following messages:
>
> chromium-50.0.2661.102 (installed)
>
> $chrome
> [66535:432215264:0529/130552:ERROR:process_posix.cc(195)] Not
> implemented reached in bool (anonymous
> namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *,
> base::TimeDelta)
> [66535:1613461560:0529/130552:ERROR:linux_util.cc(122)] Not implemented
> reached in std::string base::GetLinuxDistro()
> Received signal 11 SEGV_MAPERR 000000000010
> [end of stack trace]
> [66535:-65538504:0529/130552:ERROR:process_posix.cc(195)] Not
> implemented reached in bool (anonymous
> namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *,
> base::TimeDelta)
> [66535:-65538504:0529/130601:ERROR:network_interfaces_posix.cc(63)] Not
> implemented reached in bool net::GetNetworkList(NetworkInterfaceList *,
> int)
>
> Firefox starts up and is usable but crashes hard and leaves a
> core-file when saving files to the filesystem. When I go to a random
> website (e.g. openbsd.org) and use "Save Image As" on the bannerI get
> the folder picker and as soon as I press "save" the browser crashes. The
> image is saved to the filesystem though. This is what the console shows:
>
> firefox-46.0.1 (installed)
>
> $firefox
> firefox:/usr/lib/libsqlite3.so.32.0:
/usr/local/lib/firefox-46.0.1/libmozsqlite3.so.64.0 :
> WARNING: symbol(sqlite3_version) size mismatch, relink your program
>
> (firefox:52435): libnotify-WARNING **: Failed to connect to proxy
> Segmentation fault (core dumped)
>
> Sometimes I get a "Bus Error" instead of the segmentation fault.
>
> To test things further I also tried the otter-browser and this won't
> even start. It segfaults right away leaving a core file as well.
>
> I also get a ton of "chrome(86896): mmap W^X violation" and
> "otter-browser(50154): mmap W^X violation" messages in
> dmesg.
>
> The only browser working for me in the moment is firefox-esr
> (firefox-esr-45.1.1 (installed)).
>
> As I said I have tried also with a newly created user so the
> profiles are empty and no extension having a chance to mess things up.
> I wonder if I am the only one having these issues. I will continue
> following future snapshots and updated packages as soon as they are
> available, as I hope this has been solved in newer packages.
>
> Maybe somebody has a solution already? If you need more info for
> debugging just ping me and ask.
>
> Thanks a lot
> Lars
>
> Here is my dmesg for completeness:
>
> OpenBSD 6.0-beta (GENERIC.MP) #2131: Fri May 27 21:04:15 MDT 2016
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8440098816 (8049MB)
> avail mem = 8179703808 (7800MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec2f0 (67 entries)
> bios0: vendor American Megatrends Inc. version "0806" date 12/14/2015
> bios0: ASUS All Series
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT MCFG HPET SSDT SSDT
> BGRT
> acpi0: wakeup devices UAR1(S4) PS2K(S4) PXSX(S4) RP01(S4) PXSX(S4)
> RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
> RP06(S4) PXSX(S4) RP07(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.89 MHz
> cpu0:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AV
X2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.46 MHz
> cpu1:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AV
X2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.46 MHz
> cpu2:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AV
X2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.46 MHz
> cpu3:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AV
X2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (RP01)
> acpiprt2 at acpi0: bus 3 (RP03)
> acpiprt3 at acpi0: bus 1 (PEG0)
> acpiprt4 at acpi0: bus -1 (PEG1)
> acpiprt5 at acpi0: bus -1 (PEG2)
> acpiec0 at acpi0: not present
> acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpipwrres0 at acpi0: FN00, resource for FAN0
> acpipwrres1 at acpi0: FN01, resource for FAN1
> acpipwrres2 at acpi0: FN02, resource for FAN2
> acpipwrres3 at acpi0: FN03, resource for FAN3
> acpipwrres4 at acpi0: FN04, resource for FAN4
> acpitz0 at acpi0: critical temperature is 105 degC
> acpitz1 at acpi0: critical temperature is 105 degC
> "INT3F0D" at acpi0 not configured
> "PNP0501" at acpi0 not configured
> acpibtn0 at acpi0: PWRB
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0A0A" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD1F
> cpu0: Enhanced SpeedStep 3691 MHz: speeds: 3700, 3500, 3300, 3100,
> 2900, 2700, 2500, 2300, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800
> MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
> ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
> pci1 at ppb0 bus 1
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
> drm0 at inteldrm0
> inteldrm0: msi
> error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving
> up
> error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving
> up
> error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving
> up
> error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving
> up
> error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving
> up
> inteldrm0: 1024x768
> error: [drm:pid0:intel_dp_set_idle_link_train] *ERROR* Timed out
> waiting for DP idle patterns
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
> azalia0: No codecs found
> xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
> "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 8
> int 20
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05:
> msi
> azalia1: codecs: Realtek/0x0887
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5: msi
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
> pci3 at ppb2 bus 3
> re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G
> (0x4c00), msi, address bc:ee:7b:9d:c4:05
> rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
> ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 8
> int 23
> usb2 at ehci1: USB revision 2.0
> uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel H81 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
> AHCI 1.3
> ahci0: port 1: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 1 lun 0: <ATA, MKNSSDAT120GB-DX, 524A> SCSI3
> 0/direct fixed naa.0000120000000000
> sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
> 8 int 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
> 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
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> uhub3 at uhub0 port 5 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub3 port 2 configuration 1 interface 1 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev1: iclass 3/0, 142 report ids
> uhid0 at uhidev1 reportid 32: input=0, output=0, feature=1
> uhid1 at uhidev1 reportid 128: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 142: input=0, output=0, feature=1
> uhidev2 at uhub3 port 3 configuration 1 interface 0 "Dell Dell USB
> Keyboard" rev 1.10/3.06 addr 4
> uhidev2: iclass 3/1
> ukbd0 at uhidev2: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
> uhub5 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (7b56fcdf8219ff17.a) swap on sd0b dump on sd0b
> wsmouse0 detached
> ums0 detached
> uhidev0 detached
> uhid0 detached
> uhid1 detached
> uhid2 detached
> uhidev1 detached
> wskbd1: disconnecting from wsdisplay0
> wskbd1 detached
> ukbd0 detached
> uhidev2 detached
> uhub3 detached
> uhub3 at uhub0 port 5 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub3 port 2 configuration 1 interface 1 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev1: iclass 3/0, 142 report ids
> uhid0 at uhidev1 reportid 32: input=0, output=0, feature=1
> uhid1 at uhidev1 reportid 128: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 142: input=0, output=0, feature=1
> uhidev2 at uhub3 port 3 configuration 1 interface 0 "Dell Dell USB
> Keyboard" rev 1.10/3.06 addr 4
> uhidev2: iclass 3/1
> ukbd0 at uhidev2: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> wsmouse0 detached
> ums0 detached
> uhidev0 detached
> uhid0 detached
> uhid1 detached
> uhid2 detached
> uhidev1 detached
> wskbd1: disconnecting from wsdisplay0
> wskbd1 detached
> ukbd0 detached
> uhidev2 detached
> uhub3 detached
> uhub3 at uhub0 port 5 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub3 port 2 configuration 1 interface 1 "Logitech G400s
> Optical Gaming Mouse" rev 2.00/83.00 addr 3
> uhidev1: iclass 3/0, 142 report ids
> uhid0 at uhidev1 reportid 32: input=0, output=0, feature=1
> uhid1 at uhidev1 reportid 128: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 142: input=0, output=0, feature=1
> uhidev2 at uhub3 port 3 configuration 1 interface 0 "Dell Dell USB
> Keyboard" rev 1.10/3.06 addr 4
> uhidev2: iclass 3/1
> ukbd0 at uhidev2: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0

Reply via email to