Causes segfault when introspecting maliit-server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot Qt Support |
Fix Released
|
High
|
Michael Zanetti |
Bug Description
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 (this is very quick and dirty :-) ):
-------------------
from autopilot.
from autopilot.
dbus_address_
print "Getting maliit-server object"
maliit = make_proxy_
print "Getting QuickView"
quickview = maliit.
print "Getting keyboard"
keyboard = quickview.
print "About to segfault maliit-server"
keyboard.
Related branches
- Chris Gagnon (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 25 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
driver/qtnode.cpp (+1/-1)
description: | updated |
Changed in autopilot-qt: | |
assignee: | nobody → Michael Zanetti (mzanetti) |
status: | Triaged → Fix Committed |
status: | Fix Committed → In Progress |
importance: | Medium → High |
Changed in autopilot-qt: | |
status: | Fix Committed → Fix Released |
(gdb) file maliit-server maliit- server. ..done. maliit- server -testability linux-gnueabihf /libthread_ db.so.1" . _pthread_ gettid -2 keyboard- plugin. so"
Reading symbols from /usr/bin/
(gdb) run -testability
Starting program: /usr/bin/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-
starting our own maliit server_
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
[New Thread 0x444f6400 (LWP 6075)]
CRITICAL: loading "libmaliit-
[New Thread 0x45035400 (LWP 6076)]
[New Thread 0x45045400 (LWP 6077)]
error: empty dic file
Hash Manager Error : 2
[New Thread 0x45bff400 (LWP 6078)]
[New Thread 0x463ff400 (LWP 6079)]
[Thread 0x463ff400 (LWP 6079) exited]
Program received signal SIGSEGV, Segmentation fault. libautopilot_ driver_ qt5.so. 1
0x445226fa in QtNode::GetName() const ()
from /usr/lib/