Skip to content

Conversation

erikrk
Copy link

@erikrk erikrk commented Sep 1, 2025

  • use strtoul for priority since it is unsigned
  • check for overflow correctly by comparing against ULONG_MAX
  • fail if no digits were consumed or next character is not comma
  • calculate tv.tv_usec correctly in case tv.tv_sec 32-bit
  • remove redundant errno = 0 added in 3254b9a
  • remove erroneous time.h added with 72d9dc8

Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • [N/A] Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [N/A] Run local packaging test showing all targets (including any new ones) build.
  • [N/A] Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • [N/A] Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Summary by CodeRabbit

  • Bug Fixes

    • More robust parsing of priority, sequence, and timestamp fields; rejects malformed lines, enforces delimiters, and drops out-of-range values to prevent misreads.
    • Corrected timestamp handling to avoid microsecond overflow and ensure accurate time conversion.
  • Refactor

    • Stronger input validation and use of wider integer handling for safer, more reliable processing.
  • Chores

    • Removed an unused header include to streamline the build.

Copy link

coderabbitai bot commented Sep 1, 2025

Walkthrough

Reworks kmsg input parsing in plugins/in_kmsg/in_kmsg.c to use unsigned conversions and 64-bit-safe parsing, adds strict consumption/delimiter and ERANGE/errno checks for priority/sequence/timestamp, adjusts timestamp math, adds immediate fail path with buffer rollback, and removes an unused include.

Changes

Cohort / File(s) Summary
Kmsg parser: unsigned parsing & validation
plugins/in_kmsg/in_kmsg.c
Replace signed parsing with unsigned (strtoul/strtoull), add ERANGE/errno and digit-consumption checks, require comma delimiters between fields, use 64-bit-safe timestamp division/modulo (KMSG_USEC_PER_SEC), convert tv_usec→nsec for flb_time_set, adjust message semicolon search, add fail path with ctx->buffer_id--, and remove unused #include <time.h>.

Sequence Diagram(s)

sequenceDiagram
  participant Kernel as Kernel log line
  participant Parser as in_kmsg.c Parser
  participant Buffer as Buffer/State

  Kernel->>Parser: raw kmsg line
  Parser->>Parser: strtoul(priority) -> val
  alt priority parse error (no digits / ERANGE / bad delimiter)
    Parser-->>Buffer: fail (ctx->buffer_id--)
    Parser->>Kernel: discard line
  else valid priority
    Parser->>Parser: FLB_KLOG_PRI(val)
    Parser->>Parser: strtoull(sequence) -> seq_val
    alt sequence parse error
      Parser-->>Buffer: fail (ctx->buffer_id--)
      Parser->>Kernel: discard line
    else valid sequence
      Parser->>Parser: strtoull(timestamp) -> t_val
      alt timestamp parse error
        Parser-->>Buffer: fail (ctx->buffer_id--)
        Parser->>Kernel: discard line
      else valid timestamp
        Parser->>Parser: tv_sec = t_val / KMSG_USEC_PER_SEC
        Parser->>Parser: tv_usec = t_val % KMSG_USEC_PER_SEC
        Parser->>Buffer: commit parsed record
      end
    end
  end
  note right of Parser: strict consumption & delimiter checks added
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • edsiper
  • koleini
  • fujimotos

Poem

I munched the bytes where kernel whispers flow,
counted commas, carrots, and places to go.
Unsigned hops and 64-bit crunch,
if parsing stumbles I backtrack my lunch.
Now logs are tidy — a rabbit’s small glow. 🥕🐇


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ee12e7e and 43b2f30.

