viewml crashes on save HTML2+MathML document

Bug #180458 reported by Stefan Friesel
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mlview (Debian)
Fix Released
Unknown
mlview (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: mlview

Crashed after editing an XML 1.0/XHTML2+MathML document, apparently no data loss. trace is very long, starts with:
mlview-debug: in void mlview::PluginPriv::load() : in file mlview-plugin.cc : line 72 : condition (module) failed; raising exception
mlview-debug: in void mlview::PluginManager::load_all_plugins_from_default_plugins_dir() : in file mlview-plugin-manager.cc : line 106 : catched exception: Assertion failed

mlview-debug: in MlViewStatus mlview::SourceView::set_default_language() : in file mlview-source-view.cc : line 539 : mime_type: application/xhtml+xml
mlview-debug: in MlViewStatus mlview::SourceView::set_language_from_mime_type(const mlview::UString&) : in file mlview-source-view.cc : line 515 : language associated to 'application/xhtml+xml'mime type: 0
mlview-debug: in MlViewStatus mlview::SourceView::set_language_from_mime_type(const mlview::UString&) : in file mlview-source-view.cc : line 522 : falling back to the language associated tomime type 'text/xml'
mlview-debug: trying ro recon key: %x; mod & default mod mask:%x ...
: in file mlview-kb-eng.cc: line 395: (MlViewStatus mlview_kb_eng_lookup_a_key_binding(MlViewKBEng*, const MlViewKeyInput*, gint, MlViewKBDef**))
mlview-debug: Current key in lookup sequence: %x, modifier & default_mode_mask: %x
: in file mlview-kb-eng.cc: line 417: (MlViewStatus mlview_kb_eng_lookup_a_key_binding(MlViewKBEng*, const MlViewKeyInput*, gint, MlViewKBDef**))
mlview-debug: didn't find keybinding

the rest of the trace seems very similar to this last one

ProblemType: Crash
Architecture: i386
Date: Sat Jan 5 01:05:16 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/mlview
NonfreeKernelModules: cdrom
Package: mlview 0.9.0-2
PackageArchitecture: i386
ProcCmdline: mlview
ProcCwd: /home/stefan
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=C
Signal: 11
SourcePackage: mlview
StacktraceTop:
 gtk_widget_get_parent () from /usr/lib/libgtk-x11-2.0.so.0
 Gtk::Widget::get_parent () from /usr/lib/libgtkmm-2.4.so.1
 mlview::OldGVC::on_view_name_changed ()
 sigc::internal::slot_call1<sigc::bound_mem_functor1<void, mlview::OldGVC, mlview::IView*>, void, mlview::IView*>::call_it ()
 mlview::IView::set_view_name ()
Title: mlview crashed with SIGSEGV in gtk_widget_get_parent()
Uname: Linux Stefan-Desktop 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video
SegvAnalysis:
 Segfault happened at: 0xb7262399 <gtk_widget_get_parent+41>: cmp %eax,(%edx)
 PC (0xb7262399) ok
 source "%eax" ok
 destination "(%edx)" (0x00000003) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA

Tags: apport-crash
Revision history for this message
Stefan Friesel (stefan-friesel) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:IA__gtk_widget_get_parent (widget=0x8318970)
Gtk::Widget::get_parent (this=0x82f8138) at widget.cc:6037
mlview::OldGVC::on_view_name_changed (this=0x80c87a0, a_view=0x82f8138)
sigc::internal::slot_call1<sigc::bound_mem_functor1<void, mlview::OldGVC, mlview::IView*>, void, mlview::IView*>::call_it (rep=0x83be528, a_1=@0xbf985ed8)
mlview::IView::set_view_name (this=0x82f8138, a_name=@0xbf985f30)

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in mlview:
importance: Undecided → Medium
Kees Cook (kees)
description: updated
Changed in mlview (Debian):
status: Unknown → New
Changed in mlview (Debian):
status: New → Fix Released
Changed in mlview (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.