aqemu icon indicating copy to clipboard operation
aqemu copied to clipboard

doesn't start

Open Louis2747 opened this issue 4 years ago • 16 comments

when i try to start it from the gui app starter thing nothing happens and when i do

aqemu

in bash this appears:

AQEMU Warning [2] >>> Sender: bool Emulator::Load( const QString &path ) Message: No "qemu-system-ppcemb" element! Segmentation fault (core dumped)

Louis2747 avatar Mar 23 '20 16:03 Louis2747

hi @Louis2747 , check that qemu is fully installed and working , depending on your linux distribution you can find the binaries in /usr/bin/ ; in this case it seems that qemu-system-ppc is missing. again it depends on your distribution, (arch in my case) the following binary qemu-system-ppc is under qemu-arch-extra package for multi architecture support, try searching for similar package in the official repos or compile from source.

g-h-97 avatar Apr 02 '20 19:04 g-h-97

Lack of other architectures is just a warning, you don't really need qemu-arch-extra. Using stable aqemu, rather than aqemu-git, did the trick instead.

mirh avatar Apr 21 '20 12:04 mirh

I'm having the same error message whether i'm using aqemu or aqemu-git.

This is the Segmentation fault trace:

AQEMU Warning [16] >>>
Sender: bool Emulator::Load( const QString &path )
Message: No "qemu-system-sparc64" element!

Thread 1 "aqemu" received signal SIGSEGV, Segmentation fault.
0x00007ffff7732789 in QWidget::raise() () from /usr/lib/libQt5Widgets.so.5
(gdb) backtrace
#0  0x00007ffff7732789 in QWidget::raise() () from /usr/lib/libQt5Widgets.so.5
#1  0x00005555557ba6fe in Ui_Main_Window::setupUi(QMainWindow*) ()
#2  0x0000555555795421 in Main_Window::Main_Window(QWidget*) ()
#3  0x0000555555792090 in AQEMU_Main::main_window() ()
#4  0x0000555555791a11 in AQEMU_Main::main(int, char**) ()
#5  0x0000555555794f59 in main ()
(gdb) 

akaessens avatar Apr 22 '20 09:04 akaessens

Mhh.. try to clean the settings file?

mirh avatar Apr 22 '20 10:04 mirh

i already deleted the ~/.config/aqemu folder but that did not do the trick for me.

akaessens avatar Apr 22 '20 11:04 akaessens

This fixed my issue:

modifying build/aqemu_autogen/include/ui_Main_Window.h in line 1028

/*widget2->raise();*/

Is this a problem in the Qt5 UI generator?

akaessens avatar Apr 22 '20 11:04 akaessens

Kinda more likely in the Main_Window.ui file right behind it..

What if you try this fork? It has some UTF8, lack of VLAN and qt fixes

mirh avatar Apr 22 '20 13:04 mirh

Kinda more likely in the Main_Window.ui file right behind it..

What if you try this fork? It has some UTF8, lack of VLAN and qt fixes

This fork (v0.9.4) works for me without any problems, thank you very much.

akaessens avatar Apr 23 '20 06:04 akaessens

@akaessens Just to document this issue better, what Qt versions were you running when you hit on that bug?

tobimensch avatar May 01 '20 07:05 tobimensch

Like just what version of qt i have installed? if so 5.14.2 i also have 4.8.7-29.1 (When i wrote this comment i didn't realize the comment i was replying to was directed at somebody else)

Louis2747 avatar May 01 '20 07:05 Louis2747

Like just what version of qt i have installed? if so 5.14.2 i also have 4.8.7-29.1

Yes 5.14.2 for me, too

akaessens avatar May 01 '20 09:05 akaessens

same bug for me, seg Fault on startup, removing the config files, doesn't fix the bug

I use 5.14.2 too

https://github.com/tobimensch/aqemu/issues/72#issuecomment-617728533 fixes the crash for me

Please also apply: https://github.com/kpengboy/aqemu/commit/aed251fb7546d2986e0a2b1d3c01dcc462069865

puchu avatar May 17 '20 20:05 puchu

the same error. delete all settings and run aqemu https://paste.ubuntu.com/p/B52k3V4HNq/ after search qemu get AQEMU Error [7] [8] [13] then click Finish and rest log Calculate Linux (gentoo based) app-emulation/qemu 4.2.0-r6 installed i build with meson, so i can't use #72 (comment) fixes

johndoe71rus avatar Jun 05 '20 07:06 johndoe71rus

The bug hit me again now. And the craziest shit is that while deleting ~/.config/aqemu/ did indeed solve the issue.. Restoring the folder back did not bring back the problem.

mirh avatar Jun 28 '20 11:06 mirh

Happens to me with qt 5.15

odinu avatar Aug 09 '20 12:08 odinu

I have same problem on FreeBSD Unix 13-CURRENT.

dchmelik avatar Aug 30 '20 03:08 dchmelik