View Single Post
  #2   (View Single Post)  
Old 24th January 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Daffy View Post
Code:
Segmentation fault   bluefish  (core dumped)
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:
  • Install a snapshot of -current & install the -current's Bluefish package. Again, there is no guarantee this will resolve what you are experiencing.
  • There is currently no specific person serving as the maintainer of the application:

    http://openports.se/www/bluefish

    Posting to the ports@ mailing list may not generate much interest -- especially given that the developers are in the middle of stablizing the entire ports tree in anticipation of the tagging of OpenBSD 4.9. However, posting a PR would be good on your part. Information on submitting bug reports can be found at the following:

    http://www.openbsd.org/report.html
  • Add more memory to your system. Again, this may or may not mask the fundamental problem.
  • Try a different editor.
If you are needing quick resolution, I would suggest the first or fourth option. However, you will doing your part as an OpenBSD user by submitting a thorough PR.

Last edited by ocicat; 24th January 2011 at 01:24 AM.
Reply With Quote