[Bug 893939] Re: moserial 3.01 crashes upon clicking "Connect" to a ttyUSB port
** Changed in: moserial (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking "Connect" to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
** Changed in: moserial Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
** Bug watch added: GNOME Bug Tracker #687230 https://bugzilla.gnome.org/show_bug.cgi?id=687230 ** Also affects: moserial via https://bugzilla.gnome.org/show_bug.cgi?id=687230 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
** Changed in: moserial Status: Unknown = New ** Changed in: moserial Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
Hi. I'm using moserial-3.0.1 on Ubuntu 12.04. After some debugging I've found the problem. Attached is the file 'HexTextBuffer.vala' (not a patch) with the problem solved (at least it works for me). The problem is that in GTK/Vala TextBuffer's insert and delete operations the TextIter objects become invalidated. This effectively means that, as far as I know, after an insert or delete all TextIter are lost. My solution has been to recover these lost Textiter objects by calling either get_iter_at_offset or get_iter_at_mark followed with a forward_chars. I'm not an expert on Vala or GTK programming, so it is quite possible a nice and better solution exists. Meanwhile at least we can get moserial back to work. ** Attachment added: Fix segmentation fault due to TextIter invalidations. https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+attachment/3419100/+files/HexTextBuffer.vala -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
The attachment Fix segmentation fault due to TextIter invalidations. of this bug report has been identified as being a patch. The ubuntu- reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
Same problem here: moserial crashes when clicking on Connect-Button with a segmentation fault (Ubuntu 12.04) (moserial:6264): Gtk-CRITICAL **: gtk_text_buffer_set_mark: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed (moserial:6264): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `!gtk_text_mark_get_deleted (mark)' failed Segmentation fault (core dumped) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
3.01 here on Ubunu 11.10 ; moserial crashes instantly not on connect , but when trying to send text: (moserial:13149): 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 (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_apply_tag_by_name: assertion `gtk_text_iter_get_buffer (end) == buffer' failed (moserial:13149): 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 (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_insert: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed (moserial:13149): 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 (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_set_mark: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed (moserial:13149): 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 (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_insert: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed (moserial:13149): 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 (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_set_mark: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed (moserial:13149): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `!gtk_text_mark_get_deleted (mark)' failed Segmentation fault -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
Just got hit by this. [34448.177480] usbcore: registered new interface driver usbserial [34448.177498] USB Serial support registered for generic [34448.177712] usbcore: registered new interface driver usbserial_generic [34448.177716] usbserial: USB Serial Driver core [34448.188827] USB Serial support registered for pl2303 [34448.188879] pl2303 2-6.1:1.0: pl2303 converter detected [34448.190524] usb 2-6.1: pl2303 converter now attached to ttyUSB0 [34448.190553] usbcore: registered new interface driver pl2303 [34448.190556] pl2303: Prolific PL2303 USB to serial adaptor driver ... [38135.676571] moserial[8452]: segfault at 50 ip 7f443dd7b350 sp 7fffeb743c28 error 4 in libgtk-3.so.0.200.0[7f443db91000+442000] lsusb: Bus 002 Device 009: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 893939] Re: moserial 3.01 crashes upon clicking Connect to a ttyUSB port
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: moserial (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893939 Title: moserial 3.01 crashes upon clicking Connect to a ttyUSB port To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/893939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs