Giter Site home page Giter Site logo

Comments (9)

manateelazycat avatar manateelazycat commented on August 9, 2024

What is your desktop environment?

Because EAF relies on the X11 API, EAF can only run on desktop environments based on X11, such as Gnome2, KDE, DDE, and can't work in Wayland-based desktop environments, such as Gnome3.

from emacs-application-framework.

TinaRussell avatar TinaRussell commented on August 9, 2024

I’m using MATE, which is a fork of Gnome2 and uses X11.

from emacs-application-framework.

manateelazycat avatar manateelazycat commented on August 9, 2024

Can you paste the content of buffer eaf ?

I need know the reason of "core dumped" , thanks

from emacs-application-framework.

TinaRussell avatar TinaRussell commented on August 9, 2024

Hmm, I tried it with emacs -Q again, twice, and now instead of the CPU problem, I’m getting the error message “*eaf* segmentation fault: core dumped”. The contents of the *eaf* buffer are as follows:

EAF process start.
Not found /home/tina/.emacs.d/eaf/session.json, no need restore session.
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch4: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch4: buf 00000000 00000002 00000004 00000004 00000000

Now, I’m using the Marco (a fork of Metacity) window manager, with compositing turned off. I turned compositing on in Marco (using a settings program called MATE Tweak) and tried again, to see what difference it might make. This time, the error message was again “*eaf* aborted: core dumped” and the *eaf* buffer showed this:

EAF process start.
Not found /home/tina/.emacs.d/eaf/session.json, no need restore session.
double free or corruption (fasttop)

Here are some stats about my system, as reported by Emacs:

In GNU Emacs 26.1.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-01-21 built on pannychis
Repository revision: 928d342c81c4d442e3125ddc463d141029d6898f
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:	Ubuntu 18.04.1 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --with-xaw3d --with-modules --with-xwidgets'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD LCMS2

These are from HardInfo:

-Computer-
Processor		: Intel(R) Core(TM)2 Duo CPU     T6400  @ 2.00GHz
Memory		: 4006MB (1655MB used)
Machine Type		: Notebook
Operating System		: Ubuntu 18.04.1 LTS
User Name		: tina (Tina Russell)
Date/Time		: Thu 07 Feb 2019 08:14:48 PM PST
-Display-
Resolution		: 1366x768 pixels
OpenGL Renderer		: NV98
X11 Vendor		: The X.Org Foundation
-Audio Devices-
Audio Adapter		: HDA-Intel - HDA Intel
-Input Devices-
 Lid Switch
 Sleep Button
 Power Button
 AT Translated Set 2 keyboard
 Video Bus
 SynPS/2 Synaptics TouchPad
 HDA Intel Mic
 HDA Intel Headphone
 HP WMI hotkeys
 HP Webcam-101: HP Webcam-101

from emacs-application-framework.

manateelazycat avatar manateelazycat commented on August 9, 2024

Hmm, I tried it with emacs -Q again, twice, and now instead of the CPU problem, I’m getting the error message “eaf segmentation fault: core dumped”. The contents of the *eaf* buffer are as follows:

EAF process start.
Not found /home/tina/.emacs.d/eaf/session.json, no need restore session.
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch4: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch4: buf 00000000 00000002 00000004 00000004 00000000

Now, I’m using the Marco (a fork of Metacity) window manager, with compositing turned off. I turned compositing on in Marco (using a settings program called MATE Tweak) and tried again, to see what difference it might make. This time, the error message was again “eaf aborted: core dumped” and the *eaf* buffer showed this:

EAF process start.
Not found /home/tina/.emacs.d/eaf/session.json, no need restore session.
double free or corruption (fasttop)

Here are some stats about my system, as reported by Emacs:

In GNU Emacs 26.1.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-01-21 built on pannychis
Repository revision: 928d342c81c4d442e3125ddc463d141029d6898f
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:	Ubuntu 18.04.1 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --with-xaw3d --with-modules --with-xwidgets'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD LCMS2

These are from HardInfo:

-Computer-
Processor		: Intel(R) Core(TM)2 Duo CPU     T6400  @ 2.00GHz
Memory		: 4006MB (1655MB used)
Machine Type		: Notebook
Operating System		: Ubuntu 18.04.1 LTS
User Name		: tina (Tina Russell)
Date/Time		: Thu 07 Feb 2019 08:14:48 PM PST
-Display-
Resolution		: 1366x768 pixels
OpenGL Renderer		: NV98
X11 Vendor		: The X.Org Foundation
-Audio Devices-
Audio Adapter		: HDA-Intel - HDA Intel
-Input Devices-
 Lid Switch
 Sleep Button
 Power Button
 AT Translated Set 2 keyboard
 Video Bus
 SynPS/2 Synaptics TouchPad
 HDA Intel Mic
 HDA Intel Headphone
 HP WMI hotkeys
 HP Webcam-101: HP Webcam-101

First, EAF need Window Manager's compositing support.
Second, QGraphicsScene in core/buffer.py use Qt's window mirror technology, it need video driver support.

From your feedback, "double free or corruption (fasttop)" is interesting clue.

To make EAF works, you need make sure:

  1. Window Manager is base on X11, not wayland or mir
  2. Window Manager need turn on compositing
  3. Configuration video driver to make Qt QGraphicsScene works well

I suggest you install a KDE environment for comparison testing, first remove the problem of the graphics card driver and then investigate the software environment configuration problem.

from emacs-application-framework.

jacklisp avatar jacklisp commented on August 9, 2024

I got the problem too.

EAF process starting...
Opening /home/jacklisp/下载/Cplus2.pdf with eaf.pdfviewer
*eaf* exited abnormally with code 1

from emacs-application-framework.

manateelazycat avatar manateelazycat commented on August 9, 2024

Sorry, I can't reproduce the problem you said.

If you find a solution, please provide more clues

thank you for your report, feel sorry again.

from emacs-application-framework.

wztdream avatar wztdream commented on August 9, 2024

ronments, such as Gnome3.

So eaf can not run on ubuntu, as since 18.04 they use gnome 3

from emacs-application-framework.

manateelazycat avatar manateelazycat commented on August 9, 2024

ronments, such as Gnome3.

So eaf can not run on ubuntu, as since 18.04 they use gnome 3

eaf has support wayland months ago

from emacs-application-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.