-
Notifications
You must be signed in to change notification settings - Fork 1.2k
segfault at start session-manager, opensuse tumbleweed #278
Comments
Will do. I'll post the results as soon as I do. Thanks. |
Updated packages to the following:
zypper update output: https://gist.github.com/luizlinux/cf7676f870d40e091df3c0659a95dc7c Unfortunatelly, I'm still getting segfaults at starting anbox session-manager:
Let me know if you need any additional info. |
Same output as @luizlinux |
Updated packages to the following:
Unfortunatelly, I'm still getting segfaults at starting anbox session-manager:
@gasinvein Please let me know if there is anything else I could help you with. |
@luizlinux, did you try official snap-based build? I guess the problem is not in my build, but who knows. |
@gasinvein Trying that now. Will post results shortly. |
@gasinvein Sorry for the delay, I had to figure out how to get it all working with the snap build. Insmoding your build kernel modules - ok:
Starting snap's anbox container manager - ok:
Starting snap's anbox session-manager - ok:
Starting snap' anbox launch - ok [sort of]:
Maybe anbox launch didn't work all the way because of the missing bridge interface anbox0 which I haven't [yet] figure out how to start. Edit:
But anyways, this is kind of off-topic, as the issue here is your build segfaulting. |
@luizlinux, I just installed older kernel and tried my build of Anbox, and everything seem fine. Do yo have any C++-related repositories enabled or anything else which may be related? |
Do you have any C++-related repositories enabled or anything else which may be related?
This is what I currently have installed from there:
|
Try disabling devel:libraries:c_c++ and downgrading boost libraries to ones from default repo. |
Did it, anbox won't install as it requires boost versions 1.64 and the opensuse repos only provide 1.54:
Currently installed downgraded boost libs:
|
Core Dump from last attempt of running anbox session-manager using 1.64 boost libs |
Are you sure you are using tumbleweed? It actually provides 1.64. |
I most certainly am a very special kind of stupid. I'm sorry, I'm running Leap 42.2. |
@luizlinux, then seems like you have installed tumbleweed's build of Anbox over Leap 42.2. Anyway, I just tried my build of Anbox in fresh install of opensuse Leap 42.2 in a VM and found that anbox session-manager segfaults in very similar way as yours, while in the same VM updated to tumbleweed no segfault occurs. Seems like either libboost in devel:libraries:c_c++ for Leap 42.2 is broken or it triggers some bug in Anbox. Upd for Anbox developers:
|
Update: There apears to be some composite misbehaviour between anbox and KDE producing black areas and removing transparencies. But all in all it works pretty well performance wise. Here you see my desktop running KDE in all of its composite glory [notice the shadows and transparencies]:
Once the org.anbox.appmgr package is running all composite eye candy is gone and the app window is partially blacked out: I figured out that if a drag the app window the balck area stays in place, so dragging it to the left side of the screen reveals all of the window contents: Aside from the compositing issues, anbox appears to run just fine using lib boost from the devel:libraries:c_c++ repository. |
@luizlinux if you run snap-based Anbox, it does not use your system libraries, so any problem related to boost from this repo will not affect Anbox. |
Oh, I see, thanks for the clarifications @gasinvein. |
if this is solved, would you mind help me with my error? It's similar to this. #275 |
@Mistero5050 no, this is not solved. What's your distro and boost version? |
Xubuntu, what do you mean with boost version? Do you mind come to my issue to help, too? Thanks :) |
Libboost. Never mind, what Ubuntu version? |
I don't know how, but now gives
|
@Mistero5050 maybe you can use adb logcat to see what happening inside the Android OS |
Change the title of this issue to SIGFPE or floating point exception, please. Your problem is not an segv. The reason for the sigfpe is probably that dbus-cpp was compiled with gcc 4.8 and anbox with gcc 5.3. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Information for package anbox:
Repository : Anbox (openSUSE_Tumbleweed)
Name : anbox
Version : 0.0.1.git20170515
Release : 15.1
Architecture: x86_64
Size : 3915240
Vendor : obs://build.opensuse.org/home:gasinvein
anbox system-info: https://gist.github.com/luizlinux/707f60a3aa6833f502509baef22223e4
systemctl status anbox-container-manager.service: https://gist.github.com/luizlinux/31d2c478bfde4a5b40187a0fdacb7e7f
journalctl from start of anbox-container-manager.service: https://gist.github.com/luizlinux/19699ec4470c43a43f515efe6a8617e0
Debug messages from starting anbox session-manager: https://gist.github.com/luizlinux/20497a69cc983ccb0c02999295710b8f
Strace messages from starting anbox session-manager: https://gist.github.com/luizlinux/ab94382f5fe69a31aa6402e5f82f750e
Given that issue #205 is related to an earlier build anbox (0.0.1.git20170427-42.2) and that the issue reporter, two-dogs, stated that the segfault issue went away for him, I decided to open a new issue as it might be unrelated.
Although anbox session-manager says core dumped after segfaulting, I couldn't find the core on the working directory I was at. If the core is dumped to a specific path and if its useful let me know and I'll upload it to this issue.
The text was updated successfully, but these errors were encountered: