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 156871 - The application balsa has quit unexpectedly
The application balsa has quit unexpectedly
Status: RESOLVED NOTGNOME
Product: balsa
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
: 154636 158051 158246 158581 158598 159454 159608 160170 161571 162225 163184 167530 171315 301385 303268 303983 304256 304527 305615 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-30 02:08 UTC by joakimbs
Modified: 2005-05-27 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description joakimbs 2004-10-30 02:10:11 UTC
Distribution: Fedora Core release 2.92 (FC3 Test 3)
Package: gnome-utils
Severity: normal
Version: GNOME2.8.0 2.2.4
Gnome-Distributor: Red Hat, Inc
Synopsis: The application balsa has quit unexpectedly
Bugzilla-Product: gnome-utils
Bugzilla-Component: gdict
Bugzilla-Version: 2.2.4
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:
Occured when I pressed "Compose" new mail

Steps to reproduce the crash:
1. Start balsa
2. Configure an imap account
3. Press compose

Expected Results:
Open a new message window

How often does this happen?
Every time so far

Additional Information:



Debugging Information:

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

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(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)...[Thread debugging using
libthread_db enabled]
[New Thread -151190880 (LWP 4490)]
(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)...0x003e3782 in _dl_sysinfo_int80
() from /lib/ld-linux.so.2

Thread 1 (Thread -151190880 (LWP 4490))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 sendmsg_window_set_field
  • #5 sendmsg_window_set_field
  • #6 sendmsg_window_set_field
  • #7 sendmsg_window_new
  • #8 check_new_messages_count
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gdk_event_get_graphics_expose
    from /usr/lib/libgdk-x11-2.0.so.0
  • #34 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 main




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-29 22:10 -------


Unknown version 2.2.4 in product gnome-utils. Setting version to "1.4.x".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-utils".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was joakimbs@ulrik.uio.no.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 John Fleck 2004-10-30 14:09:35 UTC
Moving to Balsa....
Comment 2 Peter Bloomfield 2004-11-08 23:44:13 UTC
The stack trace isn't very helpful.  It's possible that your config file has
some info that Balsa can't handle.  If you could remove any sensitive
information and post it, we might be able to debug this problem.

Thanks!
Comment 3 Elijah Newren 2004-11-09 03:56:06 UTC
*** Bug 154636 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2004-11-12 15:11:05 UTC
*** Bug 158051 has been marked as a duplicate of this bug. ***
Comment 5 Steve Blackwell 2004-11-12 16:21:08 UTC
I downloaded the glib2, gtk2 and balsa debugging packages and recreated the
crash. Here is a stack trace that includes the symbol table info.

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

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -152131360 (LWP 10953)]
[New Thread -166724688 (LWP 10957)]
[Thread debugging using libthread_db enabled]
[New Thread -152131360 (LWP 10953)]
[New Thread -166724688 (LWP 10957)]
[Thread debugging using libthread_db enabled]
[New Thread -152131360 (LWP 10953)]
[New Thread -166724688 (LWP 10957)]
0x00ad87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 2 (Thread -166724688 (LWP 10957))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 poll
    from /lib/tls/libc.so.6
  • #2 g_main_loop_get_context
    from /usr/lib/libglib-2.0.so.0
  • #3 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #4 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #5 link_thread_io_context
    from /usr/lib/libORBit-2.so.0
  • #6 ??
    from /usr/lib/libglib-2.0.so.0
  • #7 ??
  • #8 g_static_private_free
    from /usr/lib/libglib-2.0.so.0

Comment 6 Pawel Salek 2004-11-12 17:14:41 UTC
Do you get any error messages when you run balsa on the console? It has been
reported that recompiling balsa from source solves the problem.
Comment 7 Steve Blackwell 2004-11-12 21:26:47 UTC
Here is the output when running from a terminal.

$ balsa
opening Inbox..
done, msgcnt=0

(balsa:11412): libgnomevfs-WARNING **: Deprecated function.  User modifications
to the MIME database are no longer supported.

(balsa:11412): libgnomevfs-WARNING **: Deprecated function.  User modifications
to the MIME database are no longer supported.

