ecrn | the message is from /vendor/lib64/libvpl.so | 00:01 |
---|---|---|
ecrn | oh, ok, I scrolled further | 00:03 |
ecrn | and there is camera_service segfaulting | 00:04 |
ecrn | https://pastebin.k4be.pl/view/raw/da76067e | 00:04 |
mal | there is the problem then, not sure why it crashes though | 00:14 |
ecrn | camera_service_64 does similar thing except all the libraries are from lib64 | 00:50 |
ecrn | prior to the segfault there is one more suspicious thing | 02:04 |
ecrn | 12-14 01:32:17.755 715 716 I ServiceManager: Waiting for service 'android.media.IMediaRecorderObserver' on '/dev/binder'... | 02:04 |
ecrn | which probably takes about 5 seconds if the segfault happens just after the interface becomes available | 02:05 |
ecrn | I have a feeling this supposed to be much faster | 02:06 |
ecrn | https://pastebin.k4be.pl/view/raw/d4314b21 | 02:50 |
ecrn | strace of camera_service, the process was waiting on the first syscall (ioctl(5, BINDER_WRITE_READ, 0x7ff82d7dc8) = 0) until the record button was pressed | 02:51 |
ecrn | openat(AT_FDCWD, "/dev/__properties__/u:object_r:boot_status_prop:s0", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 6 | 02:52 |
ecrn | if this is related... then would be second thing today which was caused by boot status properties | 02:53 |
ecrn | the first one was gps | 02:53 |
sharks | Could I please have some help? I'm trying to `make hybris-boot`, but the output of `mer_verify_kernel_config` always shows "CONFIG_IKCONFIG_PROC is invalid", even though I have set it to "y" in my defconfig. Other errors (such as "CONFIG_QUOTACTL", "CONFIG_VT", etc.) have been resolved, but can't seem to fix this one. Any clues? | 03:25 |
ecrn | the defconfig is not necessarily what the final config will be like, because the Kconfig system solves dependencies | 03:34 |
ecrn | you may need to set CONFIG_IKCONFIG=y also | 03:35 |
ecrn | because CONFIG_IKCONFIG_PROC depends on it | 03:36 |
sharks | Thanks ecrn. I did not have "CONFIG_IKCONFIG=y | 03:45 |
sharks | So that's rookie mistake number one. Mistake number two is that I'm not familiar with Kconfig. Will have to learn how to fix that... | 03:45 |
sharks | Seeing as setting "CONFIG_IKCONFIG=y" did not solve the issue | 03:46 |
ecrn | I'm not sure if order matters, but try with CONFIG_IKCONFIG=y above the CONFIG_IKCONFIG_PROC | 03:53 |
sharks | Man, I ought to buy you a beer. That was it! Thanks a ton. One step closer! | 03:56 |
ecrn | glad it worked | 04:16 |
sharks | Sorry to be a pain again - I have run into a new snag. Trying to run `rpm/dhd/helpers/build_packages.sh --droid-hal` in the PlatformSDK, we're failing with "/usr/bin/env: ‘python’: No such file or directory // Bad exit status". My first step was to check Python was installed with `sudo zypper in python`, but that's not got me any further. I'm not really sure I know what I'm doing now... | 05:18 |
sharks | Trying to build configs also fails, I don't have dependencies community-adaptation, pkgconfig(android-headers) or ssu-kickstart-configuration. Feel like I've missed an obvious step. Might have to take another crack at it tomorrow. | 05:55 |
ecrn | mal: the camera_service segfault was due to MediaRecorderObserver not instantiated - I grepped /usr for android_media_recorder_observer_new and sure enough, there is a service in ubports which is supposed to call it - media-hub-server | 07:50 |
ecrn | and it didn't start due to libandroidicu.so being unavailable for it due to apparmor configuration not including /apex/com.android.i18n/... where it resides | 07:51 |
ecrn | next thing was mediaserver service, or "media.resource_manager" as it was referred to when requested to be loaded to service manager | 07:55 |
ecrn | and lastly, I had to return to camera_service without the _64 | 07:55 |
ecrn | now it works properly | 07:56 |
T42 | <elros34> @sharks: this missing python is probably some issue in target: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2024-12-04.txt#line22 | 09:17 |
sharks | @elros34, lifesaver, thanks. `sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in python` did the trick. Never would have guessed that one! Now I've got a different error, but at least I'm another step closer. | 10:43 |
*** phlixi is now known as Guest3071 | 13:15 | |
*** phlixi_ is now known as phlixi | 13:16 | |
*** phlixi is now known as Guest3081 | 15:31 | |
*** phlixi_ is now known as phlixi | 15:31 | |
sharks | New day, new error. I got 'droid-hal', 'configs' and 'mw' built, but can't get 'gg'. It's complaining that I didn't build droidmedia, though I was under the impression that I did that much earlier on with `make -j$(nproc --all) hybris-hal droidmedia`. | 22:25 |
mal | check if you have for example minimediaservice in out/target/product/$DEVICE/system/bin/ | 22:42 |
mal | that tells if it got built | 22:42 |
sharks | No, mal - I don't have minimediaservice in there. Why would that be missing? | 22:48 |
mal | well one option is that you didn't have PORT_ARCH env var exported when you tried to build droidmedia | 23:24 |
mal | I mean when you ran that make droidmedia command | 23:25 |
T42 | <elros34> how did you fix your previous issue with make droidmedia command? | 23:26 |
sharks | Thanks mal - I had PORT_ARCH set in the platformSDK, but not in the HABUILD_SDK. Set that properly and tried again, now it works. I'm learning lots of tricks for new players! | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!