Re: Balsa crashes when receiving email



On 2002.01.18 01:13:40 +0000 Paulo Andre' wrote:

> Program received signal SIGSEGV, Segmentation fault.
> gtk_type_check_object_cast (type_object=0x73207265, cast_type=48405)
>     at gtktypeutils.c:624
> 624       if (!type_object->klass)
> (gdb) bt
> #0  gtk_type_check_object_cast (type_object=0x73207265, cast_type=48405)
>     at gtktypeutils.c:624
> #1  0x80ac53c in libbalsa_mailbox_pop3_check (mailbox=0x73207265)
>     at mailbox_pop3.c:267
> #2  0x76726573 in ?? ()
> Cannot access memory at address 0x204b4f2b.
> (gdb)

relevant piece of code:


     status =  LIBBALSA_MAILBOX_POP3(mailbox)->filter             <---- line 
257
	? libbalsa_fetch_pop_mail_filter (m, progress_cb, uid)
	: libbalsa_fetch_pop_mail_direct (m, tmp_path, progress_cb, uid);

     if(status != POP_OK)
	libbalsa_information(LIBBALSA_INFORMATION_WARNING,
			     _("POP3 mailbox %s accessing 
error:\n%s"), 			     mailbox->name,
			     pop_get_errstr(status));
         if (LIBBALSA_MAILBOX_POP3(mailbox)->last_popped_uid == NULL || <--- 
LINE 267
	strcmp(LIBBALSA_MAILBOX_POP3(mailbox)->last_popped_uid,
	       uid) != 0) {

k, why doesn't it break on line 257 ?
	 
-- 
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds



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