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 97233 - Maildir format for in box (mutliple Maildir)
Maildir format for in box (mutliple Maildir)
Status: VERIFIED FIXED
Product: balsa
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on: 93629 97428
Blocks:
 
 
Reported: 2002-10-30 16:24 UTC by Martin Klaffenboeck
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Schreenshot of balsa-1.4.3 (48.22 KB, image/png)
2002-11-07 08:12 UTC, Martin Klaffenboeck
Details
Screenshot of balsa-2.0.3 (28.41 KB, image/png)
2002-11-07 08:13 UTC, Martin Klaffenboeck
Details
A Shell Archive of my Maildir Hirarchy. (13.23 KB, text/plain)
2002-11-19 18:18 UTC, Martin Klaffenboeck
Details

Description Martin Klaffenboeck 2002-10-30 16:22:22 UTC
Package: balsa
Severity: major
Version: 2.0.3
Synopsis: Maildir format for in box (mutliple Maildir)
Bugzilla-Product: balsa
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.0.5)

Description:
Description of Problem:
I'd like to use the Maildir format for my inbox outbox and so on.
So I created this with the maildirmake from qmail and I could use that.

I also createt multiple Maildir mailboxes in the base directory and
sometimes in a subdirectory of the base directory.

Steps to reproduce the problem:

First, delete the mail directory of balsa and delete the balsa entry in
${HOME]/.gnome2

rm ${HOME)/.gnome2/balsa
rm -r mail

1.  
mkdir mail
cd mail
/var/qmail/bin/maildirmake inbox
same for outbox, trash, draftbox and sentbox.

2. 
create some more mailboxes in Maildir format in this folder and
subfolder.

mkdir ${HOME}/mail/FreeBSD
cd ${HOME]/mail/FreeBSD
/var/qmail/bin/maildirmake questions
same for gnome ports misc stable
mkdir ${HOME}/mail/Private
cd ${HOME}/mail/Private
/var/qmail/bin/maildirmake Anna
and a view others...

I can send you my whole tree if you want...  most of them are empty by
now, a fiew boxes have some content.

3. 

Start Balsa use standard configuration, exept the inbox in step 2 I
think must be modified.

Actual Results:

The tree of the mailboxes does not work correctly and balsa crashes
there sometimes...
The mailboxtree doesn't show all the mailboxes, sometimes on mouse over
the mailboxes apear, and then they disapear again,
mostly nothing happends.  By chance I could open any other mailbox like
${HOME}/mail/Jugend/KD.  But balsa crashes often.

Expected Results:

That should work correctly.

How often does this happen?

I can click and click and click and after a view times balsa crashes. 
So it happens every time if I want.

Additional Information:




Debugging Information:

Backtrace was generated from '/usr/X11R6/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)...
(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)...0x29094b44 in __sys_poll ()
   from /usr/lib/libc_r.so.4
  • #0 __sys_poll
    from /usr/lib/libc_r.so.4
  • #1 _thread_kern_sched_state_unlock
    from /usr/lib/libc_r.so.4
  • #2 _thread_kern_scheduler
    from /usr/lib/libc_r.so.4




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-10-30 11:22 -------

The original reporter (martin.klaffenboeck@gmx.at) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, pawsa@theochem.kth.se.

Comment 1 PeterBloomfield 2002-10-30 17:24:59 UTC
I could not duplicate this. I started Balsa with no config file, used
the Druid to designate an existing maildir mailbox (~/mail/something)
as the Inbox, and it all worked.

