Re: Balsa crashes on startup

Pawel, I think you will find this to be far more useful than my previous effort. Thanks Andrew for helping with the compiling options. 

is there a problem with the permission on my mailbox dir? Permissions are currently set to 700.


--------------- trace follows -----------------------
GNU gdb 6.0-debian
Copyright 2003 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 "i386-linux"...
(gdb) run --disable-crash-dialog
Starting program: /usr/bin/balsa --disable-crash-dialog
[New Thread 16384 (LWP 12599)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12599)]
0x412053a3 in strrchr () from /lib/
(gdb) bt
#0  0x412053a3 in strrchr () from /lib/
#1  0x080e2f9b in libbalsa_server_load_config (server=0x41205300)
    at server.c:306
#2  0x080d7937 in libbalsa_mailbox_pop3_load_config (mailbox=0x81bfda8, 
    prefix=0x3a3a <Address 0x3a3a out of bounds>) at mailbox_pop3.c:377
#3  0x40e7bc5b in g_cclosure_marshal_VOID__POINTER ()
   from /usr/lib/
#4  0x40e6ad44 in g_cclosure_new_swap () from /usr/lib/
#5  0x40e6aa92 in g_closure_invoke () from /usr/lib/
#6  0x40e7a895 in g_signal_emit_by_name () from /usr/lib/
#7  0x40e79ec2 in g_signal_emit_valist () from /usr/lib/
#8  0x40e7a0d6 in g_signal_emit () from /usr/lib/
#9  0x080d1bee in libbalsa_mailbox_load_config (mailbox=0x81bfda8, 
    prefix=0x81bf340 "balsa/mailbox-2/") at mailbox.c:679
#10 0x080d0e4f in libbalsa_mailbox_new_from_config (
    prefix=0x81bf340 "balsa/mailbox-2/") at mailbox.c:435
#11 0x080aa102 in config_mailbox_init (prefix=0x81bfda8 "аш\e\b\002")
    at save-restore.c:478
#12 0x080a9fea in config_section_init (section_prefix=0x812ad57 "mailbox-", 
    cb=0x80aa0e0 <config_mailbox_init>) at save-restore.c:415
#13 0x080a943c in config_load () at save-restore.c:86
#14 0x08099a85 in config_init () at main.c:200
#15 0x08099fcf in main (argc=2, argv=0xbffffaa4) at main.c:384
(gdb) list
384	    config_init();
385	    /* load mailboxes */
386	    mailboxes_init();
388	    default_icon = balsa_pixmap_finder("balsa_icon.png");
389	    gnome_window_icon_set_default_from_file(default_icon);
390	    g_free(default_icon);
392	    signal( SIGPIPE, SIG_IGN );
393	    gnome_triggers_do("", "program", "balsa", "startup", NULL);
(gdb) info locals
No symbol table info available.
(gdb) up
#1  0x080e2f9b in libbalsa_server_load_config (server=0x41205300)
    at server.c:306
306	    if(strrchr(server->host, ':') == NULL) {
(gdb) list
301	void
302	libbalsa_server_load_config(LibBalsaServer * server)
303	{
304	    gboolean d;
305	    server->host = gnome_config_get_string("Server");
306	    if(strrchr(server->host, ':') == NULL) {
307	        gint port;
308	        port = gnome_config_get_int_with_default("Port", &d);
309	        if (!d) {
310	            gchar *newhost = g_strdup_printf("%s:%d", server->host, port);
(gdb) info locals
d = 1
(gdb) quit
The program is running.  Exit anyway? (y or n) 

---------- Original Message -------------
Subject: Re: Balsa crashes on startup
Date: Thu, 30 Oct 2003 19:17:35 +0100
From: Pawel Salek <>
To: tom <>

On 10/30/2003 06:19:51 AM, tom wrote:
> [snip]
> When I load Balsa from a terminal, as a user, it displays the
> *** Message: init gpgme version 0.3.15
> message and then crashes with a seg-fault.

Do you think you could provide a stack trace? You can find instructions  

balsa-list mailing list

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