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 132884 - App crashes after several mouseclicks
App crashes after several mouseclicks
Status: RESOLVED FIXED
Product: conglomerate
Classification: Other
Component: Code
0.7.10
Other Linux
: Normal major
: ---
Assigned To: conglomerate list
conglomerate list
: 133182 158416 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-29 17:17 UTC by Jan Roehrich
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for cong-location.c (from version 7.12 source) (380 bytes, patch)
2004-03-05 04:20 UTC, Julian Lamb
committed Details | Review

Description Jan Roehrich 2004-01-29 17:17:25 UTC
I tried to use conglomerate but it repeatly crashes after several
mouseclicks in the editor.

I couldn't find a case in which it definitly crashes but after some seconds
of work it crashes with the following errormessage in the console:

** ERROR **: file cong-location.c: line 139
(cong_location_set_node_and_char_offset): assertion failed:
(cong_location_is_valid(loc))

Hope you can drag it.

Jan
Comment 1 Julian Lamb 2004-03-05 04:18:50 UTC
Yes, double-clicking on an section a couple spaces after the end of a
sentence will recreate this crash.  This bug can be traced to the
cong_location_calc_word_extent function, which highlights a word when
it is double clicked.  If the cursor is placed after the sentence and
the user double-clicks, the end_char_index is allowed to go beyond the
end.  Please see the attached patch to fix this problem.

Cheers--
Comment 2 Julian Lamb 2004-03-05 04:20:20 UTC
Created attachment 25188 [details] [review]
patch for cong-location.c (from version 7.12 source)
Comment 3 Andrew Sobala 2004-04-30 15:21:14 UTC
*** Bug 133182 has been marked as a duplicate of this bug. ***
Comment 4 Geert Stappers 2004-04-30 15:52:24 UTC
The bug was reproduceable by me
and not any more after applying the provide patch ( in the withoutdave branch ).
Comment 5 Geert Stappers 2004-05-02 13:53:56 UTC
Comment on attachment 25188 [details] [review]
patch for cong-location.c (from version 7.12 source)

Patch status set
Comment 6 David Malcolm 2004-05-23 03:35:49 UTC
Applied to CVS HEAD
Comment 7 Nickolay V. Shmyrev 2004-11-16 01:36:09 UTC
*** Bug 158416 has been marked as a duplicate of this bug. ***