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 653903 - Current release appears to segfault when using structs (please test this patch)
Current release appears to segfault when using structs (please test this patch)
Status: RESOLVED OBSOLETE
Product: seed
Classification: Bindings
Component: libseed
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: seed-maint
Depends on:
Blocks:
 
 
Reported: 2011-07-03 15:08 UTC by Alan Knowles
Modified: 2011-09-22 01:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
allocate changes (1.86 KB, patch)
2011-07-03 15:08 UTC, Alan Knowles
none Details | Review

Description Alan Knowles 2011-07-03 15:08:18 UTC
Created attachment 191184 [details] [review]
allocate changes

I've been seeing segfaults when creating and using structs. I've managed to work around this by adding 1 byte to all the allocations for structs.

It does not seem like a smart way to solve this, but it appears to work.

If it works for you, please add a comment.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2011-07-04 03:06:34 UTC
Doesn't work for me. Still crashing...

Program received signal SIGSEGV, Segmentation fault.
0xb7e22c3b in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
(gdb) bt
  • #0 ??
    from /lib/i386-linux-gnu/i686/cmov/libc.so.6
  • #1 g_strcmp0
    at gtestutils.c line 1540
  • #2 seed_gobject_define_property_from_function_info
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #3 seed_struct_prototype
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #4 seed_define_gtype_functions
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #5 seed_gtype_init
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #6 seed_init_with_context_and_group
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #7 seed_init_with_context_group
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #8 seed_init
    from /home/diego/gnome/build//lib/libseed-gtk3.so.0
  • #9 main

Comment 2 Alan Knowles 2011-08-01 23:26:13 UTC
I'm not seeing this on classic webkit - Diego, I think your issue is related to the javascriptcore switch.

Closing this issue (moving all jscore issues to the update bug)
Comment 3 Alan Knowles 2011-08-15 10:14:30 UTC
This is fixed now.
Comment 4 Jasper Lievisse Adriaanse 2011-09-21 17:25:34 UTC
I'm still seeing this issue with seed 3.1.1, which commit was supposed to fix this?
Comment 5 Jasper Lievisse Adriaanse 2011-09-21 17:55:48 UTC
Just checked git master which worked, perhaps make a new release as Ubuntu was also seeing this.
Comment 6 Alan Knowles 2011-09-22 01:47:32 UTC
For reference - this was the fix for paramspec crashes
http://git.gnome.org/browse/seed/commit/?id=db641cd31d82aff79a16080f65f7c7562aaadde6