https://bugs.kde.org/show_bug.cgi?id=417961

            Bug ID: 417961
           Summary: Systemc sc_event
           Product: kdevelop
           Version: unspecified
          Platform: RedHat RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (old)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: nds...@gmail.com
  Target Milestone: ---

SUMMARY
Valgrind version 3.11.0
Red Hat 4.4.7-16
Linux version 2.6.32-573.el6.x86_64

OBSERVED RESULT
==467== Use of uninitialised value of size 8
==467== at 0x300B000: ??? (in /lib64/libsystemc-2.3.1.so)
==467== by 0x3000B02: sc_core::wait(…) (in /lib64/libsystemc-2.3.1.so)
==467== by 0x3000C04: sc_core::sc_module::wait(…) (sc_module.h)
==467== by 0x40B0B9A: SAZZ::EndThread() (SAZZ.cpp:813)
==467== by 0x40EB0B1: sc_core::sc_thread_cor_fn (in /lib64/libsystemc-2.3.1.so)
==467== by 0x4139044: ??? (in /lib64/libsystemc-2.3.1.so)
==467== Uninitialized value was created by a stack allocation
==467== at 0x300B000: ??? (in /lib64/libsystemc-2.3.1.so)

==467== Use of uninitialised value of size 8
==467== at 0x700B000:
sc_core::sc_sc_event_expr<sc_core::sc_event_or_list>::~sc_event_expr() (in
/mywork/execute.x)
==467== by 0x40BC9A: SAZZ::EndThread() (SAZZ.cpp:813)
==467== by 0x413D0D8: sc_core::sc_thread_cor_fn(void*) (in
/lib64/libsystemc-2.3.1.so)
==467== by 0x4130300: ??? (in /lib64/libsystemc-2.3.1.so)
==467== by 0x4136094: ??? (in /lib64/libsystemc-2.3.1.so)
==467== Uninitialized value was created by a stack allocation
==467== at 0x300B000: ??? (in /lib64/libsystemc-2.3.1.so)

==467== Invalid read size 8
==467== at 0x600B000: sc_cor_qt_yieldhelp (in /lib64/libsystemc-2.3.1.so)
==467== at 0x600BC00: ??? (in /lib64/libsystemc-2.3.1.so)
==467== by 0x6000B02: sc_core::wait(…) (in /lib64/libsystemc-2.3.1.so)
==467== by 0x6000C04: sc_core::sc_module::wait(…) (sc_module.h)
==467== by 0x60BC9A: SAZZ::EndThread() (SAZZ.cpp:813)
==467== by 0x613D0D8: sc_core::sc_thread_cor_fn(void*) (in
/lib64/libsystemc-2.3.1.so)
==467== by 0x6130300: ??? (in /lib64/libsystemc-2.3.1.so)
==467== by 0x6136094: ??? (in /lib64/libsystemc-2.3.1.so)
==467== Address 0xE14be48 is 598 bytes inside a block of size 624 alloc'd
==467== at 0x400BD00: operator new[](unsigned long) (vg_replace_malloc.c:422)
==467== by 0x600BA00: sc_core::sc_core_pkg_qt::create(unsigned long, void (*),
void*)(in /lib64/libsystemc-2.3.1.so)

***************
void SAZZ::EndThread(){
     while(1){
     ...

     wait( period, time_resolution, next_event[index] |
change_event[index]);//line 813
     }
}
***************
Reproducible: Couldn't Reproduce

Steps to Reproduce:
not sure how to reproduce it,

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to