However, I didn't use qmail tools to make the maildir boxes--I used
Balsa's file->new->maildir tool. Does the qmail tool do something
different? Balsa creates directories `path', 'path/new', `path/cur',
and `path/tmp', which are all otherwise empty.

Can you provide some OS info?
Comment 2 Martin Klaffenboeck 2002-10-30 19:05:12 UTC
I build my balsa again with -g (debugging) and now I can see something
when I'm running balsa within gdb, and there I can see something:

(gdb) bt
  • #0 gtk_tree_model_get_valist
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #1 gtk_tree_model_get
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #2 balsa_mblist_get_type
  • #3 gtk_tree_selection_select_range
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #4 gtk_tree_view_set_reorderable
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #5 gtk_tree_view_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #6 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #7 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #8 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 gtk_signal_emit
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #12 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #13 gtk_widget_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #14 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #15 gtk_main_do_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #16 gdk_add_client_message_filter
    from /usr/X11R6/lib/libgdk-x11-2.0.so.0
  • #17 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #18 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #19 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #21 gtk_main
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #22 main
  • #23 _start

sorry, I couln't get a balsa.core file, I don't know why...

I'm using FreeBSD.  Why doesn't the gnome2 bugzilla get all this
informatinon?  FreeBSD 4.7 (yesterday)

Martin
Comment 3 Carlos Morgado 2002-10-30 19:19:16 UTC
could you try with balsa-1.4 and see what happens ? I'm not sure if
this is a backend or frontend bug
Comment 4 Martin Klaffenboeck 2002-10-30 19:57:34 UTC
with balsa 1.4 its running ok, and faster... ;-)  But I'd like to use
2.x because of the look of gnome2...

Martin
Comment 5 Carlos Morgado 2002-10-30 19:58:21 UTC
tkx, that means it's a frontend bug.
Comment 6 PeterBloomfield 2002-10-30 20:46:12 UTC
The stack seems to be trashed. I don't see how a call to
balsa_mblist_get_type can be sandwiched in those gtk_tree_* calls.
What was the event that gave you back the gdb prompt?
Comment 7 Martin Klaffenboeck 2002-10-30 21:14:44 UTC
Sorry, I'm not that familar with gdb that I know now what you really mean.

I'll paste here the last output of my gdb, could be that that is what
you want to know?  Otherwise, please tell me ...

last output:
(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 645
(gtk_tree_store_iter_next): assertion `iter->user_data != NULL' failed

(balsa:26415): Gtk-CRITICAL **: file gtktreeview.c: line 3077
(gtk_tree_view_bin_expose): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.


