Bug 75252

Summary: Anjuta 1.2.2_3 crashes on opening a new project file
Product: Ports & Packages Reporter: Hernán Di Pietro <hernandp>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Hernán Di Pietro 2004-12-19 07:30:23 UTC
When you create a new project using the AppWizard from Anjuta, it 
crashes displaying 'application has unexpectedly quit' message.

Fix: 

Since the backtrace showed that Anjuta-bin got a segmentation fault on SurfaceImpl::Ascent function in PlatGTK.cxx (scintilla source), which is a font-related function, I disabled the font antialising.

This only occurs if you are using full antialiased (no-hinting) fonts.

Disable antialiasing or don't set it to no-hinting.
How-To-Repeat: * Set your fonts setting in GNOME to antialiased, monochrome and no-hinting.
* Create a new project (any C/C++ type)
* Open the folder where the source files are on the project manager.
  Double click on 'main'. Anjuta should crash with a dialog box.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-12-20 06:51:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer(s).
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2005-02-09 05:46:58 UTC
State Changed
From-To: open->closed

While I am able to reproduce this, I believe this is a scintilla bug, and 
not FreeBSD-specific.  I recommend you open a bug with either scintilla or 
Anjuta.  In the meantime, you already have a viable workaround.