-
Notifications
You must be signed in to change notification settings - Fork 651
Crosswalk crash when user try to switch app in task manager on Tizen 2.1 #609
Comments
@luxtella could you please take a look at this issue? |
@yongkang yes. Can you send me sample xpk? [email protected] |
crosswalk-project/chromium-crosswalk#61 makes web app item on task switcher only one, not two. #588 makes us be able to push home key, instead of lock&unlock. This bug needs #570 because xwalk should handle appcore events. |
The web app that is installed using xwalk --install seems not to be installed properly.
For example, clock show as follows:
Task switcher kills process if the process does not satisfy package requirements. |
@luxtella how about one of the list commands, pkgcmd --applist, or something. I dont have the device now. At least that used to list the installed app. |
@poussa Web app is installed but not perfectly.
|
@luxtella When I packaged a xpk file into rpm, and install it on Tizen 2.1, the command "pkgcmd" works well:
But this issue still exists. I'm wondering that it caused by our runtime process model, and invalid resume callback mechanism. Here, I want to explain how it happen:
There're two processes with the same name, and it's the reason why there're two application in taskmanager.
It said: when AUL sending cmd to process(9349) by __app_send_raw, but the process doesn't return anything, so it guess the process has been terminated, and finished the resume. So I think the root cause is that the xwalk doesn't listen any command comes from AUL daemon. @luxtella you can take more investigations on these. I guess it's the key points to solve this issue. |
@luxtella Dongseong, do you have comment? From Xinchao's the investigation, the crashing is not because proper package installation. It might need some fixing from Xwalk. Can you work on it? |
@yongkang yes, I'm looking at this. required condition is that we need #570 because #570 makes xwalk handle aul events When I made prototype, installing prototype only in both /opt/usr/apps/ and /usr/apps/ makes task manager recognize prototype. we need to check if /opt/usr/apps/application/ get along with task manager. --> /opt/usr/apps/application/ is fine. Don't worry. |
This issue is still able to be reproduced on build 137 |
@takethathe could you send me your xpk file? [email protected] |
@takethathe
|
@luxtella |
@takethathe Thx for explanation. btw, could you expect when will uninstall be implemented? We can not remove app info in ApplicationStore just using pkginfo. |
I fixed it. I'll submit separate pull-requests. |
@luxtella Great work! |
This issue is still able to be reproduced on Tizen build 1.29.5 |
#570 will solve this issue, but I'm afraid it will not be merged in a short time. |
This issue is still able to be reproduced on 1.29.8 |
Please ensure this is fixed also on Crosswalk 1 beta branch |
This issue is still able to be reproduced on beta 1.29.4.1 |
@ds-hwang : just submit a PR targeting the branch. |
@ds-hwang were you able to submit this to beta? |
@baleboy not yet. commit-bot can not commit yet. |
This issue is still able to be reproduced on canary build 1.29.13.0 |
It is merged to master. I'll land in beta 1 soon. |
I submitted the fix to beta1. #879 |
It's done. @ininallen, Could you check again? |
Still repros: @ds-hwang, Francesco said "ensure this is fixed also on Crosswalk 1 beta branch", so we have to re-test it on W3 beta. |
@ininallen I tested on latest Canary (crosswalk-2.31.18.0-0.i586.rpm) and it works beautifully. When you says Latest Canary, you should be using version 2.x images, right? But you are talking about 1.x images. |
@poussa This issue is unable to be reproduced on Canary 2.31.19.0, I would close it, thanks for your comments |
Let's close it when it's verified in Beta as well |
This bug has been migrated to JIRA, please track this issue in https://crosswalk-project.org/jira/browse/XWALK-35 . Thanks. |
This issue is unable to be reproduced on Canary 2.31.19.0, but for Beta 1.29.4.3 we are unable to check it due to it is blocked by https://crosswalk-project.org/jira/browse/XWALK-46 |
Close it, please track it in jira |
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
BUG DETAILED DESCRIPTIONS
Pack xpk app by xpk generator, install and launch this xpk app and try to switch this app back task manger, however two process about this app shows
Environment:
Tizen2.1: build 131
PR3 device
EXACT STEPS LEADING TO PROBLEM:
EXPECTED OUTCOME:
Able to switch back to app
ACTUAL OUTCOME:
Crosswalk crash
USER IMPACT:
It impact user experience
The text was updated successfully, but these errors were encountered: