kz6fittycent / cool-retro-term

A snap for Cool Retro Term
GNU General Public License v3.0
8 stars 0 forks source link

Snap segfaults #1

Open popey opened 6 years ago

popey commented 6 years ago

I just tried installing cool-retro-term on KDE Neon (based on 16.04) and it doesn't work...

$ cool-retro-term 
static QPlatformTheme* QKdeTheme::createKdeTheme(): Unable to determine KDE dirs
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to retrieve device information
default KB_LAYOUT_DIR:  "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_139::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLShader: could not create shader
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QOpenGLShader: could not create shader
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
QOpenGLShader: could not create shader
Warning: "" failed to compile!
Segmentation fault
kz6fittycent commented 6 years ago

Thanks for showing me this. I'll get right on fixing this tonight.

kz6fittycent commented 6 years ago

Popey,

I've previously requested that this snap get classic confinement. I've reached out to the main dev regarding working together to get that done. Performed a PR and I am not certain that he understands what needs to happen (though it's been explained via email).

Even if this snap will run, you won't be able to do much as it is (e.g. sudo commands).

If you need me to start another thread at forum.snapcraft.io, I will but let this serve as a "heads up"...don't want this snap to totally disappoint you.

kz6fittycent commented 6 years ago

Popey,

Try the newest version in devmode; you'll not be able to run sudo commands, but it compiles.

pixelr0 commented 6 years ago

same error here on Ubuntu 16.04 intel gpu with stable version Qt: Session management error: None of the authentication protocols specified are supported libGL error: MESA-LOADER: failed to retrieve device information libGL error: Version 4 or later of flush extension not found libGL error: failed to load driver: i915 libGL error: MESA-LOADER: failed to retrieve device information default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_59::close() loadAllColorSchemes Session::run() - program: "/bin/bash" Session::run() - arguments: ("") started! Both point size and pixel size set. Using pixel size. QOpenGLFramebufferObject: Framebuffer incomplete attachment. QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer. QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer. QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer. QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment. QOpenGLShader: could not create shader Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile QOpenGLShader: could not create shader Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile QOpenGLShader: could not create shader Warning: "" failed to compile! Segmentation fault (core dumped)

pixelr0 commented 6 years ago

with --devmode --edge the app runs fine!

kz6fittycent commented 6 years ago

Yeah, this snap needs --classic confinement IMO.