[xml/sgml-pkgs] Bug#587271: Bug#587271: Bug#587271: libxml2 zegfault reading any xml file on amd64

Ian Beckwith ianb at debian.org
Thu Jul 15 01:35:23 UTC 2010


Hi,

On Thu, Jul 01, 2010 at 09:42:15AM +0200, Mike Hommey wrote:
> Could either of you get a full backtrace (bt full under gdb) from such
> a crash?

I got a backtrace from gedit (stable/i386), but as I was about to post
it realised it didn't have debug info for libxml2, probably because he
still had the version of libxml2-dbg corresponding to libxml2 with
Marc's patch applied. Attached anyway, just in case its useful, as
gedit-useless-backtrace.

By then he had reinstalled stable/amd64, and the bug was apparently
not appearing. He's now noticed that although gdm and gnome-panel
work, gnome-terminal crashes on Edit/Current Profile and iceweasel
crashes going to any site with flash (he doesn't have flash installed)

gnome-terminal is crashing reading
/usr/share/gnome-terminal/glade/gnome-terminal.glade2, and iceweasel
is crashing reading /usr/share/mime/application/x-shockwave-flash.xml,
both in __xmlParserInputBufferCreateFilename(), so I assume this is
the same bug. 'bt full' output for both is attached, let me know if
you need any more info.

cheers,

Ian

-- 
Ian Beckwith - ianb at debian.org - ianb at erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Miles Davis - Pangaea - Zimbabwe
-------------- next part --------------
(gdb) bt full
#0  0x00007f7d2e5efdc0 in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f7d2dc501af in __xmlParserInputBufferCreateFilename (URI=0x9e0450 "/usr/share/gnome-terminal/glade/gnome-terminal.glade2", enc=XML_CHAR_ENCODING_NONE) at xmlIO.c:2412
	buff4 = "<?xm"
	ret = <value optimized out>
	i = <value optimized out>
	context = (void *) 0x9f27d0
#2  0x00007f7d2dc256ec in xmlNewInputFromFile__internal_alias (ctxt=0x9f1650, filename=0x9e0450 "/usr/share/gnome-terminal/glade/gnome-terminal.glade2") at parserInternals.c:1463
	buf = <value optimized out>
	inputStream = (xmlParserInputPtr) 0x0
	directory = <value optimized out>
	URI = <value optimized out>
#3  0x00007f7d2dc28784 in xmlCreateURLParserCtxt__internal_alias (filename=0x9e0450 "/usr/share/gnome-terminal/glade/gnome-terminal.glade2", options=0) at parser.c:12801
	ctxt = <value optimized out>
	inputStream = <value optimized out>
	directory = <value optimized out>
#4  0x00007f7d2dc3f79b in xmlSAXUserParseFile__internal_alias (sax=0x7f7d319e73a0, user_data=0x1700001c4f, filename=0x4 <Address 0x4 out of bounds>) at parser.c:13025
	ret = -1
	ctxt = <value optimized out>
#5  0x00007f7d317dc1d5 in glade_parser_parse_file () from /usr/lib/libglade-2.0.so.0
No symbol table info available.
#6  0x00007f7d317daf5a in glade_xml_construct () from /usr/lib/libglade-2.0.so.0
No symbol table info available.
#7  0x00007f7d317db036 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
No symbol table info available.
#8  0x000000000041b6e9 in terminal_util_load_glade_file (filename=0x4383cc "gnome-terminal.glade2", widget_root=0x4383b6 "profile-editor-dialog", error_dialog_parent=0x6dc090) at terminal.c:3172
	path = 0x9e0450 "/usr/share/gnome-terminal/glade/gnome-terminal.glade2"
	xml = (GladeXML *) 0x0
	no_glade_dialog = (GtkWidget *) 0x0
#9  0x00000000004132d3 in terminal_profile_edit (profile=0x6b5020, transient_parent=0x6dc090) at profile-editor.c:929
	xml = (GladeXML *) 0x86aac0
	w = (GtkWidget *) 0x7f7d2eb1d29d
	num2 = 6.9255965092501251e-310
	i = 0
	font_label = (GtkWidget *) 0x7f7d2edb2d48
	num1 = 1.0185579797819065e-312
	size_group = (GtkSizeGroup *) 0x5
	editor = (GtkWidget *) 0x0
	fontsel = (GtkWidget *) 0x7fffffffc9d0
	old_transient_parent = (GtkWindow *) 0x6f8880
	__PRETTY_FUNCTION__ = "terminal_profile_edit"
#10 0x000000000041885e in terminal_app_edit_profile (app=0x69f4f0, profile=0x6b5020, transient_parent=0x6dc090) at terminal.c:1801
No locals.
#11 0x0000000000432f24 in edit_configuration_callback (menuitem=0x6fa2c0, window=0x6dc090) at terminal-window.c:2444
No locals.
#12 0x00007f7d2edc0e9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007f7d2edd3bfd in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0x00007f7d2edd50ee in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0x00007f7d2edd55f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x00007f7d30141ceb in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x00007f7d300353ad in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x00007f7d30037085 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x00007f7d30028848 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x00007f7d2edc0e9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x00007f7d2edd38dc in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007f7d2edd4f71 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0x00007f7d2edd55f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0x00007f7d3013d4de in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x00007f7d300213d3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x00007f7d3002241b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x00007f7d2f947fac in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#28 0x00007f7d2eb2a7ab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00007f7d2eb2df7d in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x00007f7d2eb2e4ad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#31 0x00007f7d30022837 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#32 0x0000000000417da4 in main (argc=1, argv=0x7fffffffdab8) at terminal.c:1335
	err = (GError *) 0x0
	context = (GOptionContext *) 0x655330
	i = 1
	argc_copy = 7
	argv_copy = (char **) 0x0
	startup_id = 0x7fffffffea00 "awesome/x-terminal-emulator/2926-5-orb_TIME0"
	display_name = 0x66cdb0 ":0.0"
	display = (GdkDisplay *) 0x683000
	sm_client = (GnomeClient *) 0x669830
	program = (GnomeProgram *) 0x666050
	parsing_results = (OptionParsingResults *) 0x0
	__PRETTY_FUNCTION__ = "main"
-------------- next part --------------
(gdb) bt full
#0  0x00007f12079c1dc0 in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f11fb8fe1af in __xmlParserInputBufferCreateFilename (URI=0x20aa1e0 "/usr/share/mime/application/x-shockwave-flash.xml", enc=XML_CHAR_ENCODING_NONE) at xmlIO.c:2412
	buff4 = "<?xm"
	ret = <value optimized out>
	i = <value optimized out>
	context = (void *) 0x1fdc6d0
#2  0x00007f11fb98c404 in xmlNewTextReaderFilename__internal_alias (URI=0x7fffffff67b0 "<?xm\021\177") at xmlreader.c:2125
	input = <value optimized out>
	ret = (xmlTextReaderPtr) 0x0
	directory = <value optimized out>
#3  0x00007f11fc774766 in get_entry (mime_type=<value optimized out>) at gnome-vfs-mime-info.c:404
	umime = 0x1fb9008 "application/x-shockwave-flash"
	entry = (MimeEntry *) 0x0
	path = 0x20aa1e0 "/usr/share/mime/application/x-shockwave-flash.xml"
#4  0x00007f11fc774ccd in gnome_vfs_mime_get_value (mime_type=0x1fb9008 "application/x-shockwave-flash", key=0x7f11fc79d00b "description") at gnome-vfs-mime-info.c:545
	entry = <value optimized out>
#5  0x00007f11f63b5d80 in ?? () from /usr/lib/iceweasel/xulrunner/components/libmozgnome.so
No symbol table info available.
#6  0x00007f1206b3a6e8 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#7  0x00007f1206b395d6 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#8  0x00007f1206b3a2f2 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#9  0x00007f1206b2f22f in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#10 0x00007f12069bca3a in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#11 0x00007f12069bf78a in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#12 0x00007f12069c5e32 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#13 0x00007f12066368e8 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#14 0x00007f120567f6f1 in ?? () from /usr/lib/libmozjs.so.1d
No symbol table info available.
#15 0x00007f120566b42b in ?? () from /usr/lib/libmozjs.so.1d
No symbol table info available.
#16 0x00007f1205677ada in ?? () from /usr/lib/libmozjs.so.1d
No symbol table info available.
#17 0x00007f1205644320 in JS_EvaluateUCScriptForPrincipals () from /usr/lib/libmozjs.so.1d
No symbol table info available.
#18 0x00007f120699e8f6 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#19 0x00007f12068b6653 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#20 0x00007f12068b6794 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#21 0x00007f12068b68c1 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#22 0x00007f12068b68fe in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#23 0x00007f1206660e49 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#24 0x00007f12066af4fd in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#25 0x00007f120664cb27 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#26 0x00007f120664cdb2 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#27 0x00007f1206d34026 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#28 0x00007f1206d4615a in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#29 0x00007f1206d1c06a in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#30 0x00007f1206ca05a1 in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#31 0x00007f1206b82cbd in ?? () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#32 0x00007f120660728c in XRE_main () from /usr/lib/iceweasel/xulrunner/libxul.so
No symbol table info available.
#33 0x00000000004014cb in ?? ()
No symbol table info available.
#34 0x00007f1207964c4d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#35 0x0000000000401139 in ?? ()
No symbol table info available.
#36 0x00007fffffffbc48 in ?? ()
No symbol table info available.
#37 0x000000000000001c in ?? ()
No symbol table info available.
#38 0x0000000000000003 in ?? ()
No symbol table info available.
#39 0x00007fffffffd8f4 in ?? ()
No symbol table info available.
#40 0x0000000000000000 in ?? ()
No symbol table info available.
-------------- next part --------------
#0  0xb6c7070d in strncmp () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb70bb58d in __xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2
No symbol table info available.
#2  0xb70bb60a in xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2
No symbol table info available.
#3  0xb714eeaf in xmlNewTextReaderFilename () from /usr/lib/libxml2.so.2
No symbol table info available.
#4  0xb6ea7793 in get_entry (mime_type=<value optimized out>) at gnome-vfs-mime-info.c:404
	umime = 0x82aef98 "text/plain"
	entry = (MimeEntry *) 0x0
	path = 0x827dcd0 "/usr/share/mime/text/plain.xml"
#5  0xb6ea7d85 in gnome_vfs_mime_get_value (mime_type=0x82aef98 "text/plain", 
    key=0xb6ed293b "description") at gnome-vfs-mime-info.c:545
	entry = <value optimized out>
#6  0xb6ea6e4b in gnome_vfs_mime_get_description (mime_type=0x82aef98 "text/plain")
    at gnome-vfs-mime-handlers.c:84
No locals.
#7  0x080885b5 in _gedit_tab_get_tooltips ()
No symbol table info available.
#8  0x080b1bba in ?? ()
No symbol table info available.
#9  0x08260800 in ?? ()
No symbol table info available.
#10 0x08377bc0 in ?? ()
No symbol table info available.
#11 0xbfffde78 in ?? ()
No symbol table info available.
#12 0xb7310b45 in gtk_notebook_insert_page () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x080b257e in gedit_notebook_add_tab ()
No symbol table info available.
#14 0x0809308f in gedit_window_create_tab ()
No symbol table info available.
#15 0x08068454 in main ()
No symbol table info available.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 237 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100715/6ec17e82/attachment.pgp>


More information about the debian-xml-sgml-pkgs mailing list