I've had problems in the past trying to build a port that fails and then
install the binary version and it work. So if you haven't already maybe try
deleting it and reinstall the binary from a mirror.

Sent from my iPhone

> On Aug 8, 2016, at 9:23 AM, Stefan Wollny <ste...@wollny.de> wrote:
>
> Hi Tinker!
>
> Thank you for replying! My answers are in-line (sorry for the awful
formatting - the web-client is a PITA)
>
> Best,
> STEFAN
>
>
> Am 08.08.2016 15:02 schrieb Tinker:
>
>    Please describe more,
>
>     * Any idea of your memory situation (ulimit -a , RAM and swap
>    available, actual memory consumption)?
>
>
> RAM as given in the dmesg:
>
>        real mem = 17082359808 (16291MB)
>        avail mem = 16560173056 (15793MB)
>
>
> As copy/paste is not possible the following is a transcript for 'ulimit
-a':
> time(cpu-seconds)     unlimited
> file(blocks)          unlimited
> coredump(blocks)      unlimited
> data(kbytes)          1572864
> stack(kbytes)         4096
> lockedmem(kbytes)     5390336
> memory(kbytes)        16141956
> nofiles(descriptors)  512
> processes             256
>
>
> disklayout:
> a:     5122.2M   /
> b:     1019.8M   swap
> d:   10244.6M   /tmp
> e:   15359.0M   /var
> f:    30718.0M  /usr
> g: 914285.1M    /home
>
> /usr is mounted read-only
> /var is mounted no-exec
>
>
>
>     * Also does it crash on start or can you use it for a while
>
>
> NO - it doesn't start at all as stated in my original post:
>
>        $ thunderbird
>        out of memory
>        Assertion failure: [unhandlable oom] OOM in createJitRuntime, at
>
/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.
cpp:1228
>        Segmentation fault (core dumped)
>
>
>
>    The following is beyond my level of experience but are you sure that
>    you run it in an isolated enough mode so no plugins or other config
>    can interfere.
>
>
> Well ... thunderbird was doing fine until I got a fresh ~current-version
before last weekend. S.th. must have changed since then. I even recompiled the
system from a fresh checkout of cvs-src this morning and tried to do 'make
update' from ports - no success, sadly.
>
>
>
>    On 2016-08-08 19:44, Stefan Wollny wrote:
>
>        Hi there!
>
>        My system:
>        OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug  20:50:41 MDT 2016
>        (Full dmesg at the end.)
>
>        I don't know if this is only with my system but since the last few
>        days Mozilla's thunderbird segfaults.
>
>        $ thunderbird
>        out of memory
>        Assertion failure: [unhandlable oom] OOM in createJitRuntime, at
>
/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.
cpp:1228
>        Segmentation fault (core dumped)
>
>        gdb -c thunderbird.core says
>        Programm terminated with signal 11, Segmentation fault.
>        #0 0x0000185a890c472a in ?? ()
>
>        Running 'doas make update' in /usr/ports/mozilla-thunderbird ends
with
>        the following:
>        [...]
>        Executing
/usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/xpcshell -g
>        /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -a
>        /usr/ports/pobj/thunderbird-45.2.0/build-amd64/dist/bin/ -f
>
/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapps
/installer/precompile_cache.js
>        -e precompile_startupcache("resource://gre/");
>        out of memory
>        Assertion failure: [unhandlable oom] OOM in createJitRuntime, at
>
/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/js/src/jscntxt.
cpp:1228
>        Traceback (most recent call last):
>            File
>
"/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp
s/installer/packager.py",
>        line 406, in <module> main()
>            File
>
"/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp
s/installer/packager.py",
>        line 400, in main args.source, gre_path, base)
>            File
>
"/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp
s/installer/packager.py",
>        line 161, in precompile_cache errors.fatal('Error while running
startup cache
>        precompilation')
>            File
>
"/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuil
d/mozpack/errors.py",
>        line 103, in fatal self._handle(self.FATAL, msg)
>            File
>
"/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/python/mozbuil
d/mozpack/errors.py",
>        line 98, in _handle raise ErrorMessage(msg)
>        mozpack.errors.ErrorMessage: Error: Error while running startup
cache
>        precompilation
>        gmake[1]: ***
>
[/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/toolkit/mozapp
s/installer/packager.mk:41:
>        stage-package] Error 1
>        gmake[1]: Leaving directory
>        '/usr/ports/pobj/thunderbird-45.2.0/build-amd64/mail/installer'
>        gmake: ***
>
[/usr/ports/pobj/thunderbird-45.2.0/thunderbird-45.2.0/mozilla/../mail/build.
mk:19:
>        install] Error 2
>        *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763
>        '/usr/ports/pobj/thunderbird-45.2.0/fake-amd64/.fake-done')
>        *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891
>        '/usr/ports/packages/amd64/all/thunderbird-45.2.0.tgz')
>        *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2416:
>        '_internal-package')
>        *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1917
>        '/usr/ports/update/amd64/thunderbird-45.2.0')
>        *** Error 1 in /usr/ports/mail/mozilla-thunderbird
>        (/usr/ports/infrastructure/mk/bsd.port.mk:2396 'update')
>
>
>        Anyone an idea what might go wrong here? I am lost...
>
>        TIA.
>
>        Best,
>        STEFAN
>
>
>
>        OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug  7 20:50:41 MDT 2016
>
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>        real mem = 17082359808 (16291MB)
>        avail mem = 16560173056 (15793MB)
>        mpath0 at root
>        scsibus0 at mpath0: 256 targets
>        mainbus0 at root
>        bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
>        bios0: vendor American Megatrends Inc. version "1.05.01" date
08/05/2015
>        bios0: Notebook W65_67SZ
>        acpi0 at bios0: rev 2
>        acpi0: sleep states S0 S3 S4 S5
>        acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
>        SSDT SSDT DMAR
>        acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4)
>        RP03(S4) PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4)
>        RP06(S4) PXSX(S4) RP07(S4) PXSX(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) i5-4210M CPU @ 2.60GHz, 3093.26 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) i5-4210M CPU @ 2.60GHz, 3092.83 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) i5-4210M CPU @ 2.60GHz, 3092.83 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) i5-4210M CPU @ 2.60GHz, 3092.83 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 2 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 4 (RP04)
>        acpiprt4 at acpi0: bus 1 (P0P2)
>        acpiprt5 at acpi0: bus -1 (P0PA)
>        acpiprt6 at acpi0: bus -1 (P0PB)
>        acpiprt7 at acpi0: bus 1 (PEG0)
>        acpiec0 at acpi0
>        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
>        acpitz0 at acpi0: critical temperature is 120 degC
>        "INT3F0D" at acpi0 not configured
>        "MSFT0001" at acpi0 not configured
>        "ETD0403" at acpi0 not configured
>        "PNPC000" at acpi0 not configured
>        acpibtn0 at acpi0: PWRB
>        acpibtn1 at acpi0: SLPB
>        acpibtn2 at acpi0: LID0
>        acpiac0 at acpi0: AC unit online
>        acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem
"Notebook"
>        "PNP0C14" at acpi0 not configured
>        "INT340E" at acpi0 not configured
>        acpivideo0 at acpi0: GFX0
>        acpivout0 at acpivideo0: LCD0
>        cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300,
>        2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 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
>        inteldrm0: 1920x1080
>        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
>        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 2
int 16
>        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: VIA/0x8446
>        audio0 at azalia1
>        ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
>        pci2 at ppb1 bus 2
>        ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
>        pci3 at ppb2 bus 3
>        iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbb, msi
>        ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
>        pci4 at ppb3 bus 4
>        rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev
0x01: msi
>        sdmmc0 at rtsx0: 4-bit
>        re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411
>        (0x4880), msi, address 80:fa:5b:13:a0:ad
>        rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
>        ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2
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 HM86 LPC" rev 0x05
>        ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
AHCI 1.3
>        ahci0: port 0: 1.5Gb/s
>        ahci0: port 4: 6.0Gb/s
>        ahci0: port 5: 6.0Gb/s
>        scsibus1 at ahci0: 32 targets
>        cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, CDDVDW SN-208FB, SB00>
ATAPI
>        5/cdrom removable
>        sd0 at scsibus1 targ 4 lun 0: <ATA, Samsung SSD 850, EMT4> SCSI3
>        0/direct fixed naa.5002538d402ece0c
>        sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
>        sd1 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
>        0/direct fixed naa.500253887007d4c5
>        sd1: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
>        ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05:
apic 2 int 18
>        iic0 at ichiic0
>        iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a
08=00
>        09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000
>        02=0000 03=0000 04=0000 05=c2d4 06=1b09 07=0a01
>        spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with
thermal sensor
>        spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with
thermal sensor
>        isa0 at pcib0
>        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
>        pcppi0 at isa0 port 0x61
>        spkr0 at pcppi0
>        error: [drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed
register
>        before interrupt
>        umass0 at uhub0 port 1 configuration 1 interface 0 "Research In
>        Motion, Ltd. BlackBerry Mass Storage Device" rev 2.00/2.40 addr 2
>        umass0: using SCSI over Bulk-Only
>        scsibus2 at umass0: 2 targets, initiator 0
>        sd2 at scsibus2 targ 1 lun 0: <RIM, Disk, 1.0> SCSI2 0/direct
>        removable serial.0fca8014C0C7D3BFEF4E
>        uhub3 at uhub0 port 6 "Genesys Logic USB2.0 Hub" rev 2.00/9.01 addr
3
>        umass1 at uhub3 port 1 configuration 1 interface 0 "General UDisk"
rev
>        2.00/1.00 addr 4
>        umass1: using SCSI over Bulk-Only
>        scsibus3 at umass1: 2 targets, initiator 0
>        sd3 at scsibus3 targ 1 lun 0: <General, UDisk, 5.00> SCSI2 0/direct
>        removable serial.abcd1234245144257801
>        sd3: 7681MB, 512 bytes/sector, 15730688 sectors
>        uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech
>        Trackball" rev 1.10/2.20 addr 5
>        uhidev0: iclass 3/1
>        ums0 at uhidev0: 3 buttons, Z dir
>        wsmouse1 at ums0 mux 0
>        uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB
>        Receiver" rev 2.00/12.01 addr 6
>        uhidev1: iclass 3/1
>        ukbd0 at uhidev1: 8 variable keys, 6 key codes
>        wskbd1 at ukbd0 mux 1
>        wskbd1: connecting to wsdisplay0
>        uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB
>        Receiver" rev 2.00/12.01 addr 6
>        uhidev2: iclass 3/1, 8 report ids
>        ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
>        wsmouse2 at ums1 mux 0
>        uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
>        uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
>        uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
>        uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB
>        Receiver" rev 2.00/12.01 addr 6
>        uhidev3: iclass 3/0, 33 report ids
>        uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
>        uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
>        uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
>        uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
>        ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 7
>        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
>        scsibus4 at vscsi0: 256 targets
>        softraid0 at root
>        scsibus5 at softraid0: 256 targets
>        sd4 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2
0/direct fixed
>        sd4: 976756MB, 512 bytes/sector, 2000397143 sectors
>        softraid0: volume sd4 is roaming, it used to be sd3, updating
metadata
>        root on sd4a (27a349ce45a3b091.a) swap on sd4b dump on sd4b
>        iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
>        thunderbird(67179): mmap W^X violation
>        thunderbird(26046): mmap W^X violation
>        thunderbird(19267): mmap W^X violation
>        thunderbird(30766): mmap W^X violation
>        soffice.bin(68962): mprotect W^X violation
>        sd2 detached
>        scsibus2 detached
>        umass0 detached
>        xpcshell(5887): mmap W^X violation
>        ugen1 at uhub0 port 1 "Research In Motion, Ltd. BlackBerry" rev
2.00/2.40 addr 2
>        thunderbird(31136): mmap W^X violation

Reply via email to