[BRLTTY] I can't build brltty

Jean-Philippe MENGUAL mengualjeanphi at free.fr
Wed Jul 28 13:44:56 EDT 2010


Hi,

Same context as described in my previous mail, now the valgrind's output
is:

==4599== Memcheck, a memory error detector
==4599== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==4599== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==4599== Command: ./tbl2hex ../Tables/fr_FR.ttb
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E877: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x45E3C2: fillin_rpath
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x460443: _dl_init_paths
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x447B44: _dl_non_dynamic_init
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4486AA: __libc_init_first
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x40FF37: (below main)
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E877: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x43E585: strdup
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x41A393: setlocale
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x400BB6: prepareProgram (program.c:92)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E877: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x419F5A: new_composite_name
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x41A50E: setlocale
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x400BB6: prepareProgram (program.c:92)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x40A691: pthread_rwlock_unlock
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x400BB6: prepareProgram (program.c:92)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x40A691: pthread_rwlock_unlock
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x41EBF2: textdomain
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x400BC0: prepareProgram (program.c:93)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E8AB: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x43E585: strdup
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4044F5: strdupWrapper (misc.c:48)
==4599==    by 0x405829: getProgramPath (sys_linux.c:94)
==4599==    by 0x400BC5: prepareProgram (program.c:96)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E8AB: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x402A78: locatePathName (file.c:92)
==4599==    by 0x402AA8: isExplicitPath (file.c:112)
==4599==    by 0x400BE1: prepareProgram (program.c:98)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E8AB: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x402A78: locatePathName (file.c:92)
==4599==    by 0x402AA8: isExplicitPath (file.c:112)
==4599==    by 0x400BF5: prepareProgram (program.c:104)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E8AB: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x402A78: locatePathName (file.c:92)
==4599==    by 0x400C05: prepareProgram (program.c:129)
==4599==    by 0x40211E: processOptions (options.c:715)
==4599==    by 0x4005C3: main (tbl2hex.c:215)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x43E891: strlen
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x402B49: readLine (file.c:516)
==4599==    by 0x402CA7: processLines (file.c:559)
==4599==    by 0x40624E: processDataStream (datafile.c:737)
==4599==    by 0x407B60: processTextTableLines (ttb_compile.c:231)
==4599==    by 0x40811B: compileTextTable (ttb_native.c:175)
==4599==    by 0x400348: loadTextTable (tbl2hex.c:55)
==4599==    by 0x40063C: main (tbl2hex.c:229)
==4599== 
==4599== Conditional jump or move depends on uninitialised value(s)
==4599==    at 0x40A4C5: pthread_rwlock_wrlock
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4415C9: wcsrtombs
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x426EA0: vfprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x433BF6: vsnprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x42F110: snprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4063DA: includeDataFile (datafile.c:638)
==4599==    by 0x4070E0: processIncludeOperands (datafile.c:654)
==4599==    by 0x407228: processPropertyOperand (datafile.c:677)
==4599==    by 0x407196: processUtf8Line (datafile.c:693)
==4599==    by 0x402C90: processLines (file.c:568)
==4599==    by 0x40624E: processDataStream (datafile.c:737)
==4599==    by 0x407B60: processTextTableLines (ttb_compile.c:231)
==4599== 
==4599== Syscall param futex(op) contains uninitialised byte(s)
==4599==    at 0x40A4F0: pthread_rwlock_wrlock
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4415C9: wcsrtombs
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x426EA0: vfprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x433BF6: vsnprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x42F110: snprintf
(in /home/jp/Documentations/Traductions/brltty/Programs/tbl2hex)
==4599==    by 0x4063DA: includeDataFile (datafile.c:638)
==4599==    by 0x4070E0: processIncludeOperands (datafile.c:654)
==4599==    by 0x407228: processPropertyOperand (datafile.c:677)
==4599==    by 0x407196: processUtf8Line (datafile.c:693)
==4599==    by 0x402C90: processLines (file.c:568)
==4599==    by 0x40624E: processDataStream (datafile.c:737)
==4599==    by 0x407B60: processTextTableLines (ttb_compile.c:231)
==4599== 
==4599== 
==4599== HEAP SUMMARY:
==4599==     in use at exit: 0 bytes in 0 blocks
==4599==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==4599== 
==4599== All heap blocks were freed -- no leaks are possible
==4599== 
==4599== For counts of detected and suppressed errors, rerun with: -v
==4599== Use --track-origins=yes to see where uninitialised values come
from
==4599== ERROR SUMMARY: 36 errors from 12 contexts (suppressed: 0 from
0)

Hope it will help,

Thanks,

Regards,

Jean-Philippe MENGUAL


Le mercredi 28 juillet 2010 à 19:05 +0200, Samuel Thibault a écrit :
> Hello,
> 
> Jean-Philippe MENGUAL, le Mon 26 Jul 2010 17:11:55 +0200, a écrit :
> > I tried 
> > valgrind ./tbl2hex ../Tables/fr_FR.ttb >/dev/null 2>/path/to/log-file :
> 
> Could you try to use the upcoming 3.6.0 version of valgrind?
> 
> Debian has a package in the experimental branch, as it only depends on
> libc6, you can just install it by hand from
> 
> http://ftp.fr.debian.org/debian/pool/main/v/valgrind/valgrind_3.5.0+3.6.0svn20100609-1_amd64.deb
> 
> Samuel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty



More information about the BRLTTY mailing list