DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Red face Applications automatically exit

Hi everyone,

Firefox, IntelliJ, and some big applications automatically exit when running on OpenBSD. Please help.
Reply With Quote
  #2   (View Single Post)  
Old 8th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Quote:
Originally Posted by notooth View Post
Hi everyone,

Firefox, IntelliJ, and some big applications automatically exit when running on OpenBSD. Please help.
Hi, notooth. I'm going to ask for a lot of information, because you've only described a symptom but have not provided enough information to narrow down a cause.
  1. Do these applications produce *.core files? These would appear in working directories or the root directory. If you are unsure, the following command will search your entire directory structure and report any *.core files it finds. The stderr output is sent to /dev/null so you don't see find(1) complain about access permission problems for directories a normal user cannot access. $ find / -name \*.core 2> /dev/null
  2. What login class is the user who is trying to start these "big" programs? (Hint: the default class doesn't have enough resources allocated to run "big" programs. The staff class is usually needed for those.) To review the login class and possibly change it, you can use the chpass(1) program as the superuser. # chpass <your userid> The default and staff class (and other standard login classes) are defined in your login.conf(5) file.
  3. A dmesg(8) is almost always helpful. It tells us what architecture, version, and flavor of OpenBSD you are using, and tells us about your hardware, too.

Last edited by jggimi; 8th December 2015 at 12:51 PM. Reason: clarity
Reply With Quote
  #3   (View Single Post)  
Old 8th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Hi jggimi,

Here is the information:

Code:
$ find / -name \*.core 2> /dev/null
/home/notooth/firefox.core
/home/notooth/java.core

$ sudo chpass notooth
# Changing user database information for notooth.
Login: notooth
Encrypted password: 
Uid [#]: 1000
Gid [# or name]: 1000
Change [month day year]:
Expire [month day year]:
Class: staff
Home directory: /home/notooth
Shell: /bin/ksh
Full Name: Chuong
Office Location:
Office Phone:
Home Phone:

$ dmesg
OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 21385166848 (20394MB)
avail mem = 20733157376 (19772MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (82 entries)
bios0: vendor LENOVO version "6NET84WW (1.45 )" date 10/03/2012
bios0: LENOVO 43192RU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA DMAR SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP7(S4) EXP8(S4) EHC1(S3) EHC2(S3) HDEF(S4)
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) i7 CPU Q 820 @ 1.73GHz, 1197.10 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 132MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu2: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu3: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
cpu4 at mainbus0: apid 4 (application processor)
cpu4: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu4: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 5 (application processor)
cpu5: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu5: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 2, package 0
cpu6 at mainbus0: apid 6 (application processor)
cpu6: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu6: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 0, core 3, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz, 1196.92 MHz
cpu7: 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,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC,SENSOR
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 8, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus -1 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus -1 (EXP4)
acpiprt6 at acpi0: bus 13 (EXP5)
acpiprt7 at acpi0: bus 15 (EXP7)
acpiprt8 at acpi0: bus 23 (EXP8)
acpicpu0 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu1 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu2 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu3 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu4 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu5 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu6 at acpi0: C1(1000@3 mwait.1), PSS
acpicpu7 at acpi0: C1(1000@3 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 97 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 1734, 1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11
ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0a3c rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci1 dev 0 function 1 vendor "NVIDIA", unknown product 0x0be2 rev 0xa1: msi
azalia0: no supported codecs
"Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured
"Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured
"Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured
"Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured
"Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured
"Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 3400 KT" rev 0x06: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address f0:de:f1:51:99:ce
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: 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
azalia1 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
azalia1: codecs: Conexant/0x5069
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi
pci3 at ppb2 bus 13
sdhc0 at pci3 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 16
sdmmc0 at sdhc0
ppb3 at pci0 dev 28 function 6 "Intel 3400 PCIE" rev 0x06: msi
pci4 at ppb3 bus 15
xhci0 at pci4 dev 0 function 0 "NEC xHCI" rev 0x03: msi
usb1 at xhci0: USB revision 3.0
uhub1 at usb1 "NEC xHCI root hub" rev 3.00/1.00 addr 1
ppb4 at pci0 dev 28 function 7 "Intel 3400 PCIE" rev 0x06: msi
pci5 at ppb4 bus 23
sdhc1 at pci5 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 19
sdmmc1 at sdhc1
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 19
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6
pci6 at ppb5 bus 31
pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, DXM0> SCSI3 0/direct fixed naa.50025385a01b2487
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, ST2000LM003 HN-M, 2BC1> SCSI3 0/direct fixed naa.50004cf20c88c075
sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1 int 23
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem2 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
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
aps0 at isa0 port 0x1600/31
pci7 at mainbus0 bus 255
pchb1 at pci7 dev 0 function 0 vendor "Intel", unknown product 0x2c52 rev 0x04
pchb2 at pci7 dev 0 function 1 vendor "Intel", unknown product 0x2c81 rev 0x04
pchb3 at pci7 dev 2 function 0 vendor "Intel", unknown product 0x2c90 rev 0x04
pchb4 at pci7 dev 2 function 1 vendor "Intel", unknown product 0x2c91 rev 0x04
pchb5 at pci7 dev 3 function 0 vendor "Intel", unknown product 0x2c98 rev 0x04
pchb6 at pci7 dev 3 function 1 vendor "Intel", unknown product 0x2c99 rev 0x04
pchb7 at pci7 dev 3 function 4 vendor "Intel", unknown product 0x2c9c rev 0x04
pchb8 at pci7 dev 4 function 0 vendor "Intel", unknown product 0x2ca0 rev 0x04
pchb9 at pci7 dev 4 function 1 vendor "Intel", unknown product 0x2ca1 rev 0x04
pchb10 at pci7 dev 4 function 2 vendor "Intel", unknown product 0x2ca2 rev 0x04
pchb11 at pci7 dev 4 function 3 vendor "Intel", unknown product 0x2ca3 rev 0x04
pchb12 at pci7 dev 5 function 0 vendor "Intel", unknown product 0x2ca8 rev 0x04
pchb13 at pci7 dev 5 function 1 vendor "Intel", unknown product 0x2ca9 rev 0x04
pchb14 at pci7 dev 5 function 2 vendor "Intel", unknown product 0x2caa rev 0x04
pchb15 at pci7 dev 5 function 3 vendor "Intel", unknown product 0x2cab rev 0x04
uhub3 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 1 configuration 1 interface 0 "vendor 0x0765 product 0x5001" rev 1.10/0.01 addr 3
uhidev0: iclass 3/0
uhid0 at uhidev0: input=8, output=8, feature=0
uhidev1 at uhub3 port 2 configuration 1 interface 0 "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub3 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/72.28 addr 5
video0 at uvideo0
uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev2 at uhub4 port 8 configuration 1 interface 0 "Tablet ISD-V4" rev 1.10/b.1b addr 3
uhidev2: iclass 3/0, 16 report ids
uhid1 at uhidev2 reportid 2: input=0, output=0, feature=1
uhid2 at uhidev2 reportid 3: input=0, output=0, feature=3
ums1 at uhidev2 reportid 12: 1 button, tip
wsmouse2 at ums1 mux 0
uhid3 at uhidev2 reportid 13: input=13, output=0, feature=0
uhid4 at uhidev2 reportid 14: input=0, output=0, feature=2
ums2 at uhidev2 reportid 15: 2 buttons
wsmouse3 at ums2 mux 0
ums3 at uhidev2 reportid 16: 1 button, tip
wsmouse4 at ums3 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (aed288202e3db2c8.a) swap on sd0b dump on sd0b
/dev/sd1i: file system not clean; please fsck(8)

$ sudo fsck /dev/sd1i 
** /dev/rsd1i (NO WRITE)
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
fsck: /dev/rsd1i: Floating point exception

Last edited by notooth; 9th December 2015 at 12:05 AM.
Reply With Quote
  #4   (View Single Post)  
Old 8th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

1. Core files

The *.core files indicate application crashes, and usually a gdb(1) backtrace will indicate the type of failure which occurred. That information is not always helpful for application failures. This is because debugging symbols on OpenBSD are only built for libraries, and not for applications by default. Debugging of applications requires the admin build the application manually, include debugging symbols, and ensure that the resulting binaries are not stripped of symbols on install. Once a problem reoccurs, then the admin must also be skilled in the use of gdb(1) or devel/gdb along with understanding the application source code to determine the root cause and effect a correction.

2. Login class

It appears your user "notooth" is already class staff.

3. What your dmesg tells me

Your kernel is OpenBSD 5.8-release, and has not been patched.

At this writing there are 9 errata published for 5.8-release; patches 003, 005, and 008 affect the kernel. I will guess that the other published patches are also not applied to your system.

The remaining comments below are regarding the -stable flavor of OpenBSD, which is -release, plus published errata patches, plus any patches not deemed sufficiently critical for errata. It also includes -stable ports, as ports may receive -stable updates to mitigate security issues.

For more on -release and -stable, please see FAQ 5.1.

You might consider using the -stable services of M:Tier, which are provided as a service to the OpenBSD community. Not only do they provide -stable updates for OpenBSD kernels and userland, they also provide -stable packages. This will include ports that receive -stable updates due to CVE remediations, as well as rebuilt packages with dependencies that received -stable updates. Firefox has not received a -stable update, but it has been repackaged due to updated dependencies it requires. And -stable users are able to take advantage of Firefox-ESR, which has been updated since -release.

See https://stable.mtier.org for information about M:Tier's -stable services for OpenBSD.

Last edited by jggimi; 8th December 2015 at 03:35 PM. Reason: typos
Reply With Quote
  #5   (View Single Post)  
Old 8th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

One last thing.

1. Please edit your post, and remove your encrypted password. You don't want to have this hash made public.

2. Change your password.
Reply With Quote
  #6   (View Single Post)  
Old 9th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

I've just run openup to update the system. IntelliJ still crashes
Reply With Quote
  #7   (View Single Post)  
Old 9th December 2015
denta denta is offline
Shell Scout
 
Join Date: Nov 2009
Location: Sweden
Posts: 95
Default

Is the stuff that crashes installed from 5.8 packages?
Reply With Quote
  #8   (View Single Post)  
Old 9th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Yes, all the stuffs that crashed are installed from 5.8 pakages. They are firefox, intellij, transmission-gtk. I've just opened mousepad to view a text file, and transmission crashed.
Reply With Quote
  #9   (View Single Post)  
Old 9th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

I have been considering taking maintainership of net/transmission, and perhaps could start by helping to debug that particular crash. Since a flight of applications are having trouble, the problem may not be application related. But let's see if we can discern what is happening.

1. Please post the output of $ pkg_info -S transmission or if you are using the gtk or qt graphical versions, the output of $ pkg_info -S transmission-gtk or $ pkg_info -S transmission-qt. This "signature" will show me all of the versions of all of the run dependencies and dependent libraries for the package you have installed.

2. Please obtain a backtrace from the core file, with gdb(1). For example, with a transmission-gtk.core file, you would use $ gdb /usr/local/bin/transmission-gtk /path/to/my/transmission-gtk.core. The output might look something like this console output, but I just created a .core file with kill(1) -- your backtrace data may be more useful than this.
Code:
$ gdb /usr/local/bin/transmission-gtk transmission-gtk.core
?1034hGNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...(no debugging symbols found)

Core was generated by `transmission-gtk'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.20.1...done.
Loaded symbols for /usr/lib/libpthread.so.20.1
Loaded symbols for /usr/local/bin/transmission-gtk
Reading symbols ...
.
.
.
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
#0  0x00000075b3ce1e2a in kevent () at <stdin>:2
2    <stdin>: No such file or directory.
    in <stdin>
(gdb) bt
#0  0x00000075b3ce1e2a in kevent () at <stdin>:2
#1  0x00000075bb2f3ca2 in _kqueue_thread_func () from /usr/local/lib/libgio-2.0.so.4200.2
#2  0x00000075eb7de77e in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:145
#3  0x00000075b3ceb4fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently asm
(gdb) quit
$
Reply With Quote
Old 11th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

I've just installed Linux to do some work. When I'm done, I will be back to OpenBSD.
Reply With Quote
Old 19th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Hi jggimi,

If you are still interested in maintaining transmission, here is the information:

Code:
$ pkg_info -S transmission-gtk 
Information for inst:transmission-gtk-2.84p2

Signature: transmission-gtk-2.84p2,@curl-7.43.0,@desktop-file-utils-0.22p0,@gettext-0.19.5.1,@gtk+3-3.16.6,@gtk-update-icon-cache-3.16.6,@libevent-2.0.22,@libiconv-1.14p3,@libnatpmp-20140401p0,@miniupnpc-1.9,@transmission-2.84p2,ICE.10.0,SM.9.0,X11.16.1,Xcomposite.4.0,Xcursor.5.0,Xdamage.4.0,Xext.13.0,Xfixes.6.0,Xi.12.1,Xinerama.6.0,Xrandr.7.0,Xrender.6.0,atk-1.0.21609.1,atk-bridge-2.0.0.0,atspi.0.1,c.80.1,cairo-gobject.1.1,cairo.12.3,crypto.35.0,curl.24.9,dbus-1.11.0,event_core.1.1,event_extra.0.1,expat.11.0,ffi.1.1,fontconfig.9.1,freetype.24.0,gdk-3.1600.0,gdk_pixbuf-2.0.3000.0,gio-2.0.4200.1,glib-2.0.4200.1,gmodule-2.0.4200.1,gobject-2.0.4200.1,graphite2.0.0,gthread-2.0.4200.1,gtk-3.1600.0,harfbuzz.5.1,iconv.6.0,idn.17.2,intl.6.0,m.9.0,miniupnpc.2.0,natpmp.0.0,pango-1.0.3600.0,pangocairo-1.0.3600.0,pangoft2-1.0.3600.0,pcre.3.0,pixman-1.32.6,png.17.2,pthread-stubs.2.0,pthread.19.0,ssl.35.0,xcb-render.1.0,xcb-shm.1.1,xcb.3.1,z.5.0

you have mail in /var/mail/notooth
Code:
$ gdb /usr/local/bin/transmission-gtk /home/notooth/transmission-gtk.core 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
(no debugging symbols found)

Core was generated by `transmission-gtk'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/transmission-gtk
Reading symbols from /usr/local/lib/libminiupnpc.so.2.0...done.
Loaded symbols for /usr/local/lib/libminiupnpc.so.2.0
Reading symbols from /usr/local/lib/libnatpmp.so.0.0...done.
Loaded symbols for /usr/local/lib/libnatpmp.so.0.0
Reading symbols from /usr/local/lib/libgtk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgtk-3.so.1600.0
Reading symbols from /usr/local/lib/libgdk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.1600.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.1
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.1
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libffi.so.1.1...done.
Loaded symbols for /usr/local/lib/libffi.so.1.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.1
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.1
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libharfbuzz.so.5.1...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.5.1
Reading symbols from /usr/local/lib/libgraphite2.so.0.0...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.0.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.1
Reading symbols from /usr/local/lib/libcairo-gobject.so.1.1...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.1.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libepoxy.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libepoxy.so.1.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21609.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21609.1
Reading symbols from /usr/local/lib/libatk-bridge-2.0.so.0.0...done.
Loaded symbols for /usr/local/lib/libatk-bridge-2.0.so.0.0
Reading symbols from /usr/local/lib/libdbus-1.so.11.0...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.11.0
Reading symbols from /usr/local/lib/libatspi.so.0.1...done.
Loaded symbols for /usr/local/lib/libatspi.so.0.1
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/local/lib/libevent_extra.so.0.1...done.
Loaded symbols for /usr/local/lib/libevent_extra.so.0.1
Reading symbols from /usr/local/lib/libevent_core.so.1.1...done.
Loaded symbols for /usr/local/lib/libevent_core.so.1.1
Reading symbols from /usr/local/lib/libcurl.so.24.9...done.
Loaded symbols for /usr/local/lib/libcurl.so.24.9
Reading symbols from /usr/local/lib/libidn.so.17.2...done.
Loaded symbols for /usr/local/lib/libidn.so.17.2
Reading symbols from /usr/lib/libssl.so.35.0...done.
Loaded symbols for /usr/lib/libssl.so.35.0
Reading symbols from /usr/lib/libcrypto.so.35.0...done.
Loaded symbols for /usr/lib/libcrypto.so.35.0
Reading symbols from /usr/lib/libc.so.80.1...done.
Loaded symbols for /usr/lib/libc.so.80.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /usr/lib/libutil.so.12.1...done.
Loaded symbols for /usr/lib/libutil.so.12.1
Reading symbols from /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/local/lib/librsvg-2.so.38.2...done.
Loaded symbols for /usr/local/lib/librsvg-2.so.38.2
Reading symbols from /usr/local/lib/libcroco-0.6.so.4.0...done.
Loaded symbols for /usr/local/lib/libcroco-0.6.so.4.0
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
Reading symbols from /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so...done.
Loaded symbols for /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
#0  0x00000f0e98ad9945 in _atomic_lock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/arch/amd64/_atomic_lock.c:21
21      /usr/src/lib/librthread/arch/amd64/_atomic_lock.c: No such file or directory.
        in /usr/src/lib/librthread/arch/amd64/_atomic_lock.c
(gdb) bt
#0  0x00000f0e98ad9945 in _atomic_lock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/arch/amd64/_atomic_lock.c:21
#1  0x00000f0e98ad8a4d in _spinlock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/rthread.c:81
#2  0x00000f0e98adc018 in _rthread_mutex_lock (mutexp=0xf0e787b6310, 
    trywait=0, abstime=0x0) at /usr/src/lib/librthread/rthread_sync.c:108
#3  0x00000f0e916431e1 in g_mutex_lock ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#4  0x00000f0e9a68bb6a in emit_cb () from /usr/local/lib/libgio-2.0.so.4200.1
#5  0x00000f0e915fd0a2 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x00000f0e915ff22b in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x00000f0e915ff2f7 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#8  0x00000f0e915ff335 in glib_worker_main ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#9  0x00000f0e91624669 in g_thread_proxy ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#10 0x00000f0e98ad990e in _rthread_start (v=Variable "v" is not available.
)
    at /usr/src/lib/librthread/rthread.c:145
#11 0x00000f0f06bc149b in __tfork_thread ()
    at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) q
Reply With Quote
Old 19th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Thank you! I have some time this weekend, and will see if I can figure out what is happening with the information you've kindly provided.
Reply With Quote
Old 20th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

OK, I've taken a look.

1. The signature matches the -release package.

2. The backtrace is incomplete -- it was stopped at the end of the first output page, at frame #11. It does not lead all the way back to the application.
Code:
---Type <return> to continue, or q <return> to quit---q
At that point, the trace only shows stack frames from running support library functions: these are for glib and glib2, which are installed packages, and libc and librthread, which are part of the base OS.

3. While the error occurs in librthread (frame #0) we can see a number of glib or glib2 functions leading up to it (frames #3-#9). Neither glib nor glib2 (libgio, frame #4) have -stable updates for 5.8. There are no 3rd party libraries that have -stable updates in this backtrace fragment.

4. The error is a signal type of 10 - a "bus error" in _atomic_lock. It is clear why, from the invalid value of the frame #0 lock pointer -- 0xdfdfdfdfdfdfdfdf. The hardware has told the OS it cannot provide this invalid memory address, and the application was halted.

Going back two frames:

Frame #1 in _spinlock already has the invalid pointer.

Frame #2 in _rthread_mutex_lock assigns the pointer from the mutex reference.

---

FYI, "mutex" refers to "mutual exclusions," which is the method by which parallel threads serialize certain functions.

I am unable to find significant patches to rthread spinlock management since 5.8-release, and I know very little about thread management.

Would you please run backtraces on your other core files, and see if they are also failing in rthread management? If so, is it always glib/glib2 that are involved?

(If the other applications were built with gcc 4.9 from packages, rather than the gcc 4.2 in base, you will need to use the gdb package. The name of the program, when installed, is "egdb" to differentiate it from the "gdb" in base.)

Last edited by jggimi; 20th December 2015 at 01:29 AM. Reason: added egdb reference, and possible gtk support libraries in common involvement
Reply With Quote
Old 20th December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Firefox has just crashed. Here is the backtrace:
Code:
$ gdb /usr/local/bin/firefox /home/notooth/firefox.core                  
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
(no debugging symbols found)

Core was generated by `firefox'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/firefox
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/lib/libc.so.80.1...done.
Loaded symbols for /usr/lib/libc.so.80.1
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/firefox-39.0.3/libmozalloc.so.57.0...done.
Loaded symbols for /usr/local/lib/firefox-39.0.3/libmozalloc.so.57.0
Reading symbols from /usr/local/lib/firefox-39.0.3/libxul.so.57.0...done.
Loaded symbols for /usr/local/lib/firefox-39.0.3/libxul.so.57.0
Reading symbols from /usr/local/lib/libicui18n.so.8.1...done.
Loaded symbols for /usr/local/lib/libicui18n.so.8.1
Reading symbols from /usr/local/lib/libicuuc.so.8.1...done.
Loaded symbols for /usr/local/lib/libicuuc.so.8.1
Reading symbols from /usr/local/lib/libicudata.so.8.1...done.
Loaded symbols for /usr/local/lib/libicudata.so.8.1
Reading symbols from /usr/local/lib/libplds4.so.23.1...done.
Loaded symbols for /usr/local/lib/libplds4.so.23.1
Reading symbols from /usr/local/lib/libplc4.so.23.1...done.
Loaded symbols for /usr/local/lib/libplc4.so.23.1
Reading symbols from /usr/local/lib/libnspr4.so.23.1...done.
Loaded symbols for /usr/local/lib/libnspr4.so.23.1
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libssl3.so.37.1...done.
Loaded symbols for /usr/local/lib/libssl3.so.37.1
Reading symbols from /usr/local/lib/libsmime3.so.37.1...done.
Loaded symbols for /usr/local/lib/libsmime3.so.37.1
Reading symbols from /usr/local/lib/libnss3.so.37.1...done.
Loaded symbols for /usr/local/lib/libnss3.so.37.1
Reading symbols from /usr/local/lib/libnssutil3.so.37.1...done.
Loaded symbols for /usr/local/lib/libnssutil3.so.37.1
Reading symbols from /usr/lib/libsqlite3.so.30.1...done.
Loaded symbols for /usr/lib/libsqlite3.so.30.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/local/lib/libhunspell-1.3.so.0.0...done.
Loaded symbols for /usr/local/lib/libhunspell-1.3.so.0.0
Reading symbols from /usr/lib/libevent.so.4.1...done.
Loaded symbols for /usr/lib/libevent.so.4.1
Reading symbols from /usr/lib/libsndio.so.6.0...done.
Loaded symbols for /usr/lib/libsndio.so.6.0
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.2400.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21609.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21609.1
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.2400.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.1
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.1
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libXt.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.11.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.1
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libffi.so.1.1...done.
Loaded symbols for /usr/local/lib/libffi.so.1.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.1
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.0
Reading symbols from /usr/local/lib/libharfbuzz.so.5.1...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.5.1
Reading symbols from /usr/local/lib/libgraphite2.so.0.0...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.0.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/local/lib/firefox-39.0.3/components/libmozgnome.so.57.0...done.
Loaded symbols for /usr/local/lib/firefox-39.0.3/components/libmozgnome.so.57.0
Reading symbols from /usr/local/lib/firefox-39.0.3/browser/components/libbrowsercomps.so.57.0...done.
Loaded symbols for /usr/local/lib/firefox-39.0.3/browser/components/libbrowsercomps.so.57.0
Reading symbols from /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /usr/lib/libutil.so.12.1...done.
Loaded symbols for /usr/lib/libutil.so.12.1
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/X11R6/lib/libXss.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXss.so.6.0
Reading symbols from /usr/local/lib/libsoftokn3.so.37.1...done.
Loaded symbols for /usr/local/lib/libsoftokn3.so.37.1
Reading symbols from /usr/local/lib/libnssdbm3.so.37.1...done.
Loaded symbols for /usr/local/lib/libnssdbm3.so.37.1
Reading symbols from /usr/local/lib/libfreebl3.so.37.1...done.
Loaded symbols for /usr/local/lib/libfreebl3.so.37.1
Reading symbols from /usr/local/lib/libnssckbi.so.37.1...done.
Loaded symbols for /usr/local/lib/libnssckbi.so.37.1
Reading symbols from /usr/local/lib/gio/modules/libdconfsettings.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libdconfsettings.so
#0  0x00000cc5b90b690a in kill () at <stdin>:2
2       <stdin>: No such file or directory.
        in <stdin>
(gdb) bt
#0  0x00000cc5b90b690a in kill () at <stdin>:2
#1  0x00000cc582dac994 in workerlz4_maxCompressedSize ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#2  <signal handler called>
#3  0x00000cc5b90b690a in kill () at <stdin>:2
#4  0x00000cc5b90f0b19 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
#5  0x00000cc63b943d72 in g_assertion_message ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x00000cc63b94449f in g_assertion_message_expr ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x00000cc63b910117 in g_hash_table_lookup ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#8  0x00000cc58f541f8b in g_file_monitor_emit_event ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#9  0x00000cc58f5efbb4 in handle_overwritten ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#10 0x00000cc58f5f124f in dl_calculate ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#11 0x00000cc58f5ef900 in _kh_dir_diff ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#12 0x00000cc58f5efad9 in process_kqueue_notifications ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#13 0x00000cc63b91f0a2 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libglib-2.0.so.4200.1
#14 0x00000cc63b92122b in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#15 0x00000cc63b9212f7 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#16 0x00000cc5827811ef in std::_Rb_tree<unsigned long long, unsigned long long, std::_Identity<unsigned long long>, std::less<unsigned long long>, std::allocator<unsigned long long> >::_M_erase ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#17 0x00000cc582758f02 in std::_Rb_tree<unsigned long long, unsigned long long, std::_Identity<unsigned long long>, std::less<unsigned long long>, std::allocator<unsigned long long> >::_M_erase ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#18 0x00000cc5827590f0 in std::_Rb_tree<unsigned long long, unsigned long long, std::_Identity<unsigned long long>, std::less<unsigned long long>, std::allocator<unsigned long long> >::_M_erase ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#19 0x00000cc581079b8d in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#20 0x00000cc581094fe1 in NS_InvokeByIndex ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#21 0x00000cc581291a46 in std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::_M_insert_aux ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#22 0x00000cc5812733d8 in std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[] ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#23 0x00000cc582758cee in std::_Rb_tree<unsigned long long, unsigned long long, std::_Identity<unsigned long long>, std::less<unsigned long long>, std::allocator<unsigned long long> >::_M_erase ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#24 0x00000cc582d70213 in XRE_StartupTimelineRecord ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#25 0x00000cc582db56ed in XRE_InitCommandLine ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#26 0x00000cc582db5982 in XRE_InitCommandLine ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#27 0x00000cc582db5da1 in XRE_main ()
   from /usr/local/lib/firefox-39.0.3/libxul.so.57.0
#28 0x00000cc34c603e87 in atexit () from /usr/local/bin/firefox
#29 0x00000cc34c6037a1 in _start () from /usr/local/bin/firefox
#30 0x0000000000000000 in ?? ()
Current language:  auto; currently asm
(gdb) q
Reply With Quote
Old 20th December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

I'm neither a gtk nor a firefox developer -- but this appears to be a second gtk library problem -- in this case, the problem was caught by by a gtk developer's assertion.

An assertion in programming is a claim by the programmer that certain variables will contain certain values or be within certain ranges, otherwise the program should abort. Which has happened here. An assertion message is produced and sent to standard error (such as a shell console), and a core file is produced when possible.

The failure appears to occur within glib2, inside function g_hash_table_lookup, in frame #7. That is because at frame #6, the trace has moved into assertion message handling.

To debug this requires capturing that assertion message and its values. I've looked for the source code to g_hash_table_lookup in glib2-2.44.1, in glib/ghash.c. That source code is very well documented ... but unless I misunderstand the source code, there is no assertion within that function. It always calls g_hash_table_lookup_node, but that function does not appear in your backtrace. That function does have a single assertion, and I have reproduced the source code from glib2-2.44.1, excerpted from glib/ghash.c. The comments about the assertion, and the assertion are highlighed. If this is the assertion that was produced, the source code explains the error which produced it.
Code:
/*
 * g_hash_table_lookup_node:
 * @hash_table: our #GHashTable
 * @key: the key to lookup against
 * @hash_return: key hash return location
 *
 * Performs a lookup in the hash table, preserving extra information
 * usually needed for insertion.
 *
 * This function first computes the hash value of the key using the
 * user's hash function.
 *
 * If an entry in the table matching @key is found then this function
 * returns the index of that entry in the table, and if not, the
 * index of an unused node (empty or tombstone) where the key can be
 * inserted.
 *
 * The computed hash value is returned in the variable pointed to
 * by @hash_return. This is to save insertions from having to compute
 * the hash record again for the new record.
 *
 * Returns: index of the described node
 */
static inline guint
g_hash_table_lookup_node (GHashTable    *hash_table,
                          gconstpointer  key,
                          guint         *hash_return)
{
  guint node_index;
  guint node_hash;
  guint hash_value;
  guint first_tombstone = 0;
  gboolean have_tombstone = FALSE;
  guint step = 0;

  /* If this happens, then the application is probably doing too much work
   * from a destroy notifier. The alternative would be to crash any second
   * (as keys, etc. will be NULL).
   * Applications need to either use g_hash_table_destroy, or ensure the hash
   * table is empty prior to removing the last reference using g_hash_table_unref(). */
  g_assert (hash_table->ref_count > 0);

  hash_value = hash_table->hash_func (key);
  if (G_UNLIKELY (!HASH_IS_REAL (hash_value)))
    hash_value = 2;

  *hash_return = hash_value;

  node_index = hash_value % hash_table->mod;
  node_hash = hash_table->hashes[node_index];

  while (!HASH_IS_UNUSED (node_hash))
    {
      /* We first check if our full hash values
       * are equal so we can avoid calling the full-blown
       * key equality function in most cases.
       */
      if (node_hash == hash_value)
        {
          gpointer node_key = hash_table->keys[node_index];

          if (hash_table->key_equal_func)
            {
              if (hash_table->key_equal_func (node_key, key))
                return node_index;
            }
          else if (node_key == key)
            {
              return node_index;
            }
        }
      else if (HASH_IS_TOMBSTONE (node_hash) && !have_tombstone)
        {
          first_tombstone = node_index;
          have_tombstone = TRUE;
        }

      step++;
      node_index += step;
      node_index &= hash_table->mask;
      node_hash = hash_table->hashes[node_index];
    }

  if (have_tombstone)
    return first_tombstone;

  return node_index;
}

Last edited by jggimi; 20th December 2015 at 02:18 PM.
Reply With Quote
Old 22nd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Is there anything I can do to fix this issue, or I should wait for a new patch from the developers?
Reply With Quote
Old 22nd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

It appears, to me, that there are failures occurring with GTK applications. From the information presented, it appears that they are different problems, though it is possible there is a single root cause.

In particular, the backtrace from Firefox may not be valid, since there is an apparent assertion occurring inside a function which doesn't contain one.
Quote:
Originally Posted by notooth View Post
Is there anything I can do to fix this issue, or I should wait for a new patch from the developers?
  1. The next time transmission fails, do not delete the .core file.

    Along with a complete backtrace, which might help, I can provide you with debugging symbols for that transmission program, so that together we can inspect variables and states. (One doesn't send .core files to other people. They may contain private information since they are complete maps of process memory.)
  2. Keep logs of stderr files.

    Assertions, such as the apparent assertion from glib2 from your Firefox backtrace, and other error output (if any) will log there. If you are using a Bourne-based shell, direct stderr to a file with "2>". If you are using a C-based shell, stderr and stdout must be redirected together with ">&".
  3. Use non-GTK applications, and see if you have application failures.

    Does transmission-qt also fail? If it does, what appears in its backtrace?
  4. Learn to debug applications.

    This would be a long term project, and beyond the scope of this forum thread. As you can tell, I'm still learning this myself, having stopped being a programmer in the early 1980s.

Last edited by jggimi; 22nd December 2015 at 11:12 AM. Reason: typos, clarity
Reply With Quote
Old 22nd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Transmission-gtk has just crashed. Here is the backtrace:

Code:
$ gdb /usr/local/bin/transmission-gtk /home/notooth/transmission-gtk.core 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...(no debugging symbols found)

Core was generated by `transmission-gtk'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/transmission-gtk
Reading symbols from /usr/local/lib/libminiupnpc.so.2.0...done.
Loaded symbols for /usr/local/lib/libminiupnpc.so.2.0
Reading symbols from /usr/local/lib/libnatpmp.so.0.0...done.
Loaded symbols for /usr/local/lib/libnatpmp.so.0.0
Reading symbols from /usr/local/lib/libgtk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgtk-3.so.1600.0
Reading symbols from /usr/local/lib/libgdk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.1600.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.1
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.1
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libffi.so.1.1...done.
Loaded symbols for /usr/local/lib/libffi.so.1.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.1
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.1
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libharfbuzz.so.5.1...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.5.1
Reading symbols from /usr/local/lib/libgraphite2.so.0.0...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.0.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.1
Reading symbols from /usr/local/lib/libcairo-gobject.so.1.1...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.1.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libepoxy.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libepoxy.so.1.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21609.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21609.1
Reading symbols from /usr/local/lib/libatk-bridge-2.0.so.0.0...done.
Loaded symbols for /usr/local/lib/libatk-bridge-2.0.so.0.0
Reading symbols from /usr/local/lib/libdbus-1.so.11.0...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.11.0
Reading symbols from /usr/local/lib/libatspi.so.0.1...done.
Loaded symbols for /usr/local/lib/libatspi.so.0.1
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/local/lib/libevent_extra.so.0.1...done.
Loaded symbols for /usr/local/lib/libevent_extra.so.0.1
Reading symbols from /usr/local/lib/libevent_core.so.1.1...done.
Loaded symbols for /usr/local/lib/libevent_core.so.1.1
Reading symbols from /usr/local/lib/libcurl.so.24.9...done.
Loaded symbols for /usr/local/lib/libcurl.so.24.9
Reading symbols from /usr/local/lib/libidn.so.17.2...done.
Loaded symbols for /usr/local/lib/libidn.so.17.2
Reading symbols from /usr/lib/libssl.so.35.0...done.
Loaded symbols for /usr/lib/libssl.so.35.0
Reading symbols from /usr/lib/libcrypto.so.35.0...done.
Loaded symbols for /usr/lib/libcrypto.so.35.0
Reading symbols from /usr/lib/libc.so.80.1...done.
Loaded symbols for /usr/lib/libc.so.80.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libGL.so.15.0...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.15.0
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.0
Reading symbols from /usr/X11R6/lib/libdrm.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.0
Reading symbols from /usr/X11R6/lib/libglapi.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.0
Reading symbols from /usr/X11R6/lib/modules/dri/swrast_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/swrast_dri.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /usr/lib/libutil.so.12.1...done.
Loaded symbols for /usr/lib/libutil.so.12.1
Reading symbols from /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/local/lib/librsvg-2.so.38.2...done.
Loaded symbols for /usr/local/lib/librsvg-2.so.38.2
Reading symbols from /usr/local/lib/libcroco-0.6.so.4.0...done.
Loaded symbols for /usr/local/lib/libcroco-0.6.so.4.0
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
Reading symbols from /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so...done.
Loaded symbols for /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
Reading symbols from /usr/local/lib/gio/modules/libdconfsettings.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libdconfsettings.so
#0  0x00000da953941ed0 in dl_shallow_copy () from /usr/local/lib/libgio-2.0.so.4200.1
(gdb) bt
#0  0x00000da953941ed0 in dl_shallow_copy () from /usr/local/lib/libgio-2.0.so.4200.1
#1  0x00000da953941f69 in dl_calculate () from /usr/local/lib/libgio-2.0.so.4200.1
#2  0x00000da953940900 in _kh_dir_diff () from /usr/local/lib/libgio-2.0.so.4200.1
#3  0x00000da953940ad9 in process_kqueue_notifications () from /usr/local/lib/libgio-2.0.so.4200.1
#4  0x00000da8bb43a0a2 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.4200.1
#5  0x00000da8bb43c22b in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x00000da8bb43c2f7 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x00000da9538e7912 in g_application_run () from /usr/local/lib/libgio-2.0.so.4200.1
#8  0x00000da6abc347d1 in main () from /usr/local/bin/transmission-gtk
(gdb) q
Reply With Quote
Old 22nd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Thank you. Once again, this appears like a problem in GTK libraries. It is another bus error, but it not clear what the error is from the trace output, as no arguments are included.

Because the problems each appear to be different I would suspect a hardware problem, such as problems in RAM or in the power supply. Not only because each problem appears to be different, but because no one is reporting similar problems on the Project's mailing lists. However, you mentioned above that you were using Linux this week, and I assume that was on the same workstation. If there were hardware problems, you would likely have similar failures on Linux.

I will build a "debug" version of transmission on a 5.8-release/amd64 system. It will be the same as the transmission you have installed -- and match your .core file -- except it will include debugging symbols useful with gdb. Perhaps together we will be able to determine what is happening on your workstation. I'll reach out to you via Private Message when the package is ready, with a link.

Last edited by jggimi; 22nd December 2015 at 07:21 PM. Reason: typo
Reply With Quote
Old 22nd December 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by jggimi View Post
Once again, this appears like a problem in GTK libraries.
I/we have not seen a plethora of threads complaining about similar behavior with 5.8-release. This leads me to question what is unique to notooth's installation.
  • If it is hardware related, I question if the memory where these large applications are loading is on the verge of going bad. Aggressively testing with applications such as sysutils/memtest86+ is warranted given the information provided.

    I would also suggest that notooth checks to see if any BIOS updates are available & install if found.
  • I run Firefox & Libreoffice on 2GB systems without the problems described here. They may be slow if all are being run concurrently, but they do not crash.

    Having said this, I also do not run 5.8-release. I run -current. While I do not flagrantly suggest notooth upgrade to -current without careful consideration of his needs & ability, recognize that -current is the development branch where the latest work is occurring. 5.8-release was tagged in CVS over six months ago, & the OpenBSD codebase has moved considerable distance since 5.8-release.

    I would highly suggest that notooth study Section 5.1 while contemplating migration to -current. Running code from the development branch requires more knowledge & responsibility than running either -release or -stable.
Testing the hardware may or may not indicate a different path of inquiry just as moving to -current may or may not solve any problems seen with 5.8-release, but exploring hardware testing is worth the time required to do so, & is certainly prudent as the next step in investigation.

Last edited by ocicat; 22nd December 2015 at 11:46 PM. Reason: fixed missing vBulletin formatting tag...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall OpenBSD 5.7 automatically (vps without KVM) wesley Guides 0 1st June 2015 11:07 AM
Can't exit suspend mode IdOp OpenBSD General 3 31st May 2013 05:26 PM
Xorg hangs on exit gpatrick OpenBSD General 7 27th November 2009 09:24 PM
Login automatically map7 FreeBSD General 1 12th October 2008 11:09 PM
Warning error every exit of X aleunix OpenBSD Packages and Ports 2 6th June 2008 08:46 PM


All times are GMT. The time now is 04:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick