Menu

#8 biew contains a lot of memory leaks...

open-wont-fix
None
5
2004-03-08
2003-09-20
No

After discovering that some files of mine where just
crashing biew under my debians stable and unstable, I
tried to check a bit what was going on. Valgrind just
tells horrible matters:

==26616== Source and destination overlap in
strncpy(0xbffff8f0, 0xbffff8f0, 10)
==26616== at 0x40021FB9: strncpy
(mac_replace_strmem.c:95)
==26616== by 0x808876B: iniReadProfileString
(file_ini.c:1572)
==26616== by 0x804E216: biewReadProfileString
(biew.c:635)
==26616== by 0x804D2AD: load_ini_info (biew.c:417)
==26616== by 0x804DB62: main (biew.c:507)
==26616== by 0x402E3E3D: __libc_start_main (in
/lib/libc-2.3.2.so)
==26616== by 0x80498D0: (within
/home/pixel/sources/biew-5.3.2/biew)
==26616==
==26616== Invalid write of size 4
==26616== at 0x808D7F3: twClearWin (twin.c:1776)
==26616== by 0x804DCDA: main (biew.c:523)
==26616== by 0x402E3E3D: __libc_start_main (in
/lib/libc-2.3.2.so)
==26616== by 0x80498D0: (within
/home/pixel/sources/biew-5.3.2/biew)
==26616== Address 0xBFFFE7D8 is not stack'd,
malloc'd or free'd
==26616==
==26616== Invalid write of size 4
==26616== at 0x804CC18: LoadInfo (biew.c:302)
==26616== by 0x804DD73: main (biew.c:537)
==26616== by 0x402E3E3D: __libc_start_main (in
/lib/libc-2.3.2.so)
==26616== by 0x80498D0: (within
/home/pixel/sources/biew-5.3.2/biew)
==26616== Address 0xBFFFE7D8 is not stack'd,
malloc'd or free'd
==26616==
==26616== Invalid write of size 4
==26616== at 0x804CD87: __detectBinFmt (biew.c:343)
==26616== by 0x804DD9C: main (biew.c:543)
==26616== by 0x402E3E3D: __libc_start_main (in
/lib/libc-2.3.2.so)
==26616== by 0x80498D0: (within
/home/pixel/sources/biew-5.3.2/biew)
==26616== Address 0xBFFFE7D8 is not stack'd,
malloc'd or free'd

etc... there is really a LOAD of them. Maybe some care
has to be taken inside biew's coding. It's a wonderful
software, really. I use it in a daily basis, but it
seems it really has a lot of memory leaks.

Discussion

  • Nicolas Noble

    Nicolas Noble - 2003-09-20

    One file that crashes biew

     
  • Anonymous

    Anonymous - 2003-09-21

    Logged In: YES
    user_id=5556

    Really, biew works on x86 compatible systems.
    It was designed for such system only.
    I don't have access to other systems and can't fix these
    bugs! :(
    Right SUBJECT should be:
    BIEW PERFORMS MISALIGNED MEMORY ACCESS!!!
    So if you're able to help me with fixing these bugs - I'm ready
    to apply any your patches!

    Regards! Nick

     
  • Anonymous

    Anonymous - 2003-09-21
    • status: open --> open-accepted
     
  • Anonymous

    Anonymous - 2004-03-08
    • assigned_to: nobody --> nickols_k
    • status: open-accepted --> open-wont-fix
     

Log in to post a comment.