📒 Files selected for processing (1)
  • plugins/in_kmsg/in_kmsg.c (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • plugins/in_kmsg/in_kmsg.c
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
plugins/in_kmsg/in_kmsg.c (1)

179-180: tv_usec calc fix is correct; consider simpler modulo form and constant.

Functionally correct and 64-bit safe. For readability/consistency with KMSG_USEC_PER_SEC, modulo is clearer.

Apply:

-    tv.tv_sec  = val/1000000;
-    tv.tv_usec = val - ((uint64_t)tv.tv_sec * 1000000);
+    tv.tv_sec  = val / KMSG_USEC_PER_SEC;
+    tv.tv_usec = val % KMSG_USEC_PER_SEC;
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 1132279 and c1b28df.

📒 Files selected for processing (1)
  • plugins/in_kmsg/in_kmsg.c (3 hunks)
🔇 Additional comments (3)
plugins/in_kmsg/in_kmsg.c (3)

125-130: Good switch to unsigned parsing with correct overflow guard.

Using strtoul for priority with the ULONG_MAX/ERANGE check is correct for an unsigned field.


137-137: Priority derivation from unsigned value looks right.

Mapping via FLB_KLOG_PRI(val) after unsigned parsing aligns with the field semantics.


157-162: Nice: strict sequence parsing with delimiter check.

The end != p and immediate ',' enforcement eliminates ambiguous inputs.

Also applies to: 164-165

* use strtoul for priority since it is unsigned
* check for overflow correctly by comparing against ULONG_MAX
* fail if no digits were consumed or next character is not comma
* calculate tv.tv_usec correctly in case tv.tv_sec 32-bit
* remove redundant errno = 0 added in 3254b9a
* remove erroneous time.h added with 72d9dc8

Signed-off-by: Erik Karlsson <[email protected]>
@erikrk
Copy link
Author

erikrk commented Sep 2, 2025

Pushed a minor change which uses end when searching for semicolon instead of going through the timestamp twice. This is ready now.

@erikrk
Copy link
Author

erikrk commented Sep 3, 2025

Output from test:

erik@erik-ThinkPad-T14-Gen-4:~/fluent-bit/build$ sudo bin/fluent-bit -i kmsg -o stdout -f 1
Fluent Bit v4.1.0
* Copyright (C) 2015-2025 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

______ _                  _    ______ _ _             ___  _____ 
|  ___| |                | |   | ___ (_) |           /   ||  _  |
| |_  | |_   _  ___ _ __ | |_  | |_/ /_| |_  __   __/ /| || |/' |
|  _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| ||  /| |
| |   | | |_| |  __/ | | | |_  | |_/ / | |_   \ V /\___  |\ |_/ /
\_|   |_|\__,_|\___|_| |_|\__| \____/|_|\__|   \_/     |_(_)___/ 


[2025/09/03 11:42:00.590430300] [ info] [fluent bit] version=4.1.0, commit=43b2f30e12, pid=2568974
[2025/09/03 11:42:00.590543662] [ info] [storage] ver=1.5.3, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2025/09/03 11:42:00.590565986] [ info] [simd    ] disabled
[2025/09/03 11:42:00.590576965] [ info] [cmetrics] version=1.0.5
[2025/09/03 11:42:00.590593133] [ info] [ctraces ] version=0.6.6
[2025/09/03 11:42:00.590664407] [ info] [input:kmsg:kmsg.0] initializing
[2025/09/03 11:42:00.590678315] [ info] [input:kmsg:kmsg.0] storage_strategy='memory' (memory only)
[2025/09/03 11:42:00.591028703] [ info] [sp] stream processor started
[2025/09/03 11:42:00.591081373] [ info] [engine] Shutdown Grace Period=5, Shutdown Input Grace Period=2
[2025/09/03 11:42:00.591142848] [ info] [output:stdout:stdout.0] worker #0 started
[0] kmsg.0: [[1756731878.000000000, {}], {"priority"=>5, "sequence"=>0, "sec"=>0, "usec"=>0, "msg"=>"Linux version 6.8.0-78-generic (buildd@lcy02-amd64-071) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 13 14:32:06 UTC 2 (Ubuntu 6.8.0-78.78~22.04.1-generic 6.8.12)"}]
[1] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>1, "sec"=>0, "usec"=>0, "msg"=>"Command line: BOOT_IMAGE=/vmlinuz-6.8.0-78-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7"}]
[2] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>2, "sec"=>0, "usec"=>0, "msg"=>"KERNEL supported cpus:"}]
[3] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>3, "sec"=>0, "usec"=>0, "msg"=>"  Intel GenuineIntel"}]
[4] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>4, "sec"=>0, "usec"=>0, "msg"=>"  AMD AuthenticAMD"}]
[5] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>5, "sec"=>0, "usec"=>0, "msg"=>"  Hygon HygonGenuine"}]
[6] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>6, "sec"=>0, "usec"=>0, "msg"=>"  Centaur CentaurHauls"}]
[7] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>7, "sec"=>0, "usec"=>0, "msg"=>"  zhaoxin   Shanghai  "}]
[8] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>8, "sec"=>0, "usec"=>0, "msg"=>"x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks"}]
[9] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>9, "sec"=>0, "usec"=>0, "msg"=>"BIOS-provided physical RAM map:"}]

