Valgrind warning in transaction log protobuf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
David Shrewsbury | ||
7.0 |
Fix Released
|
Medium
|
David Shrewsbury |
Bug Description
During transactinon_log tests:
==3653== Thread 16:
==3653== Conditional jump or move depends on uninitialised value(s)
==3653== at 0x4E8EAF3: google:
==3653== by 0x4E839AA: drizzled:
==3653== by 0x4E840F8: drizzled:
==3653== by 0x68C498: drizzled:
==3653== by 0x68C762: drizzled:
==3653== by 0x507791: drizzled:
==3653== by 0x507B46: drizzled:
==3653== by 0x6182D0: drizzled:
==3653== by 0x661505: drizzled:
==3653== by 0x6282F2: drizzled:
==3653== by 0x628502: drizzled:
==3653== by 0x62A2B1: drizzled:
==3653== by 0x5F7F69: drizzled:
==3653== by 0x5FA281: drizzled:
==3653== by 0xAA2C843: session_thread (multi_thread.h:67)
==3653== by 0x6A49A03: start_thread (pthread_
==3653==
==3653== Conditional jump or move depends on uninitialised value(s)
==3653== at 0x4E8EAF3: google:
==3653== by 0x4E839AA: drizzled:
==3653== by 0x4E840F8: drizzled:
==3653== by 0x4E84554: drizzled:
==3653== by 0xC300CF9: TransactionLog:
==3653== by 0xC301962: TransactionLogA
==3653== by 0x5F53AC: drizzled:
==3653== by 0x68901B: drizzled:
==3653== by 0x689D1A: drizzled:
==3653== by 0x629EF4: drizzled:
==3653== by 0x5F7F69: drizzled:
==3653== by 0x5FA281: drizzled:
==3653== by 0xAA2C843: session_thread (multi_thread.h:67)
==3653== by 0x6A49A03: start_thread (pthread_
==3653== by 0x6D3E80C: clone (clone.S:112)
==3653==
==3653== Conditional jump or move depends on uninitialised value(s)
==3653== at 0x4E8359D: drizzled:
==3653== by 0x4E84AFE: drizzled:
==3653== by 0x4E850AE: drizzled:
==3653== by 0xC300F7F: TransactionLog:
==3653== by 0xC30199E: TransactionLogA
==3653== by 0x5F53AC: drizzled:
==3653== by 0x68901B: drizzled:
==3653== by 0x689D1A: drizzled:
==3653== by 0x629EF4: drizzled:
==3653== by 0x5F7F69: drizzled:
==3653== by 0x5FA281: drizzled:
==3653== by 0xAA2C843: session_thread (multi_thread.h:67)
==3653== by 0x6A49A03: start_thread (pthread_
==3653== by 0x6D3E80C: clone (clone.S:112)
==3653==
==3653== Syscall param pwrite64(buf) points to uninitialised byte(s)
==3653== at 0x6A51B08: ??? (in /lib/libpthread
==3653== by 0xC300DFA: TransactionLog:
==3653== by 0xC3019AD: TransactionLogA
==3653== by 0x5F53AC: drizzled:
==3653== by 0x68901B: drizzled:
==3653== by 0x689D1A: drizzled:
==3653== by 0x629EF4: drizzled:
==3653== by 0x5F7F69: drizzled:
==3653== by 0x5FA281: drizzled:
==3653== by 0xAA2C843: session_thread (multi_thread.h:67)
==3653== by 0x6A49A03: start_thread (pthread_
==3653== by 0x6D3E80C: clone (clone.S:112)
==3653== Address 0x17ee21bf is 79 bytes inside a block of size 1,024 alloc'd
==3653== at 0x4C2596C: operator new(unsigned long) (vg_replace_
==3653== by 0xC306111: WriteBuffer:
==3653== by 0xC301ED6: TransactionLogA
==3653== by 0xC2FA330: init(drizzled:
==3653== by 0x5B81DD: drizzled:
==3653== by 0x51575F: drizzled:
==3653== by 0x502363: main (main.cc:262)
==3653==
Related branches
- Drizzle Merge Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifieddrizzled/transaction_services.cc (+1/-1)
At first it was thought that this was introduced in r1736 (ie. my fault) as that is when it started appearing on the Drizzle-benchmark list. But I have since been able to reproduce with older revisions.