Giter Site home page Giter Site logo

Comments (6)

xwizard avatar xwizard commented on August 16, 2024

File doesn't crash Pluma 1.4.0 on Debian Wheezy amd64. Everything works both with and without wrapping lines. Although it's a bit slow ;)

from pluma.

szesch avatar szesch commented on August 16, 2024

Confirmed

0x00007ffff70dad40 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00007ffff70f09cc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00007ffff70f2772 in gtk_text_iter_set_offset ()
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00007ffff7583b94 in ?? () from /usr/lib/libgtksourceview-2.0.so.0
0x00007ffff75683fa in ?? () from /usr/lib/libgtksourceview-2.0.so.0
0x00007ffff5d8cca2 in g_closure_invoke ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x00007ffff5d9e339 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x00007ffff5da6099 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x00007ffff5da6242 in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x000000000045cc5b in remove_ending_newline (stream=0xa86ac0)
at pluma-document-output-stream.c:264
end_append_text_to_document (stream=0xa86ac0) at pluma-document-output-stream.c:273
pluma_document_output_stream_close (stream=,
cancellable=, error=0x7fffffffe228)
at pluma-document-output-stream.c:379
0x00007ffff675895d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007ffff6759d6e in g_output_stream_close ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x0000000000433f2c in close_input_stream_ready_cb (stream=0xab6e40, res=0xad22e0,
async=0xa9ec20) at pluma-gio-document-loader.c:278
0x00007ffff674d8ec in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007ffff675ff97 in g_simple_async_result_complete ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007ffff6760018 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007ffff5acfd53 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007ffff5ad00a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007ffff5ad049a in g_main_loop_run ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007ffff704a2f7 in gtk_main ()
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00000000004279ae in main (argc=1, argv=0x7fffffffe558) at pluma.c:748

from pluma.

szesch avatar szesch commented on August 16, 2024

More info after installing gtk and glib dbg symbols:

http://paste.mate-desktop.org/view/12d0b92a

from pluma.

stefano-k avatar stefano-k commented on August 16, 2024

Backtrace in fedora:

(pluma:1911): GtkSourceView-CRITICAL **: Highlighting a single line took too much time, syntax highlighting will be disabled

(pluma:1911): Gtk-CRITICAL **: IA__gtk_text_buffer_get_iter_at_offset: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed

(pluma:1911): Gtk-CRITICAL **: IA__gtk_text_buffer_move_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00000034611eb280 in _gtk_text_btree_get_chars_changed_stamp () from /lib64/libgtk-x11-2.0.so.0
(gdb) bt
#0  0x00000034611eb280 in _gtk_text_btree_get_chars_changed_stamp () from /lib64/libgtk-x11-2.0.so.0
#1  0x000000346120126c in gtk_text_iter_make_surreal () from /lib64/libgtk-x11-2.0.so.0
#2  0x0000003461202ac3 in gtk_text_iter_set_offset () from /lib64/libgtk-x11-2.0.so.0
#3  0x0000003453029b54 in invalidate_region () from /lib64/libgtksourceview-2.0.so.0
#4  0x000000345301adc8 in gtk_source_buffer_real_delete_range () from /lib64/libgtksourceview-2.0.so.0
#5  0x000000345080f910 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#6  0x0000003450820a80 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0
#7  0x0000003450828c8d in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#8  0x0000003450828de2 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#9  0x000000000045c86b in pluma_document_output_stream_close ()
#10 0x000000345106599d in _g_output_stream_close_internal () from /lib64/libgio-2.0.so.0
#11 0x0000003451066f37 in g_output_stream_close () from /lib64/libgio-2.0.so.0
#12 0x000000000043402f in close_input_stream_ready_cb ()
#13 0x000000345105a91c in async_ready_close_callback_wrapper () from /lib64/libgio-2.0.so.0
#14 0x000000345106dff7 in g_simple_async_result_complete () from /lib64/libgio-2.0.so.0
#15 0x000000345106e078 in complete_in_idle_cb_for_thread () from /lib64/libgio-2.0.so.0
#16 0x000000344fc47a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x000000344fc47d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#18 0x000000344fc48182 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#19 0x000000346114b077 in gtk_main () from /lib64/libgtk-x11-2.0.so.0
#20 0x0000000000427b13 in main ()

I believe the issue is in gtk or gtksourceview

from pluma.

bernardladenthin avatar bernardladenthin commented on August 16, 2024

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696396

from pluma.

stefano-k avatar stefano-k commented on August 16, 2024

https://bugzilla.gnome.org/show_bug.cgi?id=694619

from pluma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.