After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576164 - Crash on Windows when Icon is selected at GtkImage property page
Crash on Windows when Icon is selected at GtkImage property page
Status: VERIFIED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Windows
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-21 10:58 UTC by LRN
Modified: 2009-03-23 01:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LRN 2009-03-21 10:58:18 UTC
Steps to reproduce:
1. Run glade-3
2. Create top-level GtkWindow
3. Drop GtkImage on it
4. Select the image
5. On its property page click "Icon name"


Stack trace:
  • #0 strlen
    from C:\WINXP64\syswow64\msvcrt.dll
  • #1 _g_gnulib_vasnprintf
    from d:\msys\local\bin\libglib-2.0-0.dll
  • #2 _g_gnulib_vasprintf
    from d:\msys\local\bin\libglib-2.0-0.dll
  • #3 g_vasprintf
    from d:\msys\local\bin\libglib-2.0-0.dll
  • #4 g_strdup_vprintf
    from d:\msys\local\bin\libglib-2.0-0.dll
  • #5 g_strdup_printf
    from d:\msys\local\bin\libglib-2.0-0.dll
  • #6 glade_command_set_properties_list
    at glade-command.c line 612
  • #7 glade_command_set_properties
    at glade-command.c line 718
  • #8 glade_command_set_property_value
    at glade-command.c line 730
  • #9 glade_command_set_property
    at glade-command.c line 745
  • #10 icon_toggled
    at glade-image-editor.c line 235
  • #11 g_closure_invoke
    from d:\msys\local\bin\libgobject-2.0-0.dll
  • #12 signal_emit_unlocked_R
    from d:\msys\local\bin\libgobject-2.0-0.dll
  • #13 ??

Other information:
Same happens when Filename is selected.
Comment 1 Tristan Van Berkom 2009-03-22 01:42:44 UTC

*** This bug has been marked as a duplicate of 575206 ***
Comment 2 LRN 2009-03-22 22:39:17 UTC
Rebuilt from svn trunk. Still crashes.
Comment 3 Tristan Van Berkom 2009-03-22 23:43:45 UTC
Thats really odd that the property class name can be null
there, although he even wrote it in the bug my mind didnt
want to accept it ;-)   ... anyway thanks again for reopening,
rebuilding on windows, I'm going to fix it differently, it
seems somehow somewhere I broke GladePropertyClass; it should never 
have a null display name.
Comment 4 Tristan Van Berkom 2009-03-23 00:17:47 UTC
* gladeui/glade-command.c: Fix win32 crasher (bug 575206) again (seems
  I missed it was klass->name that was null, fixed it so it would never
  be null, and added g_assert() where the crash was.

Fixed this time.
Comment 5 LRN 2009-03-23 01:29:46 UTC
Doesn't crash anymore. Although i can't say (yet) that all functionality is intact.