Hi. Po Lu. >>>>> "Po" == Po Lu writes: [...] Po> I don't think anything you give via the command line applies when Emacs is run as a daemon. Po> If that's what you did, it evidently didn't work, since the errors are still coming from Po> XPending. Right. I got emacs running on synch mode. But on that case error does NOT happen. Attached is the gdb log.