Crash with "Bus error" when hashing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Berlios Bug #13105: Bus error
https:/
Original Submission:
Just after running linuxdcpp it quits with comment Bus error:
$linuxdcpp
Thrown: FileException: Could not open file
Thrown: FileException: Could not open file
Thrown: FileException: Could not open file
FavoriteManager
Loading: Hash database
Loading: Shared Files
Thrown: FileException: Could not open file
FileException: Could not open file
Loading: Download Queue
Bus error (core dumped)
And a backtrace from gdb
#0 0x08176b29 in TigerHash::update (this=0xb707c080, data=0xb4c86000,
length=1024) at client/
#1 0x080c2325 in MerkleTree<
data=0xb407a000, len=16777216) at client/
#2 0x080db6fd in HashManager:
filename=
at client/
#3 0x080df84e in HashManager:
at client/
#4 0x081728cc in Thread::starter (p=0x831b178) at client/Thread.h:137
#5 0xb7f6646b in start_thread () from /lib/tls/
#6 0xb75d96de in clone () from /lib/tls/
I've seen this crash multiple times before. I think it's some type of unaligned access, but I don't know how to fix it. Hopefully someone with more knowledge in this area will submit a patch.