Skip to content

SystemC 2.3.4 Valgrind Uninitialised Value Errors #89

@abnashkb

Description

@abnashkb

Running Valgrind on a project using SystemC 2.3.4 reports many uninitialised value errors related to the SystemC library. The first three (cleaned up) error messages are as follows. Similar messages repeat and propagate into other SystemC functions:

Use of uninitialised value of size 8
at ________: ??? (in ______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)
Uninitialised value was created by a stack allocation
at ________: ??? (in ______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)

Use of uninitialised value of size 8
at ______: sc_cor_qt_wrapper (in ______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)
Uninitialised value was created by a stack allocation
at ______: ??? (in ______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)

Use of uninitialised value of size 8
at ______: sc_core::sc_thread_cor_fn(void*) (in ______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)
Uninitialised value was created by a stack allocation
at ______: ??? (in______/systemc-2.3.4/build/src/libsystemc.so.2.3.4)

Is this a known issue in SystemC 2.3.4? How can this be resolved aside from updating the SystemC version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions