Comments (6)
Thanks for the info guys, I will take a look into this odd behaviour. Hopefully it's an easy fix.
from ox.
dtruss
output attached here if it helps:
SYSCALL(args) = return
open("/dev/dtracehelper\0", 0x2, 0xFFFFFFFFE90AFC40) = 3 0
ioctl(0x3, 0x80086804, 0x7FFEE90AFB50) = 0 0
close(0x3) = 0 0
mprotect(0x106CD7000, 0x28000, 0x1) = 0 0
access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1 2
bsdthread_register(0x7FFF73AFDB7C, 0x7FFF73AFDB68, 0x2000) = 1073742047 0
sysctlbyname(kern.bootargs, 0xD, 0x7FFEE90AED00, 0x7FFEE90AECF0, 0x0) = 0 0
ioctl(0x2, 0x4004667A, 0x7FFEE90AEF74) = 0 0
mprotect(0x106D57000, 0x1000, 0x0) = 0 0
mprotect(0x106D5E000, 0x1000, 0x0) = 0 0
mprotect(0x106D5F000, 0x1000, 0x0) = 0 0
mprotect(0x106D66000, 0x1000, 0x0) = 0 0
mprotect(0x106D55000, 0x90, 0x1) = 0 0
mprotect(0x106D67000, 0x1000, 0x1) = 0 0
mprotect(0x106D55000, 0x90, 0x3) = 0 0
mprotect(0x106D55000, 0x90, 0x1) = 0 0
issetugid(0x0, 0x0, 0x0) = 0 0
getentropy(0x7FFEE90AE540, 0x20, 0x0) = 0 0
getentropy(0x7FFEE90AE590, 0x40, 0x0) = 0 0
getpid(0x0, 0x0, 0x0) = 19514 0
stat64("/AppleInternal\0", 0x7FFEE90AF170, 0x0) = -1 2
csops_audittoken(0x4C3A, 0x7, 0x7FFEE90AECC0) = -1 22
proc_info(0x2, 0x4C3A, 0xD) = 64 0
csops_audittoken(0x4C3A, 0x7, 0x7FFEE90AE540) = -1 22
fcntl(0x0, 0x1, 0xFFFFFFFFE90B0820) = 0 0
fcntl(0x1, 0x1, 0x0) = 0 0
fcntl(0x2, 0x1, 0x0) = 0 0
sigaction(0xD, 0x7FFEE90B0748, 0x7FFEE90B0770) = 0 0
dtrace: error on enabled probe ID 2210 (ID 572: syscall::sysctl:return): invalid kernel access in action #10 at DIF offset 28
getrlimit(0x1003, 0x7FFEE90B0768, 0x0) = 0 0
mmap(0x7FFEE88B1000, 0x1000, 0x3, 0x1012, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x7FFEE88B1000 0
mprotect(0x7FFEE88B1000, 0x1000, 0x0) = 0 0
sigaction(0xB, 0x0, 0x7FFEE90B07A0) = 0 0
sigaction(0xB, 0x7FFEE90B0778, 0x0) = 0 0
sigaction(0xA, 0x0, 0x7FFEE90B07A0) = 0 0
sigaction(0xA, 0x7FFEE90B0778, 0x0) = 0 0
sigaltstack(0x0, 0x7FFEE90B0770, 0x0) = 0 0
mmap(0x0, 0x21000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x106D68000 0
mprotect(0x106D68000, 0x1000, 0x0) = 0 0
sigaltstack(0x7FFEE90B0770, 0x0, 0x0) = 0 0
getentropy(0x7FFEE90AF120, 0x10, 0x0) = 0 0
open("/Users/ldhieu/Library/Application Support/ox/ox.ron\0", 0x1000000, 0x1B6) = -1 2
open("README.txt\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEE90AEE10, 0x0) = 0 0
dtrace: error on enabled probe ID 2186 (ID 174: syscall::read:return): invalid kernel access in action #12 at DIF offset 68
dtrace: error on enabled probe ID 2186 (ID 174: syscall::read:return): invalid kernel access in action #12 at DIF offset 68
close_nocancel(0x3) = 0 0
ioctl(0x1, 0x40087468, 0x7FFEE90AF910) = 0 0
ioctl(0x1, 0x40487413, 0x7FFEE90AF910) = 0 0
ioctl(0x1, 0x80487414, 0x7FFEE90AF590) = 0 0
bsdthread_create(0x106C7B2C0, 0x7FF2E8433150, 0x700008522000) = 139599872 0
thread_selfid(0x0, 0x0, 0x0) = 509597 0
sigaltstack(0x0, 0x700008521F40, 0x0) = 0 0
mmap(0x0, 0x21000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x106D89000 0
mprotect(0x106D89000, 0x1000, 0x0) = 0 0
sigaltstack(0x700008521F40, 0x0, 0x0) = 0 0
open("/dev/tty\0", 0x1000002, 0x1B6) = 3 0
madvise(0x7FF2E8600000, 0x10000, 0x9) = 0 0
madvise(0x7FF2E8611000, 0x100000, 0x9) = 0 0
it hangs here
If I do kill -9
on the dtruss
process (so that ox continues), it outputs this repeatedly
read(0x3, "\0", 0x1) = -1 5
alongside some intermittent
dtrace: 307632 dynamic variable drops with non-empty dirty list
and
read(0x3, "\0", 0x1) = -1 mprotect5
from ox.
Had the same issue opening a terraform file on WSL2 Ubuntu, see #53.
from ox.
Looking forward to using it Ox and provide more feedback :)
from ox.
I have now concluded that the reason is 100% because of the dos line endings. I will work on fixing this immediately.
from ox.
Fixed in 0.2.7
from ox.
Related Issues (20)
- Index out of bounds error HOT 6
- AUR formula out of date HOT 1
- Page Up/ Page Down don't move to the start/end of the document as stated in the README HOT 3
- Why the unnecessary wrapping of Option around some return types? HOT 1
- Why the unnecessary wrapping of Option around some return types? HOT 2
- It can't recognize AltGr+Key (Windows 10, x64) HOT 1
- Please update the brew formulae HOT 1
- GLIBC_2.32 missing HOT 4
- Built-in help inaccessible with non-US keyboard
- Backspace and Delete not working HOT 3
- Outputing editors state for discord rpc HOT 2
- YAML syntax highlighting support HOT 2
- Some questions regarding this project? HOT 7
- To Tab, or not to Tab? HOT 1
- Keep cursor's position
- Windows support? HOT 3
- Path completions/suggestions when opening files HOT 1
- Default theme HOT 2
- [Windows] The system cannot find the path specified. HOT 4
- Homebrew incorrect version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox.