Bug 166349 - Rawhide evince crashes on startup with DBus registration problem
Rawhide evince crashes on startup with DBus registration problem
Product: Fedora
Classification: Fedora
Component: dbus (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John (J5) Palmieri
: 166264 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-08-19 13:08 EDT by Dave Malcolm
Modified: 2013-03-13 00:48 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-19 16:41:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Bugzilla 313724 None None None Never

  None (edit)
Description Dave Malcolm 2005-08-19 13:08:41 EDT
Rawhide evince crashes on startup; on investigation appears to be a crash in
dbus-glib code:


(gdb) bt
#0  0x00d2200f in dbus_g_connection_register_g_object (connection=0x9e5b23c, 
    at_path=0x8099179 "/org/gnome/evince/Evince", object=0x9e3eeb8)
    at dbus-gobject.c:1433
#1  0x0805e71f in ev_application_register_service ()
#2  0x080797b6 in main ()

static void
export_signals (DBusGConnection *connection, const DBusGObjectInfo *info,
GObject *object)
  GType gtype;
  const char *sigdata;
  const char *iface;
  const char *signame;

  gtype = G_TYPE_FROM_INSTANCE (object);

  sigdata = info->exported_signals;
  while (*sigdata != '\0')

Crash appears to be reading through a bogus sigdata in the while loop, though my
debuginfo is too optimised for me to be sure.

info appears to have this value, retreived by lookup_object_info:
(gdb) p *$3
$5 = {format_version = 0, method_infos = 0x8098fe0, n_method_infos = 2, 
  data = 0x8098f60 "org.gnome.evince.Application", exported_signals = 0x0, 
  exported_properties = 0x0}

So the export_signals code appears not to handle this NULL case.

Don't know whether it's an evince or an underlying DBus bug though (is
exported_signals allowed to be NULL)
Comment 1 Dave Malcolm 2005-08-19 13:56:14 EDT
*** Bug 166264 has been marked as a duplicate of this bug. ***
Comment 2 Dave Malcolm 2005-08-19 14:21:11 EDT
Duplicate of bug filed here: http://bugzilla.gnome.org/show_bug.cgi?id=313724
Comment 3 Kristian Høgsberg 2005-08-19 16:41:50 EDT
Fixed in rawhide.

Note You need to log in before you can comment on or make changes to this bug.