Comments (17)
Unfortunely, iaito is using a single core instance from multiple threads, which is conceptually wrong, so now, that r2 is thread safe, iaito fails hard by assuming globals are initialized and uses the mutexes incorrectly too.
I pushed some fixes in r2 and iaito, but its still not yet fully working (but at least is not crashing). But you will need to build r2 without threads to try it out.
radare2$ sys/install.sh --disable-threads
from iaito.
Yep that's expected because Iaito is far from thread safe.
I dont think i can cook the needed apis before 5.7. I will update and release a new iaito when this is ready.
from iaito.
Ignore the last edit after restarting it worked. With the master branch decompiler still doesn't work though, but version 5.5 was looking fine, thanks for your help!
from iaito.
The missing operands is fixed in master. What should we do to fix the kf5 issue?
from iaito.
Thanks for the quick reply and I understand that as an open source project things might not always be working out right away. I actually just wanted to try iaito out, to see how different it is from command line r2 and got confused because I couldn't find an issue, so no worries
from iaito.
So I was able to run it once, trying to open decompiler crashed it though (maybe r2ghidra?). Now when I try to open it again (make run or in /Applicatons) I get:
rarun2 libpath=/usr/local/lib program=build/iaito.app/Contents/MacOS/iaito
QCommandLineParser: already having an option named "w"
make: *** [run] Killed: 9
Strange thing is when I run it via lldb it crashes but still opens. And decompiler doesn't crash, but it loads forever
from iaito.
Did you git pull r2 and iaito and compiled r2 without threads? Otherwise if your purpose is to try it out i would recommend you to build r2-5.4 or 5.5 which didnt had thread safety magic yet
from iaito.
Yeah I pulled latest master branch from both and build as per your instruction. But I can try tomorrow again (and use your suggestion)
So tried it again and it doesn't open at all now and I just get make: *** [run] Killed: 9
in terminal.
Also I noticed that it's actually radare2 crashing now, more specifically the r2 binary
from iaito.
499 R_API void r_cons_sleep_end(void *user) {
Same issue on Fedora Linux with the r2 5.6.0 release .
Workaround with disabling threads works there as well
(radare2-5a7ffe4c0a71794fbb0b945d52065c7c11d1eec2 + iaito-28a1099603b3fa671bfbb226025d1a8c45558471,
meson ... -Dwant_threads=false )
from iaito.
Seems that -Dwant_threads=false is gone from radare2 5.6.4 ... did anything change regarding compiling iaito with recent radare2 versions?
from iaito.
Sorry - my fault - it is working with radare2 5.6.4
from iaito.
Is the disasm issue (only showing instruction without arguments) still happening?
from iaito.
Yes unfortunately issue with not showing the arguments is still there.
And BTW there are some comming issues with the recent update of kf5 from 5.90 to 5.91 kf5-syntax-highlighting-devel stopped advertising include dir /usr/include/KF5
https://bugzilla.redhat.com/show_bug.cgi?id=2059619
from iaito.
OK operands fixed in master.
For #70 KF5 5.91 I am adding include for /usr/include/KF5 when compiling with syntax highlighting. Probably not a best solution, but works for now.
from iaito.
I believe this incident can be closed - please @Maxung can you confirm for the MacOS side?
from iaito.
Currently getting this, I'll try tomorrow on my other Mac to see if it's environment problem on my side:
Kyouko:~/iaito (master %) % make
mkdir -p build
cd build && /opt/homebrew/bin/qmake ../src/Iaito.pro
Info: creating stash file /Users/max/iaito/build/.qmake.stash
Project ERROR: failed to parse default search paths from compiler output
make: *** [build] Error 3
from iaito.
Ok tested on a pretty fresh system (macOS 12.2) and building + running just fine. Only thing is that the decompiler (pdc) is still loading forever, but I think that might be a separate issue
from iaito.
Related Issues (20)
- Unable to run iaito on WSL Ubuntu 20.04 HOT 5
- The action CI compile release job just skip HOT 7
- Debian release packages lack dependency information HOT 10
- Highlight Decompilation HOT 2
- iaito crashes on Mac when opening file selector HOT 8
- Segmentation fault HOT 15
- Add full proper terminal widget
- Makefile ignores `-j` on Linux HOT 6
- 8b48ce96e1ff74c27381817d2b49f86b1e685cf7 broke linux build HOT 7
- Iaito show string "%#010I64x" instead addresses HOT 5
- make HOT 4
- mcore HOT 1
- GUI crashes after "cannot load file HOT 1
- Merge Conflict Text in appbundle_embed_python.sh HOT 3
- Termux compatability HOT 1
- Project saving doesn't work (on windows) HOT 17
- Add arm64 .dmg to the list of releases HOT 2
- iaito_5.9.2_m1.dmg is not working HOT 11
- On arch, have to hit ^C 4 times or the GUI never opens HOT 9
- Debugging hangs
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 iaito.