I'm attempting to introspect the maliit-server (specifically on a Nexus 4).
I encounter consistently encounter segfault when getting to the 3rd level of introspection.
I have attached a python script that displays this behaviour.
To show the segfault, kill maliit-server and restart with -testability argument. Run the script.
The script should fail and you will see a segfault comment on the terminal where you started maliit-server.
Python script: ------------------- from autopilot.introspection import get_dbus_address_object, make_proxy_object from autopilot.introspection.constants import AUTOPILOT_PATH
dbus_address_instance = get_dbus_address_object('org.maliit.server', AUTOPILOT_PATH)
print "Getting maliit-server object" maliit = make_proxy_object(dbus_address_instance, None)
print "Getting QuickView" quickview = maliit.get_children()[1]
print "Getting keyboard" keyboard = quickview.get_children()[0]
print "About to segfault maliit-server" keyboard.get_children()
I'm attempting to introspect the maliit-server (specifically on a Nexus 4).
I encounter consistently encounter segfault when getting to the 3rd level of introspection.
I have attached a python script that displays this behaviour.
To show the segfault, kill maliit-server and restart with -testability argument.
Run the script.
The script should fail and you will see a segfault comment on the terminal where you started maliit-server.
Python script: introspection import get_dbus_ address_ object, make_proxy_object introspection. constants import AUTOPILOT_PATH
-------------------
from autopilot.
from autopilot.
dbus_address_ instance = get_dbus_ address_ object( 'org.maliit. server' , AUTOPILOT_PATH)
print "Getting maliit-server object" object( dbus_address_ instance, None)
maliit = make_proxy_
print "Getting QuickView" get_children( )[1]
quickview = maliit.
print "Getting keyboard" get_children( )[0]
keyboard = quickview.
print "About to segfault maliit-server" get_children( )
keyboard.