Public bug reported:

While testing glibc 2.32 we discovered dazzdb crasing in Ubuntu CI:
https://autopkgtest.ubuntu.com/packages/d/dazzdb/groovy/amd64

The root cause seems to be an invalid read, which can be detected even with 
glibc 2.31, but for some reason it does not end up in a crash.
I've replaced the crashing command with valgrind ...:

==2386== Memcheck, a memory error detector
==2386== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2386== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==2386== Command: DBstats -mdust G
==2386== 
==2386== Invalid read of size 8
==2386==    at 0x10B146: main (DBstats.c:269)
==2386==  Address 0x4ba9e20 is 0 bytes inside a block of size 64 free'd
==2386==    at 0x483DA3F: free (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==2386==    by 0x10B140: main (DBstats.c:350)
==2386==  Block was alloc'd at
==2386==    at 0x483C7F3: malloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==2386==    by 0x1108C5: UnknownInlinedFun (DB.c:67)
==2386==    by 0x1108C5: Open_Track (DB.c:1952)
==2386==    by 0x10B19E: main (DBstats.c:108)
==2386== 
==2386== 
==2386== HEAP SUMMARY:
==2386==     in use at exit: 196 bytes in 3 blocks
==2386==   total heap usage: 30 allocs, 27 frees, 153,650 bytes allocated
==2386== 
==2386== LEAK SUMMARY:
==2386==    definitely lost: 80 bytes in 1 blocks
==2386==    indirectly lost: 0 bytes in 0 blocks
==2386==      possibly lost: 0 bytes in 0 blocks
==2386==    still reachable: 116 bytes in 2 blocks
==2386==         suppressed: 0 bytes in 0 blocks
==2386== Rerun with --leak-check=full to see details of leaked memory
==2386== 
==2386== For lists of detected and suppressed errors, rerun with: -s
==2386== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

I'm tagging the package with block-proposed because I'll ask for
demoting it to groovy-proposed or removing it and if the demotion takes
place first it should not migrate to release before glibc 2.32.

** Affects: dazzdb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: block-proposed

** Bug watch added: github.com/thegenemyers/DAZZ_DB/issues #41
   https://github.com/thegenemyers/DAZZ_DB/issues/41

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895685

Title:
  Invalid read, DBstats crashes with glibc 2.32

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dazzdb/+bug/1895685/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to