[SRU] Valgrind complains about conditonal jumps depending on uninitialized value when running the IDE

Bug #1107844 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

Valgrind complains about conditional jumps based on uninitialized value on the IDE

The root of the problem was in the virtual method table for eC objects.
The logic has been re-evaluated and code fixed accordingly.

[Test Case]
Run the IDE through valgrind, and notice the following:

==15572== Conditional jump or move depends on uninitialised value(s)
==15572== at 0x41C355B: ??? (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x41C4E15: __ecereNameSpace__ecere__com__eSystem_RegisterClass (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x419E458: ??? (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x41D3739: __ecereDll_Load (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x41C42A2: ??? (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x4CBC49D: __ecereDll_Load (in /usr/lib/i386-linux-gnu/libec.so.0.44)
==15572== by 0x41C42A2: ??? (in /usr/lib/i386-linux-gnu/libecere.so.0.44)
==15572== by 0x8049B6B: ??? (in /usr/bin/ide)
==15572== by 0x43AA4D2: (below main) (libc-start.c:226)

==18707== Warning: invalid file descriptor -1 in syscall close()
==18707== Warning: invalid file descriptor -1 in syscall close()
==18707== Warning: invalid file descriptor -1 in syscall close()
==18707== Warning: invalid file descriptor -1 in syscall close()

[Regression Potential]
The dynamic class inheritance logic is quite complex, and so it is easy to go wrong.
However this fix has been improved and tested over a few months and with several different projects and scenarios, and has proven to be solid.
This could only affect eC applications.

Changed in ecere-sdk (Ubuntu):
assignee: nobody → Jerome St-Louis (jerstlouis)
Changed in ecere-sdk (Ubuntu):
status: New → Confirmed
summary: - [SRU] Valgrind complains about uninitialized value when building eC
- source
+ [SRU] Valgrind complains about uninitialized value when running the IDE
summary: - [SRU] Valgrind complains about uninitialized value when running the IDE
+ [SRU] Valgrind complains about conditonal jumps depending on
+ uninitialized value when running the IDE
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.