(balsa:11412): libgnomevfs-WARNING **: Deprecated function.  User modifications
to the MIME database are no longer supported.

(balsa:11412): libgnomevfs-WARNING **: Deprecated function.  User modifications
to the MIME database are no longer supported.

!!!!!!
***** At this point balsa it up and running. Next I hit the Compose button
!!!!!!

(balsa:11412): GLib-GObject-WARNING **: specified class size for type `LibBalsaA
ddressEntry' is smaller than the parent type's `GtkEntry' class size

(balsa:11412): GLib-GObject-WARNING **: specified class size for type `LibBalsaA
ddressEntry' is smaller than the parent type's `GtkEntry' class size

(balsa:11412): GLib-GObject-CRITICAL **: file gobject.c: line 819 (g_object_new)
: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(balsa:11412): Gtk-CRITICAL **: file gtkwidget.c: line 4664 (gtk_widget_modify_f
ont): assertion `GTK_IS_WIDGET (widget)' failed

(balsa:11412): Gtk-CRITICAL **: file gtktable.c: line 597 (gtk_table_attach): as
sertion `GTK_IS_WIDGET (child)' failed

(balsa:11412): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(balsa:11412): GLib-GObject-CRITICAL **: file gsignal.c: line 1634 (g_signal_con
nect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(balsa:11412): Gtk-CRITICAL **: file gtkdnd.c: line 898 (gtk_drag_dest_set): ass
ertion `GTK_IS_WIDGET (widget)' failed

(balsa:11412): GLib-GObject-WARNING **: specified class size for type `LibBalsaA
ddressEntry' is smaller than the parent type's `GtkEntry' class size

** (balsa:11412): CRITICAL **: file address-entry.c: line 1961 (libbalsa_address
_entry_set_find_match): assertion `address_entry != NULL' failed

(balsa:11412): GLib-GObject-WARNING **: specified class size for type `LibBalsaA
ddressEntry' is smaller than the parent type's `GtkEntry' class size

** (balsa:11412): CRITICAL **: file address-entry.c: line 1985 (libbalsa_address
_entry_set_domain): assertion `address_entry != NULL' failed

(balsa:11412): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(balsa:11412): GLib-GObject-CRITICAL **: file gsignal.c: line 1634 (g_signal_con
nect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(balsa:11412): GLib-GObject-WARNING **: specified class size for type `LibBalsaA
ddressEntry' is smaller than the parent type's `GtkEntry' class size

(balsa:11412): Gtk-CRITICAL **: file gtkentry.c: line 3871 (gtk_entry_get_text):
 assertion `GTK_IS_ENTRY (entry)' failed
[steve@blackwell1 ~]$
Comment 8 Peter Bloomfield 2004-11-13 01:40:46 UTC
I had the same console messages, and fixed them by rebuilding Balsa from the
source rpm.
Comment 9 Pawel Salek 2004-11-14 11:34:57 UTC
*** Bug 158246 has been marked as a duplicate of this bug. ***
Comment 10 Don Lindsay 2004-11-14 19:55:40 UTC
I haven't got a fixed Balsa, so I can't send email, so I have to ask here:

Ah, *how* do I rebuild Balsa from source? I downloaded balsa-2.2.5-1.src.rpm
from gnome.org and did

sudo rpmbuild --recompile balsa-2.2.5-1.src.rpm

Package libgnomeprint-2.0 was not found in the pkg-config search path.
        Perhaps you should add the directory containing `libgnomeprint-2.0.pc'
        to the PKG_CONFIG_PATH environment variable
                  libgnomeprint-2.0 >= 1.106.0
                  libgnomeprintui-2.0 >= 1.106.0

which is all very clear, except for the fact that I already have eg
libgnomeprintui22-2.8.0-1 which defines many libgnomeprintui-2.2* files.
Sounds newer, not older. 

What next?
Comment 11 Don Lindsay 2004-11-14 20:56:11 UTC
I opened
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139279

against Fedora Core 3, and referenced this page.
Comment 12 Peter Bloomfield 2004-11-14 20:59:03 UTC
Your rpmbuild command is the right one, but apparently you need the
libgnomeprint-devel and possible the libgnomeprintui-devel packages too.  They
provide the header files that Balsa needs, and also the libgnomeprint-2.0.pc file.
Comment 13 Don Lindsay 2004-11-14 22:50:39 UTC
As I said above, FC3 has the 2.2 versions of those libraries - it just doesn't
have the 2.0 versions. And looking at old distros, I see that pattern at least
as far back as Red Hat 9.0. And looking at:

http://mail.gnome.org/archives/gtk-perl-list/2003-July/msg00041.html

I notice a different Gnome project converting over, and having to make a code
change to do so. So I'm guessing that 2.0 is obsolete, and it's not clear to me
if a 2.2 binary can be substituted.

If you know where the right library can be found, I'd appreciate an *exact*
description of where. I searched http://rpmfind.net/ and installed:

libgnomeprintui-1.116.0-6.1.x86_64.rpm
libgnomeprint-1.116.0-10.x86_64.rpm
libgnomeprint2.0_0-1.116.0-2mdk.x86_64.rpm
libgnomeprintui2.0_0-1.116.0-1mdk.x86_64.rpm

but the rpmbuild still gives the exact same error. So maybe it would be easier
if a Balsa person worked up the 2.0 => 2.2 source patch ?
Comment 14 Pawel Salek 2004-11-14 23:12:16 UTC
Execute "yum install libgnomeprintui22-devel libgnomeprint22-devel" or eqivalent.

Thanks for filing the down-stream report.
Comment 15 Don Lindsay 2004-11-15 00:29:48 UTC
Thank you, the yum command worked.

The log from the rpmbuild is now about 300 lines longer than before, so we have
progress. But it still ends with an error:

  gcc ... -o balsa ... -L/usr/X11R6/lib64 -lSM ...
  /usr/bin/ld: cannot find -lSM


Inspecting /usr/X11R6/lib64 I find libSM.so.6.0 (supplied by the 
xorg-x11-libs-6.8.1-12 RPM), and


Comment 16 Don Lindsay 2004-11-15 00:31:11 UTC
ICK, finger trouble with a new browser, sorry.

I meant to say: /usr/X11R6/lib64 also contains

  libSM.so.6 -> libSM.so.6.0
Comment 17 Peter Bloomfield 2004-11-15 00:48:32 UTC
I believe that the -lSM flag is looking for the static lib libSM.a, which on my
FC3 box is provided by xorg-x11-devel-6.8.1-12.  In line with Pawel's
suggestion, please try

sudo yum install xorg-x11-devel

Comment 18 Steve Blackwell 2004-11-15 19:51:21 UTC
Here is what I have tried so far:

Downloaded and unpacked balsa-2.2.4-1.src.rpm (and gmime-2.1.7.src.rpm that came
with it). Got some comments about a non-existant user, using root instead. As root:

# cd /usr/src/redhat/SOURCES/gmime-2.1.7
# ./configure
# make
# make install

All OK.

# cd /usr/src/redhat/SOURCES/balsa-2.2.4-1
# ./configure

This failed with these messages:
checking for pkg-config... /usr/bin/pkg-config
checking for
glib-2.0
libgnome-2.0
libgnomeui-2.0
gtk+-2.0 >= 2.0
gnome-vfs-2.0
gnome-vfs-module-2.0

gmime-2.0 >= 2.1.7
libbonobo-2.0
... Package gmime-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gmime-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gmime-2.0' found

configure: error: Library requirements (
glib-2.0
libgnome-2.0
libgnomeui-2.0
gtk+-2.0 >= 2.0
gnome-vfs-2.0
gnome-vfs-module-2.0

gmime-2.0 >= 2.1.7
libbonobo-2.0
) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.

I checked my PKG_CONFIG_PATH environment variable which was not set so I found
gmime-2.0.pc in /usr/src/redhat/SOURCES/gmime-2.1.7 and

# PKG_CONFIG_PATH=/usr/src/redhat/SOURCES/gmime-2.1.7
# export PKG_CONFIG_PATH
# ./configure
...
checking for smtp_start_session in -lesmtp... no
configure: error: *** You enabled ESMTP but esmtp library is not found.

So I tried:

# ./configure --with-esmtp=no

which worked. What does having no esmtp do?

# make
# make install

Success! I can now click the Compose button without balsa crashing
Comment 19 Peter Bloomfield 2004-11-16 01:33:47 UTC
Libesmtp is Balsa's favored tool for initiating mail delivery to a remote SMTP
host (i.e., outgoing mail server).  I believe that sendmail (or its
replacement?) is the alternative, but I've never used it.  So...you *still*
might not be able to send mail, even though you can open the compose window!

On my box, all the esmtp libs are provided by libesmtp-1.0.3r1-2 and
libesmtp-devel-1.0.3r1-2, which yum should be able to install for you.  If
they're already installed, the problem might be PKG_CONFIG_PATH--the usual place
for *.pc files is /usr/lib/pkgconfig, and perhaps exporting PKG_CONFIG_PATH
*replaces* the default instead of adding to it; so you might need something like

PKG_CONFIG_PATH=/usr/src/redhat/SOURCES/gmime-2.1.7:/usr/lib/pkgconfig

It shouldn't be this hard...
Comment 20 Steve Blackwell 2004-11-16 14:28:46 UTC
You are correct. I still cannot send e-mail. 

Your suggestion on the PKG_CONFIG_PATH did not work, unfortunately. I found that
I had to install the libesmtp-devel-1.0.3r1-2 rpm and reconfigure, make and
install. Now I can send e-mail - at least to myself.

I agree, it should not be this difficult. I would have thought that with an
error this severe, that a corrective rpm would have been released within hours.
Comment 21 Elijah Newren 2004-11-17 21:12:38 UTC
*** Bug 158581 has been marked as a duplicate of this bug. ***
Comment 22 Pawel Salek 2004-11-18 06:07:33 UTC
*** Bug 158598 has been marked as a duplicate of this bug. ***
Comment 23 Peter Bloomfield 2004-11-25 16:15:50 UTC
*** Bug 159454 has been marked as a duplicate of this bug. ***
Comment 24 Elijah Newren 2004-11-27 03:41:58 UTC
*** Bug 159608 has been marked as a duplicate of this bug. ***
Comment 25 Pawel Salek 2004-11-27 22:39:20 UTC
Balsa-2.2.6 has been released and a binary is available for FC3. Upgrade is
recommended. Please remember to direct your comments to the packager

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139279
Comment 26 Pawel Salek 2004-12-03 07:58:19 UTC
*** Bug 160170 has been marked as a duplicate of this bug. ***
Comment 27 Vincent Noel 2004-12-17 20:43:01 UTC
*** Bug 161571 has been marked as a duplicate of this bug. ***
Comment 28 Elijah Newren 2004-12-26 06:28:47 UTC
*** Bug 162225 has been marked as a duplicate of this bug. ***
Comment 29 Elijah Newren 2005-01-06 22:37:08 UTC
*** Bug 163184 has been marked as a duplicate of this bug. ***
Comment 30 Peter Bloomfield 2005-02-20 16:24:06 UTC
*** Bug 167530 has been marked as a duplicate of this bug. ***
Comment 31 Elijah Newren 2005-03-23 15:38:48 UTC
*** Bug 171315 has been marked as a duplicate of this bug. ***
Comment 32 Elijah Newren 2005-04-21 15:18:37 UTC
*** Bug 301385 has been marked as a duplicate of this bug. ***
Comment 33 Elijah Newren 2005-05-06 16:58:17 UTC
*** Bug 303268 has been marked as a duplicate of this bug. ***
Comment 34 Elijah Newren 2005-05-13 05:16:12 UTC
*** Bug 303983 has been marked as a duplicate of this bug. ***
Comment 35 Christian Kirbach 2005-05-15 15:42:37 UTC
*** Bug 304256 has been marked as a duplicate of this bug. ***
Comment 36 Elijah Newren 2005-05-18 02:58:15 UTC
*** Bug 304527 has been marked as a duplicate of this bug. ***
Comment 37 Pawel Salek 2005-05-27 08:46:49 UTC
*** Bug 305615 has been marked as a duplicate of this bug. ***