|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Problem with Bluefish
I just installed Bluefish editor and it seems that I'm having some problems.
When I load any .css file, the editor crashes and I'm getting: Code:
Segmentation fault bluefish (core dumped) dmesg: Code:
OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 real mem = 1063743488 (1014MB) avail mem = 1036382208 (988MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/19/06, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries) bios0: vendor IBM version "75ET60WW (2.06 )" date 12/19/2006 bios0: IBM 1867WEF apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 47% apm0: AC off, battery charge high, estimated 1:38 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc0000/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 0xe0000/0x10000 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) mem address conflict 0x3f700000/0x80000 io address conflict 0x5800/0x8 io address conflict 0x5808/0x4 io address conflict 0x5810/0x8 io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xc0000000, size 0x10000000 inteldrm0 at vga1: no ifp : irq 11 drm0 at inteldrm0 "Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 11 pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:16:d3:22:13:5a brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11 uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11 uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11 ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 pci2 at ppb1 bus 4 cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11 sdhc0 at pci2 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11 sdmmc0 at sdhc0 ath0 at pci2 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11 ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR2W, address 00:16:cf:00:ed:c9 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <HTC426040G9AT00> wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 aps0 at isa0 port 0x1600/31 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask effd netmask effd ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed sd0: 7646MB, 512 bytes/sec, 15659008 sec total root on wd0a swap on wd0b dump on wd0b |
|
|||
Segmentation faults are typically emitted by the OS when an application tries to access memory which is not in the application's process space. A common cause is where code uses an uninitialized address & when blindly using the ill-defined value goes outside of the process' bounds. In short, most causes for this error are coding mistakes.
As conjecture, your dmesg(8) output indicates you only have 1GB of RAM. It may be that most using this editor do so on systems with more memory. With more memory comes less swapping of memory pages. I suspect that the segmentation fault was exacerbated by the lack of memory, however, I can only guess without recompiling the source with debug information & attempting to use this editor in a similar environment as yours. I see in CVS that the Makefile has een restructured for OpenBSD 4.9: http://www.openbsd.org/cgi-bin/cvswe...efish/Makefile Whether this addresses the problem you are experiencing is unknown. If you are unable to debug the application yourself, you have four choices:
Last edited by ocicat; 24th January 2011 at 01:24 AM. |
|
|||
It should be noted that ports problems should not be sent using sendbug(1) or to bugs@, send them to ports@ only.
You may also want to contact the developers of this software, although they may require you to do things that are beyond the realm of "supported".. i.e: obtaining the latest source code and building it manually, which is difficult and error prone. |
|
|||
Quote:
My OpenBSD Gnome desktop usually pushes beyond 1GB and settles around 1.4GB. Pretty much the same with PC-BSD/FreeBSD. I would not run any BSD full-fat desktop (Gnome, KDE, etc...) with less than 2GB of RAM. |
|
|||
Thank you for your answers. I just don't understand something. I opened 14 different html tabs in bluefish, edited them saved them, all this many times without crashing. The only time I get a crash, is when I open a .css file...
As for the memory, I use Openbox. From top I get that I have 850-870M free memory every time... I don't know what's happening. Well, time to learn to use vim/gvim with plugins. |
|
|||
...which may indicate that CSS files go through a different code path than other HTML files, but this is simply a guess.
|
|
|||
Quote:
Quote:
The PKG_PATH I use is ftp://ftp.cc.uoc.gr/mirrors/OpenBSD/4.8/packages/i386/. |
|
|||
Quote:
http://en.wikipedia.org/wiki/Bluefish_%28text_editor%29 However, it should be noted that they claim that it is written as POSIX compliant. This should mean that it can be ported to different platforms more easily as POSIX is considered to denote lowest common denominator compatibility. Unfortunately, just because developers claim POSIX compatibility doesn't mean that the application really is easily ported. Also of note from Wikipedia is the statement that the current version is 2.0. You should verify what version you have on your Linux installation. The current version of Bluefish on OpenBSD is 1.0.7 according to OpenPorts: http://openports.se/www/bluefish Why a more recent version has not been ported is probably due to low interest. There are a number of third-party applications in OpenBSD's ports tree which are several versions away from the most current. It's a fact of life. So while I can empathize with your frustration, you aren't dealing with a situation where an apple (in one environment) can be compared to another apple (in a different environment). I suspect you have a newer version of Bluefish on Linux -- at least newer than the version available on OpenBSD. The behavioral difference between Linux & OpenBSD can most likely be isolated to the following two reasons:
|
Tags |
bluefish |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boot problem. Geometry problem? | gulanito | FreeBSD Installation and Upgrading | 0 | 3rd July 2009 03:03 AM |