Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 122105
Status: new
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: imdonp [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.9932
Fixed in: (no value)



Subject: TextCntrl crashes in Linux, Solairs, OSX (darwin
Perl 5.24.1, wxWidgets-3.0.2, Alien-wxWidgets-0.69. When attached code is run (perl ./wxStub.pm) Wx-perl crashes with segfault: backtrace: gdb --args perl ./wxStub.pm .... (wxStub.pm:2832): 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 Program received signal SIGSEGV, Segmentation fault. 0x00007fffec8bac9e in pango_layout_get_iter (layout=0x19bee70) at pango-layout.c:5674 5674 g_return_val_if_fail (PANGO_IS_LAYOUT (layout), NULL); Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 elfutils-libelf-0.166-2.el7.x86_64 elfutils-libs-0.166-2.el7.x86_64 libattr-2.4.46-12.el7.x86_64 libcap-2.22-8.el7.x86_64 (gdb) backtrace #0 0x00007fffec8bac9e in pango_layout_get_iter (layout=0x19bee70) at pango-layout.c:5674 #1 0x00007fffec8bb411 in pango_layout_index_to_pos (layout=<optimized out>, index=0, pos=pos@entry=0x7fffffffd8f0) at pango-layout.c:2132 #2 0x00007fffedebc087 in IA__gtk_text_layout_get_iter_location (layout=0x12fe170 [GtkTextLayout], iter=iter@entry=0x7fffffffd9d0, rect=rect@entry=0x7fffffffd970) at gtktextlayout.c:2943 #3 0x00007fffedecac5c in IA__gtk_text_view_scroll_to_iter (text_view=text_view@entry=0x1307070 [GtkTextView], iter=iter@entry=0x7fffffffd9d0, within_margin=0, use_align=0, xalign=0, yalign=0) at gtktextview.c:1782 #4 0x00007fffedecaf01 in gtk_text_view_flush_scroll (text_view=text_view@entry=0x1307070 [GtkTextView]) at gtktextview.c:2006 #5 0x00007fffedecaf69 in gtk_text_view_flush_first_validate (text_view=0x1307070 [GtkTextView]) at gtktextview.c:3608 #6 0x00007fffedecafb9 in first_validate_callback (data=<optimized out>) at gtktextview.c:3629 #7 0x00007fffeda16a77 in gdk_threads_dispatch (data=0x133ff40) at gdk.c:534 #8 0x00007fffebc75d7a in g_main_context_dispatch (context=0xc62790) at gmain.c:3152 #9 0x00007fffebc75d7a in g_main_context_dispatch (context=context@entry=0xc62790) at gmain.c:3767 #10 0x00007fffebc760b8 in g_main_context_iterate (context=0xc62790, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3838 ---Type <return> to continue, or q <return> to quit--- #11 0x00007fffebc7638a in g_main_loop_run (loop=0x1a8f010) at gmain.c:4032 #12 0x00007fffeddfe997 in IA__gtk_main () at gtkmain.c:1268 #13 0x00007fffeef77d65 in wxGUIEventLoop::DoRun() () at /opt/perlutils/Perl64-5.24.1/lib/site_perl/5.24.1/x86_64-linux-thread-multi/Alien/wxWidgets/gtk_3_0_2_uni/lib/libwx_gtk2u_core-3.0.so.0 #14 0x00007fffee910b20 in wxEventLoopBase::Run() () at /opt/perlutils/Perl64-5.24.1/lib/site_perl/5.24.1/x86_64-linux-thread-multi/Alien/wxWidgets/gtk_3_0_2_uni/lib/libwx_baseu-3.0.so.0 #15 0x00007fffee8d02fd in wxAppConsoleBase::MainLoop() () at /opt/perlutils/Perl64-5.24.1/lib/site_perl/5.24.1/x86_64-linux-thread-multi/Alien/wxWidgets/gtk_3_0_2_uni/lib/libwx_baseu-3.0.so.0 #16 0x00007fffefa65869 in wxPliApp::MainLoop() (this=0xbea500) at cpp/app.h:195 #17 0x00007fffef9fd329 in XS_Wx__App_MainLoop(PerlInterpreter*, CV*) (my_perl=0x91e010, cv=<optimized out>) at Wx.c:15086 #18 0x000000000051d20e in Perl_pp_entersub (my_perl=0x91e010) at pp_hot.c:3987 #19 0x00000000004e453a in Perl_runops_debug (my_perl=0x91e010) at dump.c:2239 #20 0x0000000000451ac5 in perl_run (oldscope=1, my_perl=0x91e010) at perl.c:2483 #21 0x0000000000451ac5 in perl_run (my_perl=0x91e010) at perl.c:2406 #22 0x000000000041db27 in main (argc=2, argv=0x7fffffffe038, env=0x7fffffffe050) at perlmain.c:116
Subject: TextControlDemo.tar
Download TextControlDemo.tar
application/octet-stream 10k

Message body not shown because it is not plain text.