| 15 | |
| 16 | === When using libtrace 3.0.7 or 3.0.8, I get a segmentation fault whenever I try to read a trace file! === |
| 17 | There appears to be a nasty threading bug that can crop up when libtrace is built with gcc 4.4.1 (which is the packaged version on many Ubuntu systems). |
| 18 | |
| 19 | * The best possible fix (until libtrace 3.0.9 is released) is to make the change described in r1681 and re-build libtrace. Obviously this will involve editing the libtrace source code but will fix the problem without impacting on performance. |
| 20 | * An alternative is to disable threaded IO by running 'export LIBTRACEIO=nothreads' in the terminal which you are using to run the failing libtrace program. This will disable threaded IO, which will make the trace processing slower. |
| 21 | * You could also disable optimisations by adding 'CFLAGS="-g -O0"' when running ./configure - this will mean that you can still use threaded IO but the entirety of libtrace will be unoptimised. |
| 22 | |