Questions tagged [strace]

It is a diagnostic, debugging and instructional userspace utility for Linux.

17 questions
6
votes
4 answers

Process hangs before termination with ubuntu 18.04

When using ABAQUS 6.14 (but also ABAQUS 2018) on ubuntu 18.04 everything seems to work fine except the termination of the standard process (the process started when performing an implicit analysis -- if you are not familiar with this it doesn't…
David
  • 393
  • 1
  • 6
  • 25
5
votes
1 answer

Gnome Shell and high cpu usage

I am running ubuntu 18.04 on a old(ish) laptop, it's a hp dv7 6180sl with upgraded ram (16gb) and SSD. It's old but still fast enough for my job. Since a few ubuntu versions (I always do a complete reinstall at every release, so I'm not coming from…
ToX 82
  • 401
4
votes
1 answer

How to 'strace' a systemd service on startup?

I'm working on an embedded system running a stripped down version of Ubuntu 22.04. We've recently updated some hardware in the embedded system and I'm working on getting our Ubuntu image working on the new hardware. On the old hardware the…
Gogeta70
  • 477
  • 5
  • 11
2
votes
1 answer

Python not finding file that exists

Python (3.5) is not finding a file that is in a directory and I am trying to figure out where to put it. Here is the error I get: Traceback (most recent call last): File "/home/rik/Pillow/faces.py", line 35, in from PIL import Image …
Rik
  • 489
1
vote
1 answer

Order of files being created when installing Firefox

I would like to find out what file operations are carried out when installing Firefox with apt-get. In particular, is main executable created before other files that are needed to use the browser as intended. How should I go about this?
ArekBulski
  • 1,201
1
vote
1 answer

Bluetooth choking

I had turned bluetooth off in the system settings, but top still showed it using 100% of CPU and strace shows a ton of lines like: poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,…
Amanda
  • 9,723
1
vote
0 answers

Debugging a binary inside a snap

I am trying to run a binary that's from a snap through strace to debug its workings. Because the executable is accessed via /snap/bin/prog which is symlinked to /usr/bin/snap I will only see snap's system calls, not the program's. How can I go about…
Bram
  • 3,699
1
vote
1 answer

apt install graphviz failing with segmentation fault

Trying to install the graphviz library and am seeing this: mtaylor@galaxy:~/tmp/apt-strace-output$ sudo apt install -y graphviz Reading package lists... Done Building dependency tree Reading state information... Done graphviz is already the…
0
votes
1 answer

Linux Call Trace

I'm currently facing an issue where in the boot sequence the computer stops booting. This occurs randomly! It always gets stuck on the same place (below). I can't really understand what this is telling me. Anyone have an idea how i might fix this…
0
votes
1 answer

Ubuntu Studio Discover Strace bug report

I have a bug on Discover app under Ubuntu Studio, it fails to display the window but the application runs backwards. Some others have the same issue and I find that using the "strace plasma-discover" command line solve the problem on my computer.…
0
votes
1 answer

How did dpkg -i code*.deb add a sources list to apt? (reading strace output)

I wanted to find out if installing vscode from the downloadable .deb file (on Linux) would also add the repository to /etc/apt/sources.list.d. I ran sudo strace dpkg -i code_1.89.1-1715060508_amd64.deb > /tmp/codeinstall 2>&1 to look at all the…
perpetual
  • 109
0
votes
0 answers

Need to debug postfix service for slow bootup

I had slow bootup recently and found using systemd-analyze that postfix-service is taking almost 25 s to start, critical-chain told me it was specifically postfix@-service. PS: I also do not know what is postfix@ Upon using journalctrl -u…
0
votes
1 answer

strace, netstat or tcpdump to identify unknown network activity and program

I've been trying to uncover the origin of some network calls, specifically to ip addresss associated with bc.googleusercontent.com I'm a bit curious why this network activity only happens when using Firefox and from what I've read…
0
votes
1 answer

Extract one column of strace -c

I am trying to get the system call names for common commands and don't have list of commands. Do you have any idea how can I get list of system calls for some commands. Finally I tried to do such thing manually for each command. I run strace -c ls…
0
votes
0 answers

How to get list of .so that python script use?

For example I run python3 my_script.py, my_script.py uses tensorflow package inside, that use cuda libs, how can I get list of .so libs that are loaded at script execution? UPDATE: strace -e trace=open python3 my_script.py don't print .so files,…
mrgloom
  • 900
1
2