topscalls_time results in sysdig crash

Open
#2,185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
cpp, lua
Domain
cli

Research direction

Reproduce the crash with sysdig-0.39.0, Lua 5.4.6, and the topscalls_time chisel. Start at /usr/share/sysdig/chisels/common.lua:126 and trace the on_interval() call reported in the error. Done means topscalls_time completes without the table_generator chisel error and produces its syscall timing output.

Written by the indexing model from the issue text.

Description

Hi, I see the following issue with sysdig-0.39.0 and lua-5.4.6

root@phdev [ ~/photon-harness.git/tests/pkgs-tests/sysdig ]# sysdig -c topscalls_time
Time                Syscall
--------------------------------------------------------------------------------
table_generator chisel error: calling on_interval() failed:/usr/share/sysdig/chisels/common.lua:126: bad argument #3 to 'format' (number has no integer representation)

Anyone else hitting this issue?

Dominant language
C++
Stars
8.3k
Forks
753
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from draios/sysdig

All issues in draios/sysdig

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.