Skip to content

Trying to pickle an exception crashes the interpreter #284

@filmor

Description

@filmor

The following code apparently tries to write to a null pointer:

import clr
import pickle
from System import Exception
pickle.dumps(Exception())

I'm investigating, where it fails exactly but I'm open to hints :)

Small addition: This works fine for simple objects like System.Object()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions