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 727723 - comma-space (", ") crashes Calculator
comma-space (", ") crashes Calculator
Status: RESOLVED INVALID
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-07 04:54 UTC by Arnaud B.
Modified: 2014-04-08 02:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnaud B. 2014-04-07 04:54:47 UTC
When typing or pasting a comma-space string (", "), Calculator crashes saying:

(gnome-calculator:1618): Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators

[same a second time, then]

(gnome-calculator:1618): Gtk-CRITICAL **: gtk_text_buffer_set_mark: assertion 'gtk_text_iter_get_buffer (iter) == buffer' failed

(gnome-calculator:1618): GtkSourceView-WARNING **: Completion context without mark
Erreur de segmentation
Comment 1 PioneerAxon 2014-04-07 10:17:51 UTC
Arnaud,

Thanks for the bug report.

The bug has been already reported and fixed in development version.
The fix will be available with next release of Calculator. (3.12.1 stable or 3.13.1 unstable).

*** This bug has been marked as a duplicate of bug 727250 ***
Comment 2 Arnaud B. 2014-04-07 14:42:07 UTC
If I understand correctly what I see, I’m *after* the patch of bug 727250. Can you please recheck? It’s not with only comma, but with comma-space. (Don’t know if I have to reopen, reopen the other, or other action.)
Comment 3 PioneerAxon 2014-04-07 18:31:53 UTC
Arnaud,

I'm sorry, but I am unable to reproduce the bug.

Can you also specify the locale information and exact steps to reproduce the bug?

Thank you.. :)

[Reopening the bug.]
Comment 4 Arnaud B. 2014-04-08 02:16:24 UTC
Well, sorry for the noise. I must have done something weird playing with the code, not able to reproduce after removing all, and re-cloning and compiling.