Open JoeTester1965 opened 1 year ago
Unfortunately that's inside the error handler so it doesn't reveal too much. If you can get it to happen even semi-regularly, if you could try running it w the debug instructions from https://kismetwireless.net/docs/dev/debugging/ ... you probably won't want to compile it yourself w/ debugging on a pi, but if you pick up around step 4 and run 'gdb /usr/bin/kismet', then follow the rest of the steps to get a log when it crashes, that might help.
If you're not running the nightly kismet packages, give those a try, too. A new release is fairly close, and they fix a lot of other bugs, so there's a chance it's already been handled.
------- Original Message ------- On Saturday, April 15th, 2023 at 8:35 AM, joetester1965 at maildotcom @.***> wrote:
Getting this error intermittently on raspberry a Pi 4 running bullseye, kismet built from source, using a TPLINK TL-WN722N for WiFi and Ubertooth one for BLE:
Object "/usr/lib/arm-linux-gnueabihf/ld-2.31.so, at 0xf718090f, in
0 | Source "/home/pi/Play/kismet/backward.h", line 2046, in load_from
| 2044: #endif | 2045: if (error_addr) { | >2046: st.load_from(error_addr, 32); | 2047: } else { | 2048: st.load_here(32); Source "/home/pi/Play/kismet/backward.h", line 631, in sig_handler [0x82b413] 628: return size(); 629: } 630: size_t load_from(void* addr, size_t depth=32) {
631: load_here(depth + 8); 632: 633: for (size_t i = 0; i < _stacktrace.size(); ++i) { 634: if (_stacktrace[i] == addr) { Bus error (Invalid address alignment [0xf408f2c5]) FATAL: Error during write(): Broken pipe FATAL: Error during write(): Broken pipe
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I just ran into this also on a fresh build from master on my RPi 4 running Raspberry Pi OS. Here's the backtrace.
at packetchain.cc:210
__fn=...) at /usr/include/c++/10/bits/invoke.h:113
at /usr/include/c++/10/bits/std_function.h:291
__args#0=std::shared_ptr<kis_packet> (empty) = {...}, this=<optimized out>) at /usr/include/c++/10/bits/std_function.h:622
at /usr/include/c++/10/thread:264
at /usr/include/c++/10/thread:271
this=0xbf14c0) at /usr/include/c++/10/thread:215
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The only way I could fix this was to replace Raspbian OS with the latest Kali build for the Pi. Seems likely this fault is likely caused by something in the wider Raspbian OS not kismet.
Possibly fixed in the latest builds.
Finally got around to rebuilding with the latest build, and it seems fixed, thanks! Has been running for >1 hour without issue so far.
Getting this error intermittently on raspberry a Pi 4 running bullseye, kismet built from source, using a TPLINK TL-WN722N for WiFi and Ubertooth one for BLE:
Object "/usr/lib/arm-linux-gnueabihf/ld-2.31.so, at 0xf718090f, in
0 | Source "/home/pi/Play/kismet/backward.h", line 2046, in load_from
Bus error (Invalid address alignment [0xf408f2c5]) FATAL: Error during write(): Broken pipe FATAL: Error during write(): Broken pipe