google-code-export / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
0 stars 0 forks source link

ggl crash when adding a new non-pure virtual function to scriptable_interface #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add "virtual size_t GetObjectSize() { }; " to the definition of
scriptable_interface (Although only pure-virtual function should be added
into an interface, but here it's only used to reproduce the bug.)
2. recompile and run

What is the expected output? What do you see instead?

After tracing with gdb, it's because some location of memory is modified
unexpectedly, which must be caused by adding the non-virtual function as
no other places I modified.

Please use labels and text to provide additional information.

 42:42.548: ../../../../ggadget/dbus/dbus_proxy.cc:419: have no node named
'node', invalid XML returned.
42:42.549: ../../../../ggadget/dbus/dbus_proxy.cc:706: create proxy for
org.freedesktop.Hal|/org/freedesktop/Hal/devices/computer|org.freedesktop.Hal.De
vice
42:42.549: ../../../../ggadget/dbus/dbus_proxy.cc:556: no method
GetProperty registered by Introspectable interface.
42:42.550: ../../../../ggadget/dbus/dbus_proxy.cc:556: no method
GetProperty registered by Introspectable interface.
42:42.552:
../../../../extensions/libxml2_xml_parser/libxml2_xml_parser.cc:353: Ignore
XML Node of type 14

42:42.552: ../../../../ggadget/dbus/dbus_proxy.cc:419: have no node named
'node', invalid XML returned.
42:42.552: ../../../../ggadget/dbus/dbus_proxy.cc:706: create proxy for
org.freedesktop.Hal|/org/freedesktop/Hal/devices/computer|org.freedesktop.Hal.De
vice
42:42.552: ../../../../ggadget/dbus/dbus_proxy.cc:556: no method
GetProperty registered by Introspectable interface.
process 12521: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c
line 1074.

Original issue reported on code.google.com by Luo.Bey...@gmail.com on 9 May 2008 at 7:51

GoogleCodeExporter commented 9 years ago
Seems a binary compatability issue. You should 'make install' to ensure all the
modules are of the same version.

Original comment by phnix...@gmail.com on 9 May 2008 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by phnix...@gmail.com on 14 May 2008 at 5:49