Menu

#42 Crash in file open dialog

1.0
closed
nobody
None
2020-02-28
2019-09-12
No

To recreate, I simply hit ctrl-O and select any directory in the file open dialog:

Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Couldn?t allocate memory for loading PNG (gdk-pixbuf-error-quark, 1)
Aborted (core dumped)

I build from source using the supplied makefile. There were zero warnings or errors on the build. This is on Ubuntu 19.10 with the most current libgdk-pixbuf2 packages installed.

Discussion

  • Jesse Litton

    Jesse Litton - 2019-09-12

    Also, the memory allocation message is spurious. The 32GB system RAM and 8GB video RAM are each under half used and the message still appears.

     
  • Jesse Litton

    Jesse Litton - 2019-09-12

    I thought this might be due to a missing icon in the GTK theme I have set for my Plasma desktop. So, I changed the GTK icon theme to oxygen. Yet, the problem persists.

    I can see it's at least finding the right file now when I do an strace:

    openat(AT_FDCWD, "/usr/share/icons/oxygen/base/16x16/status/image-missing.png", O_RDONLY) = 37
    Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/oxygen/base/16x16/status/image-missing.png: Couldnt allocate memory for loading PNG (gdk-pixbuf-error-quark, 1)
    --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=10717, si_uid=1000} ---
    +++ killed by SIGABRT (core dumped) +++
    Aborted (core dumped)
    

    The /usr/share/icons/oxygen/base/16x16/status/image-missing.png file opens fine from any other app.

    I've verified the same thing happens if I pick a different theme, which also has a 16x16/status/image-missing.png icon.

    stat("/usr/share/icons/hicolor/index.theme", {st_mode=S_IFREG|0644, st_size=55507, ...}) = 0
    openat(AT_FDCWD, "/usr/share/icons/Yaru/16x16/status/image-missing.png", O_RDONLY) = 37
    Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Couldnt allocate memory for loading PNG (gdk-pixbuf-error-quark, 1)
    --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=13068, si_uid=1000} ---
    +++ killed by SIGABRT (core dumped) +++
    Aborted (core dumped)
    
     

    Last edit: Jesse Litton 2019-09-12
  • Oisín Mac Fhearaí

    Same here running the binary release on Ubuntu 19.10.

     
  • slajerek

    slajerek - 2019-10-10

    Yes, this is an odd error in the GTK when custom event loop is created and this also varies between GTK versions. To overcome this temporarily you can select "Use system dialogs ON/OFF" in the settings menu which is a workaround for this error.

     
  • slajerek

    slajerek - 2020-02-08

    This has been fixed in latest version 0.64.56.8. Please confirm and reopen if this is still an issue.

     
  • slajerek

    slajerek - 2020-02-08
    • status: open --> closed
     
  • Oisín Mac Fhearaí

    @slajerek I'm still seeing this with 0.64.56.8:

    Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/ima
    ge-missing.png: Couldnt allocate memory for loading PNG (gdk-pixbuf-error-quark, 1)
    [1]    17916 abort (core dumped)  ./c64debugger -d64 ../disks/slyspy0.d64
    
     
  • pshdev

    pshdev - 2020-02-28

    I have the same problem. The temporary solution ("Use system dialogs ON/OFF") stops the crashing, but when I enter the folder I want to set to drive 8, there's no option to actually set that directory to Drive 8. How do I do this?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.