Re: request for help



Le mar, 21 aoû 2001 12:38:05, Ali Akcaagac a écrit :

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 21707)]
> 0x8083e2d in update_xsysop_value () at pref-manager.c:978
> 978		 if (balsa_app.xsysop_cmd[0] == 0) return;
> (gdb) 
> 
> oki, i noticed that this segfaults causes because you call the function
> without check if i have SystemIdentificationCmd in my balsa prefs. i
> manually added this 'SystemIdentificationCmd=uname' and run again. this
> happens.

Yes at the beginning I've copied the pref for the indent string and the "=>
" at the end of the string used to read the config was not clear to me (I
was certainly tired).
Before sending you my patch I understood what it was (the default value)
and to hide my ignorance I've remove "=> " in the patch (without further
test) and then this add a bug.

> bash-2.05$ gdb /tmp/balsa/src/balsa 
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i686-pc-linux-gnu"...
> (gdb) run
> Starting program: /tmp/balsa/src/balsa 
> [New Thread 1024 (LWP 26626)]
> --> Linux
> 
> thread_db: map_id2thr failed: invalid thread handle
> (gdb) 

This is scaring.

> any ideas how to go any further so i could come into normal operations
> and check that threading thingy ?
> 
> -- 
> Name....: Ali Akcaagac
> Status..: Student Of Computer & Economic Science
> E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
> WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
> 
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list
> 
-- 
Christophe Barbé
Software Engineer - christophe.barbe@lineo.fr
Lineo France - Lineo High Availability Group
42-46, rue Médéric - 92110 Clichy - France
phone (33).1.41.40.02.12 - fax (33).1.41.40.02.01
http://www.lineo.com




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