[...]

[1318] kmsg.0: [[1756821409.849531000, {}], {"priority"=>4, "sequence"=>1318, "sec"=>89531, "usec"=>849531, "msg"=>"workqueue: acpi_ec_event_processor hogged CPU for >10000us 16 times, consider switching to WQ_UNBOUND"}]
[1319] kmsg.0: [[1756821612.662457000, {}], {"priority"=>6, "sequence"=>1319, "sec"=>89734, "usec"=>662457, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1320] kmsg.0: [[1756872505.274636000, {}], {"priority"=>5, "sequence"=>1320, "sec"=>140627, "usec"=>274636, "msg"=>"audit: type=1400 audit(1756872508.038:130): apparmor="DENIED" operation="open" class="file" profile="ubuntu_pro_esm_cache//apt_methods_gpgv" name="/dev/tty" pid=2467750 comm="apt-key" requested_mask="wr" denied_mask="wr" fsuid=105 ouid=0"}]
[1321] kmsg.0: [[1756872505.420770000, {}], {"priority"=>5, "sequence"=>1321, "sec"=>140627, "usec"=>420770, "msg"=>"audit: type=1400 audit(1756872508.184:131): apparmor="DENIED" operation="open" class="file" profile="ubuntu_pro_esm_cache//apt_methods_gpgv" name="/dev/tty" pid=2467844 comm="apt-key" requested_mask="wr" denied_mask="wr" fsuid=105 ouid=0"}]
[1322] kmsg.0: [[1756872513.702956000, {}], {"priority"=>5, "sequence"=>1322, "sec"=>140635, "usec"=>702956, "msg"=>"audit: type=1326 audit(1756872516.467:132): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=3358 comm="pool-org.gnome." exe="/snap/snap-store/1216/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x78b991f93a9b code=0x50000"}]
[1323] kmsg.0: [[1756880434.944671000, {}], {"priority"=>6, "sequence"=>1323, "sec"=>148556, "usec"=>944671, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1324] kmsg.0: [[1756883741.490008000, {}], {"priority"=>6, "sequence"=>1324, "sec"=>151863, "usec"=>490008, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1325] kmsg.0: [[1756887820.209693000, {}], {"priority"=>6, "sequence"=>1325, "sec"=>155942, "usec"=>209693, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1326] kmsg.0: [[1756889341.664906000, {}], {"priority"=>4, "sequence"=>1326, "sec"=>157463, "usec"=>664906, "msg"=>"process 'fluent-bit/build/bin/fluent-bit' started with executable stack"}]
[1327] kmsg.0: [[1756891913.240665000, {}], {"priority"=>6, "sequence"=>1327, "sec"=>160035, "usec"=>240665, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]

Test with valgrind:

erik@erik-ThinkPad-T14-Gen-4:~/fluent-bit/build$ sudo valgrind bin/fluent-bit -i kmsg -o stdout -f 1
==2569824== Memcheck, a memory error detector
==2569824== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2569824== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==2569824== Command: bin/fluent-bit -i kmsg -o stdout -f 1
==2569824== 
Fluent Bit v4.1.0
* Copyright (C) 2015-2025 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

______ _                  _    ______ _ _             ___  _____ 
|  ___| |                | |   | ___ (_) |           /   ||  _  |
| |_  | |_   _  ___ _ __ | |_  | |_/ /_| |_  __   __/ /| || |/' |
|  _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| ||  /| |
| |   | | |_| |  __/ | | | |_  | |_/ / | |_   \ V /\___  |\ |_/ /
\_|   |_|\__,_|\___|_| |_|\__| \____/|_|\__|   \_/     |_(_)___/ 


[2025/09/03 11:52:25.581556513] [ info] [fluent bit] version=4.1.0, commit=43b2f30e12, pid=2569824
[2025/09/03 11:52:25.627817785] [ info] [storage] ver=1.5.3, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2025/09/03 11:52:25.628533134] [ info] [simd    ] disabled
[2025/09/03 11:52:25.629888605] [ info] [cmetrics] version=1.0.5
[2025/09/03 11:52:25.630218585] [ info] [ctraces ] version=0.6.6
[2025/09/03 11:52:25.644956430] [ info] [input:kmsg:kmsg.0] initializing
[2025/09/03 11:52:25.755983695] [ info] [output:stdout:stdout.0] worker #0 started
[2025/09/03 11:52:25.645723732] [ info] [input:kmsg:kmsg.0] storage_strategy='memory' (memory only)
[2025/09/03 11:52:25.696434477] [ info] [sp] stream processor started
[2025/09/03 11:52:25.699195441] [ info] [engine] Shutdown Grace Period=5, Shutdown Input Grace Period=2
==2569824== Warning: client switching stacks?  SP change: 0x6ef6a98 --> 0x5487a50
==2569824==          to suppress, use: --max-stackframe=27717704 or greater
==2569824== Warning: client switching stacks?  SP change: 0x5487938 --> 0x6ef6a98
==2569824==          to suppress, use: --max-stackframe=27717984 or greater
==2569824== Warning: client switching stacks?  SP change: 0x6ef6a98 --> 0x5487938
==2569824==          to suppress, use: --max-stackframe=27717984 or greater
==2569824==          further instances of this message will not be shown.
[0] kmsg.0: [[1756731878.000000000, {}], {"priority"=>5, "sequence"=>0, "sec"=>0, "usec"=>0, "msg"=>"Linux version 6.8.0-78-generic (buildd@lcy02-amd64-071) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 13 14:32:06 UTC 2 (Ubuntu 6.8.0-78.78~22.04.1-generic 6.8.12)"}]
[1] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>1, "sec"=>0, "usec"=>0, "msg"=>"Command line: BOOT_IMAGE=/vmlinuz-6.8.0-78-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7"}]
[2] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>2, "sec"=>0, "usec"=>0, "msg"=>"KERNEL supported cpus:"}]
[3] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>3, "sec"=>0, "usec"=>0, "msg"=>"  Intel GenuineIntel"}]
[4] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>4, "sec"=>0, "usec"=>0, "msg"=>"  AMD AuthenticAMD"}]
[5] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>5, "sec"=>0, "usec"=>0, "msg"=>"  Hygon HygonGenuine"}]
[6] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>6, "sec"=>0, "usec"=>0, "msg"=>"  Centaur CentaurHauls"}]
[7] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>7, "sec"=>0, "usec"=>0, "msg"=>"  zhaoxin   Shanghai  "}]
[8] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>8, "sec"=>0, "usec"=>0, "msg"=>"x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks"}]
[9] kmsg.0: [[1756731878.000000000, {}], {"priority"=>6, "sequence"=>9, "sec"=>0, "usec"=>0, "msg"=>"BIOS-provided physical RAM map:"}]

