Re: balsa segfaults or doesn't die properly occasionally

Peter, I apologise - no need to take this off list. My usual mailing  
list mangles headers, if that's any excuse..

On 02/29/04 08:27:57, Peter Bloomfield wrote:
> On 02/29/2004 03:46:24 AM, Kacper Wysocki wrote:
>> On 02/28/04 06:31:46, Kacper Wysocki wrote:
>>> I have been reluctant to post about this because I have very little
>>> in terms of debug information, but the problem is persistent and
>>> has been bothering me for quite some time. Next up I will try
>>> stracing balsa in the hopes of locking in on the problem.
>> So I managed to get a traceback, but it's not very useful on account
>> of the missing symbols, so my questions are:
>> -how do I compile cvs balsa with symbols enabled? Is it as easy as
>> setting CFLAGS to '-g' before ./configure or make? 

> Those `invalid pointer' messages mean heap corruption, and the
> segfault was probably a consequence.  If you run with MALLOC_CHECK_=2
> the allocation/free routines will check every action, so you can find
> the errors as they occur instead of later.  If you also run with --g-
> fatal-warnings you'll get an abort on any such warning, and maybe get
> a useful stack trace.
> I admire for your efforts in hunting down this one!

I haven't gotten around to running with 'MALLOC_CHECK' yet (more a case
of forgetfulness than anything else) but I get loads of warnings when
running balsa- mostly things like :

** (balsa:27319): WARNING **: Cannot find expected file "attachment.
png" (spliced with "pixmaps") with no extra prefixes

(balsa:27319): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 729
(gdk_pixbuf_new_from_file): assertion `filename != NULL' failed

(balsa:27319): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_unref): assertion `G_IS_OBJECT (object)' failed
part: text

During the course of a long session of running balsa, the console will
fill up with similar messages, which I usually ignore as they are a
common enough occurrance that I attributed them to me not running any
gnome apps except for balsa and galeon.

I'll get back to you on the malloc thing..


PGP signature

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