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 747002 - Assigning None to nested struct segfaults
Assigning None to nested struct segfaults
Status: RESOLVED OBSOLETE
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-30 09:12 UTC by Christoph Reiter (lazka)
Modified: 2018-01-10 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christoph Reiter (lazka) 2015-03-30 09:12:59 UTC
Turned up in bug 746985

> struct _GIMarshallingTestsSimpleStruct {
>     glong long_;
>     gint8 int8;
> };
> 
> typedef struct {
>     GIMarshallingTestsSimpleStruct simple_struct;
> } GIMarshallingTestsNestedStruct;

################

s = GIMarshallingTests.NestedStruct()
s.simple_struct = None # segfault

################

  • #0 __memmove_ssse3_back
    at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S line 2276
  • #1 _wrap_g_field_info_set_value
    at pygi-info.c line 2028
  • #2 PyObject_Call
  • #3 PyObject_CallFunctionObjArgs
    at ../Objects/abstract.c line 2359

Comment 1 GNOME Infrastructure Team 2018-01-10 20:49:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pygobject/issues/99.