Bug 205699
| Summary: | connection between scim and application stops randomly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lawrence Lim <llim> |
| Component: | scim-bridge | Assignee: | Jens Petersen <petersen> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | eng-i18n-bugs, ryo-dairiki, tools-bugs |
| Target Milestone: | --- | Keywords: | i18n |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-10-18 08:09:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 167798 | ||
|
Description
Lawrence Lim
2006-09-08 00:24:48 UTC
That time, is the agent down? If it's down, what error is shown in dsmg? Please move into a virtual terminal and check it. Thanks for the tips Ryo-san. I will watch out for these error message. Btw, you can get the corefile if the agent is crashed.
It will help us to solve this problem. :)
1. Make a shell script "scim-bridge" as follows:
#!/usr/bin/bash
ulimic -c unlimited
exec /usr/bin/scim-bridge
2. Install the script into /usr/local/bin/
3. Patch "scim-bridge-agent.cpp" as follows and make install it:
retval_t ScimBridgeAgentImpl::launch ()
{
scim_bridge_pdebugln (5, "launch ()");
...
} else {
// This is the child process.
- if (chdir ("/")) {
+ if (chdir ("/tmp")) {
scim_bridge_perrorln ("Cannot change the working directory: %s",
strerror (errno));
return RETVAL_FAILED;
}
close (0);
close (1);
close (2);
}
scim_bridge_pdebugln (5, "Daemonize done");
...
}
4. Logout once, and relogin.
5. Wait until the agent crashes.
Is this any better with scim-bridge-0.4.5? Closing for now. Please reopen if you still see this. |