<<< Date Index >>>     <<< Thread Index >>>

Re: Segmentation fault



* Thomas Glanzmann <sithglan@xxxxxxxxxxxxxxxxxxxx>:
  [2005-05-18 00:00:35 +0200]

> let the previous patch applied. It could be the same thing
> duplicated entry points to deleted payload.

Yesterday it happened again (see the attached log file) and now
I'm running two instances of the patched Mutt, one in gdb and the
other in valgrind (though the two are connected to different IMAP
servers).

--
Alex Muntada <alexm@xxxxxxxxx>
http://alexm.org/

==31957== Memcheck, a memory error detector for x86-linux.
==31957== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==31957== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==31957== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==31957== 
==31957== My PID = 31957, parent PID = 25827.  Prog and args are:
==31957==    Soft/linux/mutt-20050413/bin/mutt
==31957== For more details, rerun with: -v
==31957== 

...snip...

==31957== Invalid read of size 1
==31957==    at 0x1B901A63: strcmp (mac_replace_strmem.c:250)
==31957==    by 0x807153D: hash_find_hash (hash.c:108)
==31957==    by 0x80A24B1: mutt_sort_threads (thread.c:921)
==31957==    by 0x80A0519: mutt_sort_headers (sort.c:291)
==31957==    by 0x805F5F4: update_index (curs_main.c:317)
==31957==    by 0x8064BC3: mutt_index_menu (curs_main.c:492)
==31957==    by 0x8077A85: main (main.c:934)
==31957==  Address 0x1BB64210 is 0 bytes inside a block of size 31 free'd
==31957==    at 0x1B902490: free (vg_replace_malloc.c:153)
==31957==    by 0x80A4007: safe_free (lib.c:131)
==31957==    by 0x80A60CD: mutt_free_envelope (muttlib.c:656)
==31957==    by 0x80BBE84: imap_fetch_message (message.c:474)
==31957==    by 0x808198F: mx_open_message (mx.c:1417)
==31957==    by 0x805D2AF: mutt_copy_message (copy.c:677)
==31957==    by 0x80566B0: mutt_display_message (commands.c:146)
==31957==    by 0x806043F: mutt_index_menu (curs_main.c:1144)
==31957==    by 0x8077A85: main (main.c:934)
==31957== 
==31957== ERROR SUMMARY: 31 errors from 1 contexts (suppressed: 46 from 2)
==31957== malloc/free: in use at exit: 172298 bytes in 3710 blocks.
==31957== malloc/free: 25992 allocs, 22282 frees, 1796840 bytes allocated.
==31957== For counts of detected errors, rerun with: -v
==31957== searching for pointers to 3710 not-freed blocks.
==31957== checked 4658404 bytes.
==31957== 

...snip...

Attachment: pgppWhaeTtbwc.pgp
Description: PGP signature