On 16 Jun 2010, at 10:26 pm, Larry Stone wrote:
On Thu, 17 Jun 2010, Török Edwin wrote:
On 06/16/2010 11:58 PM, Larry Stone wrote:
This is on a PowerPC Macintosh runing OS X 10.5.8 and ClamAV 0.96.1.
Are you sure it is 0.96.1? Did you restart clamd after the upgrade?
Yes, it's 0.96.1. Even when I was running 0.96, it had the patch for
1921 applied.
Same here on 0.96.1 on PPC. Removing the bytecode definitions file
(bytecode.cld) causes the crash to go away.
Here's the relevant part of the crash log from clamd
Thread 0 Crashed:
0 libSystem.B.dylib 0x973b0b50 __kill + 12
1 libSystem.B.dylib 0x9744bbfc abort + 84
2 libstdc++.6.dylib 0x93c0d7d0 __eprintf + 76
3 libclamav.6.dylib 0x00e391c8
llvm::PPCJITInfo::relocate(void*, llvm::MachineRelocation*, unsigned
int, unsigned char*) + 328
4 libclamav.6.dylib 0x00d381a0 (anonymous
namespace)::JITEmitter::finishFunction(llvm::MachineFunction&) + 4000
5 libclamav.6.dylib 0x00e04068 (anonymous
namespace
)::PPCCodeEmitter::runOnMachineFunction(llvm::MachineFunction&) + 840
6 libclamav.6.dylib 0x00f25474
llvm::FPPassManager::runOnFunction(llvm::Function&) + 484
7 libclamav.6.dylib 0x00f25674
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 132
8 libclamav.6.dylib 0x00f25948
llvm::FunctionPassManager::run(llvm::Function&) + 184
9 libclamav.6.dylib 0x00d2571c
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 92
10 libclamav.6.dylib 0x00d2609c
llvm::JIT::getPointerToFunction(llvm::Function*) + 1196
11 libclamav.6.dylib 0x00df0e28 (anonymous
namespace)::LLVMCodegen::generate() + 23720
12 libclamav.6.dylib 0x00df2644 cli_bytecode_prepare_jit
+ 4756
13 libclamav.6.dylib 0x00b1b378 cli_bytecode_prepare +
40 (bytecode.c:1921)
14 libclamav.6.dylib 0x00aa557c cl_engine_compile + 540
(readdb.c:3031)
15 clamd 0x00006b9c main + 3324 (clamd.c:460)
16 clamd 0x00002708 _start + 756
17 clamd 0x0000240c start + 44
It also crashes clamscan
Thread 0 Crashed:
0 libSystem.B.dylib 0x973b0b50 __kill + 12
1 libSystem.B.dylib 0x9744bbfc abort + 84
2 libstdc++.6.dylib 0x93c0d7d0 __eprintf + 76
3 libclamav.6.dylib 0x00e391c8
llvm::PPCJITInfo::relocate(void*, llvm::MachineRelocation*, unsigned
int, unsigned char*) + 328
4 libclamav.6.dylib 0x00d381a0 (anonymous
namespace)::JITEmitter::finishFunction(llvm::MachineFunction&) + 4000
5 libclamav.6.dylib 0x00e04068 (anonymous
namespace
)::PPCCodeEmitter::runOnMachineFunction(llvm::MachineFunction&) + 840
6 libclamav.6.dylib 0x00f25474
llvm::FPPassManager::runOnFunction(llvm::Function&) + 484
7 libclamav.6.dylib 0x00f25674
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 132
8 libclamav.6.dylib 0x00f25948
llvm::FunctionPassManager::run(llvm::Function&) + 184
9 libclamav.6.dylib 0x00d2571c
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 92
10 libclamav.6.dylib 0x00d2609c
llvm::JIT::getPointerToFunction(llvm::Function*) + 1196
11 libclamav.6.dylib 0x00df0e28 (anonymous
namespace)::LLVMCodegen::generate() + 23720
12 libclamav.6.dylib 0x00df2644 cli_bytecode_prepare_jit
+ 4756
13 libclamav.6.dylib 0x00b1b378 cli_bytecode_prepare +
40 (bytecode.c:1921)
14 libclamav.6.dylib 0x00aa557c cl_engine_compile + 540
(readdb.c:3031)
15 clamscan 0x00007980 scanmanager + 1328
(manager.c:435)
16 clamscan 0x000068cc main + 748 (clamscan.c:
150)
17 clamscan 0x00002688 _start + 756
18 clamscan 0x0000238c start + 44
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml