Re: compile in debug mode



On Mon, 2005-04-25 at 18:11 +0100, Denny Beyer wrote:
Hey again,

compiling in debug mode and using ddd gave a segmantation fault in 
fonts.c line 316:

314 DiaFont* dia_font_ref(DiaFont* font)
315 {
316     g_object_ref(G_OBJECT(font));
317     return font;
318 }

Any idea, whats wrong there / how to find out / how to fix it?

If you can show us a backtrace (bt), it will give us a better idea of
what caused this.  I'm thinking there's a bad font (as in a corrupt font
file) or a bad font name somewhere.  If you can give the contents of the
'font' variable, too, that should tell a great deal.

-Lars

-- 
Lars Clausen <lars raeder dk>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]