(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 619
(gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
(tree_model)->stamp' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gobject.c: line 989
(g_object_set_property): assertion `G_IS_VALUE (value)' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gvalue.c: line 147
(g_value_unset): assertion `G_IS_VALUE (value)' failed

(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 619
(gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
(tree_model)->stamp' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gobject.c: line 989
(g_object_set_property): assertion `G_IS_VALUE (value)' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gvalue.c: line 147
(g_value_unset): assertion `G_IS_VALUE (value)' failed

(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 619
(gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
(tree_model)->stamp' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gobject.c: line 989
(g_object_set_property): assertion `G_IS_VALUE (value)' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gvalue.c: line 147
(g_value_unset): assertion `G_IS_VALUE (value)' failed

(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 619
(gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
(tree_model)->stamp' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gobject.c: line 989
(g_object_set_property): assertion `G_IS_VALUE (value)' failed

(balsa:26415): GLib-GObject-CRITICAL **: file gvalue.c: line 147
(g_value_unset): assertion `G_IS_VALUE (value)' failed

(balsa:26415): Gtk-CRITICAL **: file gtktreestore.c: line 619
(gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
(tree_model)->stamp' failed

(balsa:26415): GLib-GObject-WARNING **:
gtype.c:2835:g_type_value_table_peek(): type id `0' is invalid

(balsa:26415): GLib-GObject-WARNING **: can't peek value table for
type `<invalid>' which is not currently referenced
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x289b5bb5 in gtk_tree_model_get_valist ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
(gdb) 
Comment 8 PeterBloomfield 2002-10-30 21:44:48 UTC
Yes, that helps a lot--clearly, something bad happened internal to
GtkTree* stuff!

One more test, if you could: in gdb, start Balsa with `run
--g-fatal-warnings', and trigger the errors. You should get the gdb
prompt when the first of those `Gtk-CRITICAL's is emitted: please get
the stack trace (`bt', or `info stack'), and post it.
Comment 9 Martin Klaffenboeck 2002-10-30 22:28:32 UTC
Oh,
I guessed, it would have to do with GtkTree.

With --g-fatal-warnings I just get:

(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGABRT, Aborted.
0x2907c530 in kill () from /usr/lib/libc_r.so.4

(gdb) bt
  • #0 kill
    from /usr/lib/libc_r.so.4
  • #1 abort
    from /usr/lib/libc_r.so.4
  • #2 g_logv
    from /usr/local/lib/libglib-2.0.so.0
  • #3 g_log
    from /usr/local/lib/libglib-2.0.so.0
  • #4 theme_pixbuf_compute_hints
    from /usr/X11R6/lib/gtk-2.0/2.0.0/engines/libpixmap.so
  • #5 theme_pixbuf_get_pixbuf
    from /usr/X11R6/lib/gtk-2.0/2.0.0/engines/libpixmap.so
  • #6 theme_pixbuf_render
    from /usr/X11R6/lib/gtk-2.0/2.0.0/engines/libpixmap.so
  • #7 draw_simple_image
    from /usr/X11R6/lib/gtk-2.0/2.0.0/engines/libpixmap.so
  • #8 draw_box
    from /usr/X11R6/lib/gtk-2.0/2.0.0/engines/libpixmap.so
  • #9 gtk_paint_box
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #10 gtk_button_get_relief
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #11 gtk_button_get_relief
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #12 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #13 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #15 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 gtk_signal_emit
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #18 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #19 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #20 gtk_container_propagate_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #21 gtk_tree_view_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #22 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #23 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #25 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #27 gtk_signal_emit
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #28 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #29 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #30 gtk_main_do_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #31 gdk_window_clear_area_e
    from /usr/X11R6/lib/libgdk-x11-2.0.so.0
  • #32 gdk_window_process_all_updates
    from /usr/X11R6/lib/libgdk-x11-2.0.so.0
  • #33 gtk_container_set_reallocate_redraws
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #34 g_idle_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #35 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #36 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #37 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #38 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #39 gtk_main
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #40 main
  • #41 _start

I hope I did everything correct here...

Martin
Comment 10 PeterBloomfield 2002-10-30 22:37:20 UTC
Yes, it looks as though you did everything correctly...but this wasn't
the stack I expected! Have you been getting other GtkCRITICAL
messages? This one seems to derive from some other problem completely.

I know this seems to go on for ever, but...could you start Balsa the
same way, and just `continue' (`c') past these messages until you see
the one from gtk_tree_store_iter_next? *That's* the stack that might
help debug Balsa!
Comment 11 Martin Klaffenboeck 2002-10-30 22:50:21 UTC
(gdb) c
Continuing.
Program exited with code 01.
(gdb) 

And there come the Message to send a Bug Report.

I think, that doesn't help?
Comment 12 PeterBloomfield 2002-10-31 00:35:12 UTC
You're right! I'm stumped...and with no FreeBSD setup to test on, I
don't see any way forward. You might want to post to 
balsa-list@gnome.org to see if other FreeBSD-ers have any suggestions.
Comment 13 Martin Klaffenboeck 2002-11-07 08:12:15 UTC
Created attachment 12115 [details]
Schreenshot of balsa-1.4.3
Comment 14 Martin Klaffenboeck 2002-11-07 08:13:50 UTC
Created attachment 12116 [details]
Screenshot of balsa-2.0.3
Comment 15 Martin Klaffenboeck 2002-11-07 08:14:59 UTC
I add a view screenshots, mabye that helps?  On Balsa-2.0.3 the things
in the Tree change when I roll my mouse over the items...

Martin
Comment 16 Martin Klaffenboeck 2002-11-19 18:16:46 UTC
Maybe you can have a look at this again.  I'll submit my Maildir
hirarchie in a shell script (just run it by 'sh filename' and you will
get my maildir hirarchie under the ${USER}/mail if your there).

Maybe you can try to open that hirarchy with balsa.  Please make sure
to compare the result hirarchy from Balsa with the structure on your
hard disk.

Martin
Comment 17 Martin Klaffenboeck 2002-11-19 18:18:05 UTC
Created attachment 12403 [details]
A Shell Archive of my Maildir Hirarchy.
Comment 18 PeterBloomfield 2002-11-19 19:55:45 UTC
Martin: have you looked at the bugs that are shown as dependencies?
Bug #93629 looks quite similar.
Comment 19 Pawel Salek 2002-12-02 22:42:39 UTC
Still cannot reproduce it. BTW, can you try configure
--disable-threads and get a stack trace then?
Comment 20 Martin Klaffenboeck 2002-12-03 10:37:20 UTC
It works now.  I build with --disable-thread and it worked, so I tryed
to enable it again and it also worked.  I don't know why.  Mabe the
gtk2 libraries are updatet on freebsd and caused balsa to work.

Thanks...

Martin
Comment 21 Martin Klaffenboeck 2002-12-03 10:38:45 UTC
How can I close this?
Comment 22 Elijah Newren 2003-03-04 22:55:05 UTC
I apologize for the spam, but in talking to David Kennedy on #bugs we decided
that it might be useful for me to add a comment to a lot of bugs that have
nearly identical stack traces that aren't very useful.  (It took me a while
because I gave up on several bugzilla queries that simply hung).  Anyway, I may
have caught some bugs with this query that aren't relevant, so I apologize again
if this bug is one of those.  If not:

The following comment from 100709 may be relevant: "It turns out this was an
accidental FreeBSD ABI change during the import of gcc-3.2.1. div(), a structure
returning function, was the culprit."
Comment 23 Pawel Salek 2003-03-26 23:13:32 UTC
balsa-2.0.10 relased.