Re: Emacs problems after dbus (?) update
On 12/3/2011 1:22 AM, Jim Reisert AD1C wrote: I updated Cygwin today, I think there was a dbus update. Now emacs-x11 is complaining: lrwxrwxrwx 1 Jim Reisert None 23 Aug 17 23:03 /usr/bin/emacs - /etc/alternatives/emacs lrwxrwxrwx 1 Jim Reisert None 22 Aug 17 23:03 /etc/alternatives/emacs - /usr/bin/emacs-X11.exe JJR:~ emacs (emacs:3380): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'. (emacs:3380): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (emacs:3380): Pango-WARNING **: Failed to load Pango module '/usr/lib/pango/1.6.0/modules/pango-basic-fc.dll' for id 'BasicScriptEngineFc' (emacs:3380): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'. (emacs:3380): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed Try removing /etc/pango/pango.modules . See http://cygwin.com/ml/cygwin-xfree/2011-11/msg00047.html Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: original cygwin console?
On Sat, Dec 03, 2011 at 01:44:59AM -0500, Christopher Faylor wrote: On Fri, Dec 02, 2011 at 09:30:06PM -0500, wxie wrote: The new cygwin console use mintty. Is it still possible to change back to the orignal console? Wrong mailing list but, there was no cygwin console. That's just a standard Windows console running bash. agree wrong mailing list disagree on the followup comment: a standard Windows console provides a way to implement a simple terminal emulator, but the functionality which wxie appears to refer to was the implementation provided by Cygwin. -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
Re: Problems with emacs built against gtk3
Just for completeness... Yaakov wrote Okay, I got it. dconf-service needs a GVfs implementation, but the default provider (from the gvfs package) is currently only available in Ports. That's what I get for trying to be minimalistic wrt the distro. I installed gvfs and all it needs (I have many packages installed frp cygports) but this doesn't fix the problem for me: Emacs still dies... :( Ciao, Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Emacs problems after dbus (?) update
On Sat, Dec 3, 2011 at 4:42 AM, Ken Brown wrote: (emacs:3380): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'. Try removing /etc/pango/pango.modules . See http://cygwin.com/ml/cygwin-xfree/2011-11/msg00047.html Ken, that did fix the problem. Why did this just start happening (after the last update), and what's the long-term fix? At least if it comes back, I know what to do. I don't use Gnome - is there a way to uninstall the whole package, including Pango? Thanks - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Emacs problems after dbus (?) update
On 12/3/2011 10:17 AM, Jim Reisert AD1C wrote: On Sat, Dec 3, 2011 at 4:42 AM, Ken Brown wrote: (emacs:3380): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'. Try removing /etc/pango/pango.modules . See http://cygwin.com/ml/cygwin-xfree/2011-11/msg00047.html Ken, that did fix the problem. Why did this just start happening (after the last update), and what's the long-term fix? At least if it comes back, I know what to do. This is just a minor glitch, related to the fact that Yaakov is gradually updating some packages that were updated long ago in Ports. [It's minor because emacs actually worked fine, in spite of all the warnings]. I'm sure he will get this all sorted out. I don't use Gnome - is there a way to uninstall the whole package, including Pango? emacs-X11 is built using the gtk toolkit. This is the upstream default for emacs, and I don't want to do something special for Cygwin unless there's a good reason. So emacs-X11 requires libgtk, which requires libpango. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: original cygwin console?
On Sat, Dec 03, 2011 at 09:23:38AM -0500, Thomas Dickey wrote: On Sat, Dec 03, 2011 at 01:44:59AM -0500, Christopher Faylor wrote: On Fri, Dec 02, 2011 at 09:30:06PM -0500, wxie wrote: The new cygwin console use mintty. Is it still possible to change back to the orignal console? Wrong mailing list but, there was no cygwin console. That's just a standard Windows console running bash. agree wrong mailing list disagree on the followup comment: a standard Windows console provides a way to implement a simple terminal emulator, but the functionality which wxie appears to refer to was the implementation provided by Cygwin. There is no implementation beyond running bash, i.e.: c:\cygwin\bin\bash --login -i Put that in a shortcut or, if you need to set some environment variables, create a .bat file. Many people seem to think that what they got when they clicked on the Cygwin icon was some sort of Cygwin terminal because they were apparently unfamilar with the Windows console as seen in good-old CMD.EXE. They apparently had never seen that white-on-black box on their screen before and thought that Cygwin created it. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: original cygwin console?
On Sat, Dec 03, 2011 at 01:30:23PM -0500, Christopher Faylor wrote: On Sat, Dec 03, 2011 at 09:23:38AM -0500, Thomas Dickey wrote: On Sat, Dec 03, 2011 at 01:44:59AM -0500, Christopher Faylor wrote: On Fri, Dec 02, 2011 at 09:30:06PM -0500, wxie wrote: The new cygwin console use mintty. Is it still possible to change back to the orignal console? Wrong mailing list but, there was no cygwin console. That's just a standard Windows console running bash. agree wrong mailing list disagree on the followup comment: a standard Windows console provides a way to implement a simple terminal emulator, but the functionality which wxie appears to refer to was the implementation provided by Cygwin. There is no implementation beyond running bash, i.e.: ...and the cygwin dll. Taking a quick look at the source, it seems that one of the places of interest is fhandler_console.cc there's no disagreement that it's running in a Windows console window, but the point that cygwin provides the terminal emulation behavior seems to be dismissed - awai -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
Re: Problems with emacs built against gtk3
Hi, Yaakov (Cygwin/X) yselkow...@users.sourceforge.net writes: On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an xterm window: $ ./emacs -Q [1] 3344 (emacs:3344): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action. ** (emacs:3344): WARNING **: Abnormal program termination spawning command line `dbus-launch --autolaunch=0b8f184fe6d82872ee8db8724ecfdb90 --binary-syntax --close-stderr': I think the pango warning is Cygwin specific, but the rest of it might not be. Similar symptoms were reported on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=654027 This appears to be the same bug. The solution is to launch a DBus session bus *before* starting emacs (or any other gtk3 programs for that matter), IOW: $ eval `dbus-launch --sh-syntax` $ emacs-X11 The first command should be added to the beginning of your ~/.startxwinrc, if you're using startxwin (or its shortcut) to start the X server. I turned on DBUS debugging and it appears to be communicating before Emacs is started. Once emacs-X11 starts, it soon crashes: [...] GDBus-debug:Message: RECEIVED D-Bus message (72 bytes) Type:method-return Flags: no-reply-expected Version: 0 Serial: 3 Headers: reply-serial - uint32 2 destination - ':1.53' sender - 'org.freedesktop.DBus' Body: () UNIX File Descriptors: (none) : 6c 02 01 01 00 00 00 00 03 00 00 00 35 00 00 00l...5... 0010: 06 01 73 00 05 00 00 00 3a 31 2e 35 33 00 00 00..s.:1.53... 0020: 05 01 75 00 02 00 00 00 07 01 73 00 14 00 00 00..u...s. 0030: 6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2eorg.freedesktop. 0040: 44 42 75 73 00 00 00 00 DBus GDBus-debug:Call: ASYNC COMPLETE org.freedesktop.DBus.AddMatch() (serial 2) SUCCESS Fatal error (11)Segmentation fault BTW, please be sure to reinstall dconf-service, that's not the problem, and you're going to need it in the new world order of GNOME 3. 2. The pango warning can already be observed with the current Cygwin emacs after the recent update of the GNOME libraries. To reproduce, install the emacs-X11 package and start emacs with the command `emacs ' in an xterm window. I cannot reproduce this. Does installing font-cantarell-otf help? Perhaps another font? Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/