Bug 30599 - Stap probe does not terminate on Kernel Version 6.3
Summary: Stap probe does not terminate on Kernel Version 6.3
Status: RESOLVED WORKSFORME
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 20:41 UTC by Housam Alamour
Modified: 2023-07-13 17:31 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Housam Alamour 2023-06-30 20:41:46 UTC
When using fedora kernel version 6.3.6-200.fc38.x86_64, running any SystemTap script with IO will not terminate after Pass 5: starting run unless forced to.  

e.g.  
probe begin
{ print ("hello world\n")
exit () }


Upon downgrading to 6.2.15-300.fc38.x86_64 problem does not appear.
Possibly related to stapio.

Output of ps aux | grep stap
halamour    4241  0.1  0.0      0     0 pts/0    Zl   15:48   0:00 [stapio] <defunct>
halamour    4291  4.0  0.9 542516 300152 pts/0   S+   15:48   0:00 stap -v hello-world.stp
halamour    4292  0.1  0.0      0     0 pts/0    Zl+  15:48   0:00 [stapio] <defunct>
halamour    4358  0.0  0.0 222408  2176 pts/1    S+   15:49   0:00 grep --color=auto stap

Output of lsmod | grep stap
stap_b9eef644af3bff3c851557a1748735a_4292    77824  1
stap_b9eef644af3bff3c851557a1748735a_4241    77824  1
Comment 1 Frank Ch. Eigler 2023-07-13 17:31:13 UTC
Not sure what was the cause of what Housam observed, but this is working fine e.g. on 6.3.8-200.fc38.x86_64 .