** Description changed:

  Running the eC compiler through Valgrind reveals memory errors
  
  [Test Case]
- Compile an .eC file with a #include using 'ecc' through valgrind:
+ - Run the IDE through valgrind
+ Open up sdk/samples/3D/OpenGL/glEcereCamera.ec
+ See:
  
- In sdk/samples/net/eirc:
+ ==16000== Conditional jump or move depends on uninitialised value(s)
+ ==16000==    at 0x4C95F4A: ??? (in /usr/lib/libec.so.0.44)
+ ==16000==    by 0x4C8FCFA: ??? (in /usr/lib/libec.so.0.44)
+ ==16000==    by 0x4CA3F02: ??? (in /usr/lib/libec.so.0.44)
+ ==16000==    by 0x4CA4A78: ??? (in /usr/lib/libec.so.0.44)
+ ==16000==    by 0x4CA4E47: ??? (in /usr/lib/libec.so.0.44)
+ ==16000==    by 0x80A4306: ??? (in /usr/bin/ide)
+ ==16000==    by 0x80A722E: ??? (in /usr/bin/ide)
+ ==16000==    by 0x80AA12A: ??? (in /usr/bin/ide)
+ ==16000==    by 0x4186788: ??? (in /usr/lib/libecere.so.0.44)
+ ==16000==    by 0x418F323: ??? (in /usr/lib/libecere.so.0.44)
+ ==16000==    by 0x4190377: ??? (in /usr/lib/libecere.so.0.44)
+ ==16000==    by 0x80E6D16: ??? (in /usr/bin/ide)
  
- ecp -c console.ec -o console.sym
- valgrind ecc -c console.ec -i console.c
  
- ==9434== Conditional jump or move depends on uninitialised value(s)
- ==9434==    at 0x4C95F4A: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4C8FCFA: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4C959C9: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4C9F189: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4CA4006: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4C8E435: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4CA0FAF: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4CA0F6E: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4CA34E2: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x4CA4DB9: ??? (in /usr/lib/libec.so.0.44)
- ==9434==    by 0x804A798: ??? (in /usr/bin/ecc)
- ==9434==    by 0x8049A0E: ??? (in /usr/bin/ecc)
- 
+ ==15992== Source and destination overlap in strcpy(0xbeb4176c, 0xbeb41773)
+ ==15992==    at 0x402C35F: strcpy (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
+ ==15992==    by 0x4C6F508: ??? (in /usr/lib/libec.so.0.44)
+ ==15992==    by 0x2E6C672E: ???
+ ==15992== 
  
  [Regression Potential]
  These fixes solve memory errors which could result in crashes, they should 
not break anything.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107825

Title:
  [SRU] Valgrind reveals memory errors running the eC compiler

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecere-sdk/+bug/1107825/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to