aferrero2707 / gimp-appimage

174 stars 17 forks source link

git-2.99.1-20200625-withplugins-x86_64.AppImage crash #54

Closed stevelcb closed 4 years ago

stevelcb commented 4 years ago

Hi everyone Crash with new version. To reproduce: Open a .jpg and hit Colour -> Levels

Cheers

log: https://drive.google.com/file/d/16UFztgjf0MtVEjWjYICWGbyoPBynahIx/view?usp=sharing

KenLidd commented 4 years ago

I just checked this and I have no problem nor crash with Ubuntu 18.04 and the 2.99.1-20200625 AppImage when I open a jpg image and use the Color-Levels menu tool. Regards Ken

<><><><><><><><><><><><><><><><><><><><><><><><><><><>

   Ken Liddon        kenliddon@gmail.com       (613)476-2164

<><><><><><><><><><><><><><><><><><><><><><><><><><><>

On Sat, Jun 27, 2020 at 8:29 AM stevelcb notifications@github.com wrote:

Hi everyone Crash with new version. To reproduce: Open a .jpg and hit Colour -> Levels

Cheers

log: https://drive.google.com/file/d/16UFztgjf0MtVEjWjYICWGbyoPBynahIx/view?usp=sharing

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aferrero2707/gimp-appimage/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKQJY46QG5RTICZ2JZVKRDRYXQ3TANCNFSM4OKAK5IA .

aferrero2707 commented 4 years ago

@stevelcb if you feel brave enough to do some hacking, here is what I propose to do in order to pin down the icon that seems to be missing:

Thanks!

aferrero2707 commented 4 years ago

@stevelcb this seems to be related: https://wiki.gimp.org/wiki/Hacking:Problems_and_solutions#On_Ubuntu:_Gtk:ERROR:...2F...2F...2F...2Fgtk.2Fgtkiconhelper.c:494:ensure_surface_for_gicon:_assertion_failed_.28error_.3D.3D_NULL.29:_Icon_.27image-missing.27_not_present_in_theme_Symbolic_.28gtk-icon-theme-error-quark.2C_0

Could you check if the gnome-icon-theme is installed in your system, and if not could you try to install it and check again?

Thanks!

stevelcb commented 4 years ago

Hey, yeah.

It now works. Thanks so much for your effort on this excellent appimage.

Would it be possible to include:

gnome-icon-theme

in the image?

Cheers,

Steve

On 29/6/20 13:17, aferrero2707 wrote:

@stevelcb https://github.com/stevelcb this seems to be related: https://wiki.gimp.org/wiki/Hacking:Problems_and_solutions#On_Ubuntu:_Gtk:ERROR:...2F...2F...2F...2Fgtk.2Fgtkiconhelper.c:494:ensure_surface_for_gicon:_assertion_failed_.28error_.3D.3D_NULL.29:_Icon_.27image-missing.27_not_present_in_theme_Symbolic_.28gtk-icon-theme-error-quark.2C_0

Could you check if the |gnome-icon-theme| is installed in your system, and if not could you try to install it and check again?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aferrero2707/gimp-appimage/issues/54#issuecomment-651042252, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3JYMI4C6I2JS6KSJZZU5LRZBZ27ANCNFSM4OKAK5IA.

stevelcb commented 4 years ago

Hi everyone

Just for completeness, I didn't go through this as our packager found the missing icon:)

Solution for ubuntu 18.04: install gnome-icon-theme

Cheers and a big thanks for @aferrero2707 for this excellent appimage.

Steve

On 29/6/20 9:20, aferrero2707 wrote:

@stevelcb https://github.com/stevelcb if you feel brave enough to do some hacking, here is what I propose to do in order to pin down the icon that seems to be missing:

|./GIMP_AppImage-git-2.99.1-20200628-withplugins-x86_64.AppImage --appimage-extract |

  • make sure the |strace| command is available in your system. If not, it can be installed with

|sudo apt-get install strace |

  • edit the |squashfs-root/AppRun| text file, and replace the line 93:

|$DIR/usr/bin/gimp.wrapper --pdb-compat-mode=on "$@" |

by

|strace -e trace=open,read $DIR/usr/bin/gimp.bin --pdb-compat-mode=on "$@" |

  • run the |AppRun| script and save the terminal output:

|squashfs-root/AppRun >& /tmp/gimp-log.txt |

  • reproduce the crash and send me the log...

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aferrero2707/gimp-appimage/issues/54#issuecomment-650979967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3JYMKUAGWDTY3S24IAOALRZA6CFANCNFSM4OKAK5IA.

aferrero2707 commented 4 years ago

@stevelcb I indeed plan to include the gnome icons into the bundle (see #56), just to avoid this kind of nasty issues that are hard to investigate.