After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112839 - crash on deleting mail
crash on deleting mail
Status: VERIFIED INCOMPLETE
Product: balsa
Classification: Other
Component: general
2.0.x
Other other
: High critical
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
: 112408 117323 124536 126094 171816 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-05-12 14:41 UTC by Geoffrey Leach
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Geoffrey Leach 2003-05-12 14:41:09 UTC
Package: balsa
Severity: normal
Version: 2.0.10
Synopsis: crash on deleting mail
Bugzilla-Product: balsa
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.2.0.1)

Description:
Description of Problem:

crash on deleting mail
Steps to reproduce the problem:
1. 
2. 
3. 

Actual Results:


Expected Results:


How often does this happen? random


Additional Information:
Sorry, I know that the description is not of much use.  Balsa tends to
crash randomly. In this case I was punching Delete with a dozen or so
items (everything in the folder) highlighted.



Debugging Information:

Backtrace was generated from '/usr/bin/balsa'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread 16384 (LWP 640)]
[New Thread 32769 (LWP 716)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x40d91844 in waitpid ()
   from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 640))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 libbalsa_message_get_subject
  • #5 subject_gather
  • #6 g_node_children_foreach
    from /usr/lib/libglib-2.0.so.0
  • #7 threading_jwz
  • #8 bndx_messages_remove
  • #9 mailbox_messages_func_idle
  • #10 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #11 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #15 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 main
  • #17 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-05-12 10:41 -------

Reassigning to the default owner of the component, pawsa@theochem.kth.se.

Comment 1 Elijah Newren 2003-05-14 05:02:10 UTC
I could have sworn I've seen similar stack traces, but according to
the simple-dup-finder, this appears to be a unique stack trace. 
Setting version->2.0.x, marking priority->high & severity->critical
(it's a crasher), adding bugsquad keyword, and marking as new.
Comment 2 Pawel Salek 2003-05-14 05:26:20 UTC
Does upgrade to 2.0.11 fix that problem?
Comment 3 Geoffrey Leach 2003-05-14 15:30:11 UTC
Regretably, upgrading to 2.0.11 does not fix the problem.  Stack trace
is pretty much the same.  The crashing appears to to be related to
deleting; I've seen it happen (2.0.10) when there was no activity at all.

I'll be glad to assist in diagnosing the problem.  Just let me know
what needs to be done.
Comment 4 Pawel Salek 2003-05-14 15:47:26 UTC
Thanks for the reply. What OS is this? Linux?
Comment 5 Geoffrey Leach 2003-05-14 15:56:11 UTC
OS is Linux -- RH 9
Comment 6 Geoffrey Leach 2003-05-15 16:20:24 UTC
*** Bug 112408 has been marked as a duplicate of this bug. ***
Comment 7 Geoffrey Leach 2003-05-15 16:34:44 UTC
Some additional observations. These relate to 2.0.11, but I suspect
are also relevant to 2.0.10.

I notice that Balsa does its segv thing more often in the early
morning.  That's relevant because when I go on-line there are several
dozen emails waiting.  The sequence of events for a new mail is
fetchmail->sendmail->MailSorter->balsa

MailSorter is a locally-written Perl daemon that looks at the .forward
file being filled by sendmail (not the same as balsa's inbox) and
distributes mail (using Email::Filter) to balsa's inbox or to one of
balsa's maildir-style folders.

My guess is that balsa is not expecting things to be added by outside
actors.  The delivery mechanism (Email::LocalDelivery) uses a maildir
mechanism of write to maildir/tmp  followed by linking the file to
maildir/new. For the mbox inbox, it uses flock LOCK_EX | LOCK_NB,
followed by append to the file and unlock.
Comment 8 Andrew Lau 2003-06-01 07:14:32 UTC
Miquel van Smoorenburg filed a similar bug report on the Debian BTS at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191851

with instructions as to how to fully reproduce it. The only thing
different here is that this is with Debian GNU/Linux (unstable). I
can't produce it on my POP3 setup, so it might be a remote IMAP bug as
Miquel suggests. 
Comment 9 Carlos Morgado 2003-06-22 23:13:36 UTC
Interesting. I commited a fix on December (it's on 2.0.4) for a
problem with maildir being changed externaly and balsa not dealing
correctly with it. I wonder if this is still related. However, you say
that it happens with mbox too right ? 
Comment 10 Geoffrey Leach 2003-06-22 23:18:55 UTC
With both mbox and maildir, as far as I can tell.  Here's a recent stack
2.0.11 unmodified, locally compiled.

    at balsa-message.c:617
        part_count = 1096009912
        has_focus = 0
  • #18 balsa_window_idle_cb
    at main-window.c line 3180
  • #19 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #20 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #24 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 main
    at main.c line 447
  • #26 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libc.so.6

Comment 11 Pawel Salek 2003-10-14 08:07:59 UTC
*** Bug 117323 has been marked as a duplicate of this bug. ***
Comment 12 Pawel Salek 2003-10-14 08:12:35 UTC
*** Bug 124536 has been marked as a duplicate of this bug. ***
Comment 13 Elijah Newren 2003-12-11 05:12:40 UTC
*** Bug 126094 has been marked as a duplicate of this bug. ***
Comment 14 Carlos Morgado 2004-05-02 21:51:16 UTC
Is this bug still relevant ? can it still be duplicated with recent versions ?
Comment 15 Geoffrey Leach 2004-05-02 21:59:13 UTC
It does not occur with 2.0.16.  However, FWIW, I've changed the environment from
a Pentium Pro with 256KB memory to a dual Opteron with 4G.  I think that the
increased available resources may have something to do with the improved
results. :-)
Comment 16 Carlos Morgado 2004-07-05 14:06:24 UTC
Seems like it's fixed
Comment 17 Elijah Newren 2005-03-27 22:23:05 UTC
*** Bug 171816 has been marked as a duplicate of this bug. ***