Aborted when use afb_api_event_handler_add

Fixed

Description

I was trying to use "afb_api_event_handler_add" in homescreen-service init() function, but when homescreen-service starting I got below log:

This issue only referenced agl-service-homescreen, the sourcecode is at here.
please `git diff HEAD^ HEAD` to see difference.

The way of reproducing this issue is as below:

  • use sdk to compile agl-service-homescreen

  • compress wgt file,

  • use afm-util to uninstall/install homescreen-service.wgt

  • restart, then grep journal log with "homescreen-service"

Environment

None

Attachments

7

blocks

Activity

Show:

Théo Bueno 
April 4, 2019 at 10:49 AM

Ok, good to know. I'll retry basing on clean 7.0.1 distribution, or maybe just wait for those changes to make 7.0.2.

jose bollo 
April 4, 2019 at 9:07 AM

I just rebuilt AGL 7.0 GUPPY with the change and didn't see the issue you are facing.

jose bollo 
April 4, 2019 at 8:04 AM

I just recompiled master with the change and had no issue. I tested with the change of that revealed the problem and seen no issue. For me it works.

The error log that you reported are showing an issue of allocation of afm-system-daemon. I don't understand how it relates to the patch. But if you took only few patches over the binder of guppy, the overall state is perhaps unstable. I happens to me sometime, when I just reinstall the new af-binder RPM the result doesn't work. It should not occurs but... I didn't investigated. Then I rebuild the image and magically it works.

I'll check soon 20883,1 on guppy (7.0) and tell you what I observe.

Théo Bueno 
April 3, 2019 at 3:23 PM

I am afraid both patch sets 20882,1 and 20883,1 made my AGL 7.0 system unable to startup.

af-binder now crashes when systemd tries to launch it, putting system into a loop.

I am sending logs and backtraces for both patch sets.

Is it possible that I need to bump other AGL software revisions for these patch set to work ?

Jan-Simon Moeller 
April 2, 2019 at 3:31 PM
(edited)

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created April 2, 2019 at 1:25 AM
Updated September 19, 2019 at 12:06 PM
Resolved April 30, 2019 at 8:35 PM