[...]

[1318] kmsg.0: [[1756821409.849531000, {}], {"priority"=>4, "sequence"=>1318, "sec"=>89531, "usec"=>849531, "msg"=>"workqueue: acpi_ec_event_processor hogged CPU for >10000us 16 times, consider switching to WQ_UNBOUND"}]
[1319] kmsg.0: [[1756821612.662457000, {}], {"priority"=>6, "sequence"=>1319, "sec"=>89734, "usec"=>662457, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1320] kmsg.0: [[1756872505.274636000, {}], {"priority"=>5, "sequence"=>1320, "sec"=>140627, "usec"=>274636, "msg"=>"audit: type=1400 audit(1756872508.038:130): apparmor="DENIED" operation="open" class="file" profile="ubuntu_pro_esm_cache//apt_methods_gpgv" name="/dev/tty" pid=2467750 comm="apt-key" requested_mask="wr" denied_mask="wr" fsuid=105 ouid=0"}]
[1321] kmsg.0: [[1756872505.420770000, {}], {"priority"=>5, "sequence"=>1321, "sec"=>140627, "usec"=>420770, "msg"=>"audit: type=1400 audit(1756872508.184:131): apparmor="DENIED" operation="open" class="file" profile="ubuntu_pro_esm_cache//apt_methods_gpgv" name="/dev/tty" pid=2467844 comm="apt-key" requested_mask="wr" denied_mask="wr" fsuid=105 ouid=0"}]
[1322] kmsg.0: [[1756872513.702956000, {}], {"priority"=>5, "sequence"=>1322, "sec"=>140635, "usec"=>702956, "msg"=>"audit: type=1326 audit(1756872516.467:132): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=3358 comm="pool-org.gnome." exe="/snap/snap-store/1216/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x78b991f93a9b code=0x50000"}]
[1323] kmsg.0: [[1756880434.944671000, {}], {"priority"=>6, "sequence"=>1323, "sec"=>148556, "usec"=>944671, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1324] kmsg.0: [[1756883741.490008000, {}], {"priority"=>6, "sequence"=>1324, "sec"=>151863, "usec"=>490008, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1325] kmsg.0: [[1756887820.209693000, {}], {"priority"=>6, "sequence"=>1325, "sec"=>155942, "usec"=>209693, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
[1326] kmsg.0: [[1756889341.664906000, {}], {"priority"=>4, "sequence"=>1326, "sec"=>157463, "usec"=>664906, "msg"=>"process 'fluent-bit/build/bin/fluent-bit' started with executable stack"}]
[1327] kmsg.0: [[1756891913.240665000, {}], {"priority"=>6, "sequence"=>1327, "sec"=>160035, "usec"=>240665, "msg"=>"usb 3-3: reset full-speed USB device number 3 using xhci_hcd
 SUBSYSTEM=usb
 DEVICE=c189:258"}]
^C[2025/09/03 11:54:43] [engine] caught signal (SIGINT)
[2025/09/03 11:54:43.804459705] [ warn] [engine] service will shutdown in max 5 seconds
[2025/09/03 11:54:43.806647195] [ info] [engine] pausing all inputs..
[2025/09/03 11:54:44.61883136] [ info] [engine] service has stopped (0 pending tasks)
[2025/09/03 11:54:44.66202947] [ info] [output:stdout:stdout.0] thread worker #0 stopping...
[2025/09/03 11:54:44.75952574] [ info] [output:stdout:stdout.0] thread worker #0 stopped
==2569824== 
==2569824== HEAP SUMMARY:
==2569824==     in use at exit: 0 bytes in 0 blocks
==2569824==   total heap usage: 11,464 allocs, 11,464 frees, 15,584,018 bytes allocated
==2569824== 
==2569824== All heap blocks were freed -- no leaks are possible
==2569824== 
==2569824== For lists of detected and suppressed errors, rerun with: -s
==2569824== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant