CudaText: Access violation, "autocomplete_autoshow_chars": 3

While writing some python i get a pop up with this message:

Access violation.

Press OK to ignore and risk data corruption. Press Abort to kill the program.

image

Doesn’t matter if i click in OK or Abort button. The cudatext stops responding.

In the console output i get the following:

(cudatext:32704): Gtk-CRITICAL **: 10:21:20.543: IA__gtk_selection_owner_set: assertion 'widget == NULL || gtk_widget_get_realized (widget)' failed
[TGtk2WidgetSet.Destroy] WARNING: There are 9 unreleased DCs, a detailed dump follows:
[TGtk2WidgetSet.Destroy]  DCs:   00007F8D913A7240 00007F8DB8355840 00007F8DB8352840 00007F8DB8351440 00007F8DB8350E40 00007F8DB8351240 00007F8DB8351040
[TGtk2WidgetSet.Destroy] WARNING: There are 30 unreleased GDIObjects, a detailed dump follows:
[TGtk2WidgetSet.Destroy]   GDIOs: 00007F8DA8047440 00007F8D917DE6C0 00007F8D917DB5C0 00007F8DA8047BC0 00007F8DA8049BC0 00007F8D917D9C40 00007F8DA8047040
[TGtk2WidgetSet.Destroy]   gdiBitmap: 9
[TGtk2WidgetSet.Destroy]   gdiBrush: 5
[TGtk2WidgetSet.Destroy]   gdiFont: 9
[TGtk2WidgetSet.Destroy]   gdiPen: 5
[TGtk2WidgetSet.Destroy]   gdiRegion: 2
[TGtk2WidgetSet.Destroy] WARNING: There are 1 TimerInfo structures left, I'll free them
(cudatext:33368): Gtk-CRITICAL **: 10:23:22.902: IA__gtk_selection_owner_set: assertion 'widget == NULL || gtk_widget_get_realized (widget)' failed

(cudatext:33368): GLib-GObject-WARNING **: 10:23:35.215: gsignal.c:1207: no emission of signal "button-release-event" to stop for instance '0x204d910'

(cudatext:33368): GLib-GObject-WARNING **: 10:23:42.505: gsignal.c:1207: no emission of signal "button-release-event" to stop for instance '0x204d910'

Version: image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I found the reproduction. fixed! Pls take new beta from http://uvviewsoft.com/c/ (in zip - only binary).

Using debug binary.

Issue is reproducible - just typing import it will occasionally freeze. In terminal on freeze appears similar stack trace as above. No other errors/dialogs.

commenting out ed.complete_alt(... in LSP-client “fixes” the issue

I think it’s because of the option "autocomplete_autoshow_chars": 3,.

If i enable it the cudatext (the oficial build) starts behaving weirdly. For example now it just froze, no error popup.

image

I’m trying to reproduce the issue now with the debug build.