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 61679 - Balsa crashes when spelling is checked
Balsa crashes when spelling is checked
Status: VERIFIED NOTGNOME
Product: balsa
Classification: Other
Component: general
1.2.x
Other other
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
: 61709 70328 79525 80964 81110 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-10-03 17:31 UTC by ekmichae
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Workaround: pspell patch (402 bytes, patch)
2002-01-10 20:26 UTC, Toralf Lund
none Details | Review

Description ekmichae 2001-10-03 17:31:09 UTC
Package: balsa
Severity: normal
Version: 1.2.0
Synopsis: Balsa crashes when spelling is checked
Bugzilla-Product: balsa
Bugzilla-Component: general

Description:
When trying to check spelling in Balsa, application crashes and kills itself. It happens every time, so it's easy to replicate the error.



Debugging Information:

(no debugging symbols found)...(no debugging symbols found)...
[New Thread 1024 (LWP 1181)]
[New Thread 2049 (LWP 1182)]
0x4074c289 in wait4 () from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 gnome_segv_handle
    from /opt/gnome/lib/libgnomeui.so.32
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 ??
  • #7 <signal handler called>
  • #8 select
    from /lib/libc.so.6
  • #9 __DTOR_END__
    from /usr/X11R6/lib/libX11.so.6
  • #10 _XRead
    from /usr/X11R6/lib/libX11.so.6
  • #11 _XReply
    from /usr/X11R6/lib/libX11.so.6
  • #12 XGetSelectionOwner
    from /usr/X11R6/lib/libX11.so.6
  • #13 gdk_selection_owner_get
    from /usr/lib/libgdk-1.2.so.0
  • #14 gtk_editable_claim_selection
    from /usr/lib/libgtk-1.2.so.0
  • #15 gtk_editable_select_region
    from /usr/lib/libgtk-1.2.so.0
  • #16 gtk_text_set_position
    from /usr/lib/libgtk-1.2.so.0
  • #17 gtk_editable_set_position
    from /usr/lib/libgtk-1.2.so.0
  • #18 balsa_spell_check_finish
  • #19 balsa_spell_check_start
  • #20 gtk_marshal_NONE__NONE
    from /usr/lib/libgtk-1.2.so.0
  • #21 gtk_handlers_run
    from /usr/lib/libgtk-1.2.so.0
  • #22 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #23 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #24 gtk_button_clicked
    from /usr/lib/libgtk-1.2.so.0
  • #25 gtk_real_button_released
    from /usr/lib/libgtk-1.2.so.0
  • #26 gtk_marshal_NONE__NONE
    from /usr/lib/libgtk-1.2.so.0
  • #27 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #28 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #29 gtk_button_released
    from /usr/lib/libgtk-1.2.so.0
  • #30 gtk_button_button_release
    from /usr/lib/libgtk-1.2.so.0
  • #31 gtk_marshal_BOOL__POINTER
    from /usr/lib/libgtk-1.2.so.0
  • #32 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #33 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #34 gtk_widget_event
    from /usr/lib/libgtk-1.2.so.0
  • #35 gtk_propagate_event
    from /usr/lib/libgtk-1.2.so.0
  • #36 gtk_main_do_event
    from /usr/lib/libgtk-1.2.so.0
  • #37 gdk_event_dispatch
    from /usr/lib/libgdk-1.2.so.0
  • #38 g_main_dispatch
    from /usr/lib/libglib-1.2.so.0
  • #39 g_main_iterate
    from /usr/lib/libglib-1.2.so.0
  • #40 g_main_run
    from /usr/lib/libglib-1.2.so.0
  • #41 gtk_main
    from /usr/lib/libgtk-1.2.so.0
  • #42 main
  • #43 __libc_start_main
    from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 gnome_segv_handle
    from /opt/gnome/lib/libgnomeui.so.32
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 ??
  • #7 <signal handler called>




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-10-03 13:31 -------

The original reporter (ekmichae@emo-res.campus) 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 Pawel Salek 2001-10-04 09:40:58 UTC
*** Bug 61709 has been marked as a duplicate of this bug. ***
Comment 2 Toralf Lund 2001-10-04 09:47:40 UTC
It's quite hard to find a sure way of reproducing this problem, but it
seems most likely to happen when I ignore a number of words reported
as misspelled, then change the last one, i.e. there may be a problem
with change, then finish.

But really, I'm fairly confident that I could find out what exactly
causes the crash if you could only get a plain, old core dump instead
of all this bug reporting nonsense. Is there a simple way to disable
the GNOME segv handler? (Sorry if this is a stupid question, but I'm
still fairly new to GNOME development.)
Comment 3 Pawel Salek 2001-10-04 09:53:33 UTC
I think --disable-crash-dialog is what you are looking for.
Comment 4 Toralf Lund 2001-10-08 09:31:18 UTC
Ah. I knew about that, really, only it had escaped my mind at the time...

Anyhow, when testing with today's CVS version, I'm unable to reproduce
the seg. fault, but I frequently get:

balsa: manager_impl.cc:30: void free_lt_handle (void *): Assertion `s
== 0' failed.
Abort
Comment 5 Toralf Lund 2002-01-10 20:26:59 UTC
Created attachment 6370 [details] [review]
Workaround: pspell patch
Comment 6 Toralf Lund 2002-01-10 20:30:56 UTC
I've now changed pspell as indicated in the attached patch to make
everything a bit more stable. I haven't yet been able to produce an
useful error message so that I might figure out what is going on,
though...

The patch is applicable to pspell-.12.2.tar.gz as distributed with Red
Hat 7.2 source RPM.
Comment 7 Pawel Salek 2002-05-08 07:36:13 UTC
1. Is this patch in pspell?
2. This crash was independent, got fixed on 2002-04-14.
Comment 8 Pawel Salek 2002-05-08 07:37:51 UTC
*** Bug 70328 has been marked as a duplicate of this bug. ***
Comment 9 Pawel Salek 2002-05-08 07:39:39 UTC
*** Bug 80964 has been marked as a duplicate of this bug. ***
Comment 10 Pawel Salek 2002-05-08 07:40:53 UTC
*** Bug 81110 has been marked as a duplicate of this bug. ***
Comment 11 Toralf Lund 2002-05-08 12:57:48 UTC
The patch has not been submitted anywhere else. I was not quite sure
what to do with it, as the crash is really more of a feature than a
bug - pspell aborts via assert() because the application did something
wrong. I think this is a bad way to handle errors, though - library
functions should not contain arbitrary exit()s and abort()s, IMO.
Comment 12 Ben FrantzDale 2002-08-02 21:51:02 UTC
*** Bug 79525 has been marked as a duplicate of this bug. ***
Comment 13 Pawel Salek 2002-12-22 18:27:37 UTC
Balsa-1.4.2 released: http://balsa.gnome.org/