ghidra
ghidra copied to clipboard
Ghidra is freezing in welcome view.
Dear ghidra's developper.
Hello. My ghidra is freezing from welcome view. (more than 10 mins...) I could run other PCs but not this one. Do you know hot to solve this or know to find error log?
Best Regards,
What linux distro and window manager is that? Can you attach the results of jstack when its in this bad state?
jstack <pid>
A quick way to get the pid of a running java projcess is with the jps
command.
Hi, ryanmkurtz. Thank you for your reply.
I run my ghidra on docker ubuntu / VCN viewer. I attached a result of jstack and jps.

I'd like to run Ghidra on docker ubuntu because I have many devices and want to run Ghidra on them without any custom.
Thank you for your support.
Regards, Minami
Hi
I restarted my ghidra and jstack (sorry for not text but images...)





Thank you, i see some clues in there. Could you please attach your ~/.ghidra/.ghidra_<version>/application.log
(or screenshots of any error messages/stack traces you see in there)?
Hello. Thank you for your support. I will attach application.log application.log
@usaribbon I took a peek at the log file. There are exceptions in there that should not be possible unless you have modified Ghidra's source code. Have you made any mods to Ghidra's source code? Have you installed an extensions?
Also, have you added any new JVM arguments?
Does a fresh Ghidra 10.1.5 installation work?
@dragonmacher @ryanmkurtz Thank you for you reply. I didn't install any extentions, modify source code and add JCM arguments...
Here is my Dockerfile. I installed ghidra_10.0_PUBLIC_20210621 and Java JDK11.
./gui/Dockerfile
FROM dorowu/ubuntu-desktop-lxde-vnc
RUN mkdir /root/firmusa/
RUN wget https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.0_build/ghidra_10.0_PUBLIC_20210621.zip -O /root/firmusa/ghidra_10.0_PUBLIC_20210621.zip
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN apt-get update && apt-get install -y zip unzip
RUN unzip /root/firmusa/ghidra_10.0_PUBLIC_20210621.zip -d /root/firmusa/
RUN apt-get install -y openjdk-11-jdk openjdk-11-jre make gcc g++
RUN echo 'PATH="$PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin"' >> /root/.bashrc
./docker-compose.yml
version: '3'
services:
ubuntu-gui:
build: ./gui
container_name: 'ubuntu-gui'
tty: true
ports:
- 8080:80
deploy:
resources:
limits:
cpus: 3
memory: 8000M
reservations:
cpus: 2
memory: 4000M
docker-compose build
docker-compose up -d
http://127.0.0.1:8080/
Before I try to recreate your environment, can you please try Ghidra 10.1.5?
Actually I went ahead and recreated your environment with the steps you outlined and I didn't run into any issues:
@ryanmkurtz Tnank you for your feed back. It's surprising... Do you use windows/Mac? I use M1 Mac.
My test was on an x86 Ubuntu 22.04 VirtualBox VM running on a Windows 11 PC.
Are you running Docker under Rosetta 2? Does your container think it's running on x86?
I again used the docker steps you outlined on an M1 and didn't have the issue. I'm not sure what more I can do at this point.
Thank you for you all
Finally I could run Ghidra on my docker. I was able to run these on Windows11 and Ubuntu. Only M1 Mac was fault to run.
Thank you for your support.