Ticket #162 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

Gobby crashes when pasting text

Reported by: philippreichart@… Owned by: armin
Priority: normal Milestone:
Component: Gobby Version: 0.3.0
Severity: normal Keywords:
Cc: Launchpad Bug: Bug 47488

Description (last modified by phil) (diff)

Gobby 0.3.0 (Linux) crashes when pasting into a document text that either starts or ends with an empty line.

Steps to reproduce:

  • join or host an obby session
  • create a document
  • enter some text like "foo\n\nbar"
  • go to beginning of line 2 (the empty line)
  • press CTRL+SHIFT+END to select everything up to the end of the document
  • copy or cut, then paste from clipboard
  • Gobby crashes with a segmentation fault

Regards,

Philipp Reichart

Change History

Changed 7 years ago by anonymous

Argh, sorry for not using wiki formatting for that list:

Steps to reproduce:

  • join or host an obby session
  • create a document
  • enter some text like "foo\n\nbar"
  • go to beginning of line 2 (the empty line)
  • press CTRL+SHIFT+END to select everything up to the end of the document
  • copy or cut, then paste from clipboard
  • Gobby crashes with a segmentation fault

Changed 7 years ago by armin

This seems to be fixed in 0.4. I cannot produce a crash by following those steps in 0.4.

Changed 7 years ago by phil

  • description modified (diff)

Reproduced with the binary build in Ubuntu:

#0  0x080f6b47 in Gobby::Document::on_apply_tag_after ()
#1  0xb7decc37 in Gtk::TextBuffer_Class::remove_tag_callback ()
   from /usr/lib/libgtkmm-2.4.so.1

Changed 7 years ago by armin

  • status changed from new to closed
  • resolution set to fixed

Thanks for the good bug report. We have fixed the problem, a release with the fix included should follow later this day.

Changed 5 years ago by launchpad

  • launchpad_bug set to 47488

Updating Launchpad bug reference

Note: See TracTickets for help on using tickets.