Activity log for bug #2059078

Date Who What changed Old value New value Message
2024-03-26 07:27:45 Steve Langasek bug added bug
2024-03-26 07:27:47 Steve Langasek faketime (Ubuntu): assignee Steve Langasek (vorlon)
2024-03-26 07:29:09 Steve Langasek faketime (Ubuntu): assignee Steve Langasek (vorlon)
2024-03-26 07:41:47 Steve Langasek description faketime 0.9.10-2.1ubuntu1 is stuck in -proposed. faketime 0.9.10-2.1ubuntu1 is stuck in -proposed with build failures on armhf. On armhf, the testsuite confusingly fails with a stack smash error. But this error happens in bash, which isn't even meant to be the process under test. Minimal reproducer: # LD_PRELOAD=./src/libfaketime.so.1 bash -c 'exit 0' *** stack smashing detected ***: terminated Aborted (core dumped) # Confusingly, ltrace shows different results for the newly-built binary than from one built without 64-bit time_t. # LD_PRELOAD=./src/libfaketime.so.1 ltrace --library '*faketime*' bash -c 'exit 0' bash->getrandom(0x1f3bf08, 1, 0x9683b0, 0) = 0xc8202 bash->getrandom(0xc8203, 0xf7fad53c, 1023, 0xf7eef801) = 0xc8202 *** stack smashing detected ***: terminated --- SIGABRT (Aborted) --- +++ killed by SIGABRT +++ # LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/faketime/libfaketime.so.1 ltrace --library '*faketime*' bash -c 'exit 0' bash->gettimeofday(0x8b07a0, 0) = 0 bash->getpid() = 819717 bash->gettimeofday(0xffb88714, 0) = 0 bash->getpid() = 819717 bash->gettimeofday(0xffb8871c, 0) = 0 bash->getpid() = 819717 +++ exited (status 0) +++ # Unsetting -DFAKE_RANDOM in debian/rules does not fix the problem however. So simply loading the LD_PRELOAD library without executing it seems to be enough to break bash.
2024-03-26 07:47:52 Steve Langasek tags update-excuse time-t update-excuse
2024-03-26 17:18:48 Simon Chopin bug task added bash (Ubuntu)
2024-04-04 21:16:22 Brian Murray faketime (Ubuntu): milestone ubuntu-24.04-beta
2024-04-04 22:46:38 Andreas Hasenack bug added subscriber Andreas Hasenack
2024-04-05 14:54:45 Andreas Hasenack bug task added sssd (Ubuntu)
2024-04-08 16:19:50 Launchpad Janitor bash (Ubuntu): status New Fix Released
2024-04-08 16:19:50 Launchpad Janitor cve linked 2024-3094