[SRU] Valgrind reveals memory errors running the eC compiler

Bug #1107825 reported by Jerome St-Louis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ecere-sdk (Ubuntu)
Fix Released
Undecided
Jerome St-Louis
Quantal
Won't Fix
Medium
Unassigned

Bug Description

Running the eC compiler through Valgrind reveals memory errors

[Test Case]
- Run the IDE through valgrind
Open up sdk/samples/3D/OpenGL/glEcereCamera.ec
See:

==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)

==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.

Changed in ecere-sdk (Ubuntu):
assignee: nobody → Jerome St-Louis (jerstlouis)
status: New → In Progress
Changed in ecere-sdk (Ubuntu):
status: In Progress → Confirmed
description: updated
description: updated
Changed in ecere-sdk (Ubuntu):
status: Confirmed → Fix Released
Changed in ecere-sdk (Ubuntu Quantal):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jerome St-Louis (jerstlouis) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in ecere-sdk (Ubuntu Quantal):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.