Comments (2)
It seems like something is causing a segfault in the daemon process. Running the daemon by hand:
/Applications/Odourless.app/Contents/Resources/bin $ sudo ./odourless-daemon
[1] 32272 trace trap sudo ./odourless-daemon
and in a debugger:
/Applications/Odourless.app/Contents/Resources/bin $ lldb odourless-daemon
(lldb) target create "odourless-daemon"
b main
Current executable set to '/Applications/Odourless.app/Contents/Resources/bin/odourless-daemon' (arm64e).
(lldb) b main
Breakpoint 1: 22 locations.
(lldb) r
Process 32227 launched: '/Applications/Odourless.app/Contents/Resources/bin/odourless-daemon' (arm64e)
Process 32227 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x0000000100008e88 odourless-daemon`main
odourless-daemon`main:
-> 0x100008e88 <+0>: pacibsp
0x100008e8c <+4>: sub sp, sp, #0x1a0 ; =0x1a0
0x100008e90 <+8>: stp x28, x27, [sp, #0x180]
0x100008e94 <+12>: stp x29, x30, [sp, #0x190]
Target 0: (odourless-daemon) stopped.
(lldb) n
Process 32227 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = instruction step over
frame #0: 0x0000000100008e8c odourless-daemon`main + 4
odourless-daemon`main:
-> 0x100008e8c <+4>: sub sp, sp, #0x1a0 ; =0x1a0
0x100008e90 <+8>: stp x28, x27, [sp, #0x180]
0x100008e94 <+12>: stp x29, x30, [sp, #0x190]
0x100008e98 <+16>: add x29, sp, #0x190 ; =0x190
Target 0: (odourless-daemon) stopped.
... (next instruction) multiple times ...
(lldb)
Process 32227 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = instruction step over
frame #0: 0x0000000100008ed4 odourless-daemon`main + 76
odourless-daemon`main:
-> 0x100008ed4 <+76>: bl 0x10000b1f8 ; Log::init(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
0x100008ed8 <+80>: sub x0, x29, #0x38 ; =0x38
0x100008edc <+84>: bl 0x1002d86cc ; ___lldb_unnamed_symbol6485$$odourless-daemon
0x100008ee0 <+88>: bl 0x1002dcfd8 ; symbol stub for: getuid
Target 0: (odourless-daemon) stopped.
(lldb)
Process 32227 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2000010051c840)
Note: Possible pointer authentication failure detected.
Found value that failed to authenticate at address=0x10051c840.
frame #0: 0x000000010000d32c odourless-daemon`___lldb_unnamed_symbol284$$odourless-daemon + 60
odourless-daemon`___lldb_unnamed_symbol284$$odourless-daemon:
-> 0x10000d32c <+60>: brk #0xc472
0x10000d330 <+64>: add x9, x16, #0x38 ; =0x38
0x10000d334 <+68>: ldr x8, [x16, #0x38]
0x10000d338 <+72>: mov x17, x9
Target 0: (odourless-daemon) stopped.
(lldb) ^D
The log file at /usr/local/var/.odourless_cage/daemon.log
is never created.
from odourless.
duplicated #6
from odourless.
Related Issues (10)
- Can you prevent "._xxx" files? HOT 1
- Problems with Odourless Installation HOT 12
- Odourless 0.0.6 installed and crash HOT 15
- inject failed, Unable to bind, “_fstat$INODE64” not found in “/usr/lib/libSystem.B.dylib” HOT 26
- m1运行不了 HOT 1
- [建议] 能否采用xattr 临时关闭sip的方式 而不是永久关闭SIP? HOT 1
- Take my money! HOT 1
- Incompatible with TotalFinder 1.14.1 HOT 11
- Is it possible of supporting macOS 12 Monterey or newer version. HOT 3
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 odourless.