Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BESS daemon crashes when running sim mode cmd #267

Closed
krsna1729 opened this issue May 7, 2021 · 2 comments · Fixed by #281
Closed

BESS daemon crashes when running sim mode cmd #267

krsna1729 opened this issue May 7, 2021 · 2 comments · Fixed by #281
Assignees
Labels
bug Something isn't working

Comments

@krsna1729
Copy link
Member

Describe the bug
BESS daemon crashes on running simulate create command

To Reproduce
Configure docker_setup.sh and conf/upf.json in sim mode.

./docker_setup.sh;
docker exec bess-pfcpiface pfcpiface -config /conf/upf.json -simulate create;

Expected behavior
Successful installation of rules without BESS daemon crash

Logs

F0507 08:34:31.306718    32 debug.cc:405] A critical error has occured. Aborting...
Signal: 11 (Segmentation fault), si_code: 1 (SEGV_MAPERR: address not mapped to object)
pid: 1, tid: 32, address: 0x8, IP: 0x560a28e831c4
Backtrace (recent calls first) ---
(0): bessd(_ZN13WildcardMatch12ProcessBatchEP7ContextPN4bess11PacketBatchE+0x6d4) [0x560a28e831c4]
(1): bessd(_ZNK4TaskclEP7Context+0x10d) [0x560a28c7722d]
(2): bessd(_ZN4bess16DefaultScheduler12ScheduleLoopEv+0x1c8) [0x560a28c737d8]
(3): bessd(_ZN6Worker3RunEPv+0x201) [0x560a28c70031]
(4): bessd(_Z10run_workerPv+0x7c) [0x560a28c7030c]
(5): bessd(+0x1429fde) [0x560a299d6fde]
(6): /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa2) [0x7f76e80c4fa2]
start_thread at ??:?
(7): /lib/x86_64-linux-gnu/libc.so.6(clone+0x3e) [0x7f76e7e534ce]
clone at ??:?

Additional context

Pausing the daemon before inserting works as expected. f589be

git checkout -b hotfix-sim
git revert f589be
@krsna1729 krsna1729 added the bug Something isn't working label May 7, 2021
@amarsri28
Copy link
Contributor

pls log detail steps (with how many sessions this behavior observed, etc)

@krsna1729
Copy link
Member Author

@amarsri28 with default number of sessions - 50K, as well as 5K and 50. I have pasted the steps above itself. Let me know if you need something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants