bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7113: 23.2; Crash on invalid path argument to dbus-introspect-xml


From: Ari Roponen
Subject: bug#7113: 23.2; Crash on invalid path argument to dbus-introspect-xml
Date: Mon, 27 Sep 2010 10:01:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thomas Fitzsimmons <address@hidden> writes:

> $ /usr/bin/emacs -Q --eval "(require 'dbus)" --eval '(dbus-introspect-xml 
> :session "org.freedesktop.DBus" "")'
> process 23699: arguments to dbus_message_new_method_call() were incorrect, 
> assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c 
> line 1078.
> This is normally a bug in some application using the D-Bus library.
>   D-Bus not built with -rdynamic so unable to print a backtrace
> Fatal error (6)Aborted (core dumped)
>

The crash happens because DBUS uses fatal warnings. Setting the
environment variable DBUS_FATAL_WARNINGS to 0 helps:

  DBUS_FATAL_WARNINGS=0 emacs -Q --eval "(require 'dbus)" --eval
  '(dbus-introspect-xml :session "org.freedesktop.DBus" "")'

This way the warning message is still printed but Emacs doesn't crash.

-- 
Ari Roponen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]