accounts-daemon does not terminate at computer shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
shutdown while testing a dbus-monitor script to work around a problem in in my java app :)
Seems like your logoff is pretty broken, a simple test java app with a jframe and a shutdown hook (only) always returns non-zero on logoff (and doesn't run the hook) and other gnome programs crash regularly there. Something is rotten in denmark
package i3.main;
import java.awt.
import java.io.
import java.lang.
import java.lang.
import javax.swing.JFrame;
import javax.swing.
import org.openide.
/**
* Test for shutdown bug workaround
*
* @author i30817
*/
public class TEST implements Runnable {
public void main(String[] blah) {
try {
new TEST();
} catch (InvocationTarg
} catch (IOException ex) {
}
}
public TEST() throws InvocationTarge
//First shutdown hook of the app to be added first after the system/native ones
//Note: does not work with the shutdown command line utility
if ("GNOME"
String pid = getProcessId();
if (pid == null) {
}
//alive until we kill it, or logoff ope dialog;
//avoid the issue it is trying to solve.
String pleaseKillmeSoftly
try {
});
} catch (IOException ex) {
}
}
}
private static String getProcessId() {
final String jvmName = ManagementFacto
final int index = jvmName.
if (index < 1) {
return System.
}
return jvmName.
}
public void run() {
final JFrame frame = new JFrame();
}
private static class SaveRunnable implements Runnable {
@Override
public void run() {
}
}
}
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: accountsservice 0.6.35-0ubuntu7
ProcVersionSign
Uname: Linux 3.13.0-14-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Thu Mar 6 00:06:28 2014
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2014-01-17 (47 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140117)
OmitPids: 1320 5010 5016 5003 4987 5033 5002 4975 5016 5003 4987 5033 5002
ProcCmdline: /usr/lib/
ProcEnviron:
SourcePackage: accountsservice
Title: accounts-daemon does not terminate at computer shutdown
UpgradeStatus: No upgrade log present (probably fresh install)