I start dosemu up and it asks me to press ENTER. When I do, it dies crying: /usr/bin/dosemu: line 386: 4657 Segmentation fault $BINARY $MAINARGS "${par[@]}" 2>$LOG this happens both in terminal and in konsole. xdosemu has the same problem, at the same line. Unfortunately I haven't enough shell-scripting skills to debug this stuff, and strace doesn't help. Reproducible: Always Steps to Reproduce: 1. $ dosemu Actual Results: BOOM! Expected Results: C:\> Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv gdbm berkdb slang readline arts bonobo svga ggi java guile postgres X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis qt kde motif opengl alsa canna cdr cjk dga directfb dvd fbcon gd -gnome gphoto2 gtk gtk2 ipv6 -ldap maildir mbox mysql nas pic ruby samba scanner tiff zlib flash innodb perl snmp tcltk tetex freetype" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
run strace dosemu and attach the output please
Created attachment 9983 [details] boot.log, could be interesting...
Created attachment 9984 [details] output ot strace -f dosemu
i'm not too sure which version of dosemu you're using. can you try dosemu-1.1.4.15 that is now in portage and see if it still segfaults? if it does, could you try lowering your CFLAGS optimisation, like -O2 ?
reassigning. you could probably close this if you want because there doesn't seem to be any more activity from the reporter.
To the reporter: Do you still have this problem? If yes, could you please try if it still occurs in dosemu 1.1.5, which has been added to portage recently? If I don't hear from you, I'll close this bug.
I still have problems. Not the problem I described before (that one fixed itself up), because now dosemu starts itself quite fine. But it freezes after the press-F5-to-skip-autoexec line. It just stops responding. I guess my dosemu binaries just ain't lucky... :( Do what you like: close this bug, open another, leave it as is...
Matteo: Does this still happen with version 1.1.5?
Matteo: is your problem probably the same as described in bug 19574 and in some comments of bug 17849?
No, it's very different since this one is a runtime problem, the others seem to be ebuild-related bugs. Ah, by the way... it changed again! (That's driving me MAD!) Now it freezes (eating up most of CPU) after the FreeDOS kernel banner. I'm sorry I haven't replied to comment #8, I must have missed it. I upgraded dosemu to the unstable version and the problem persists. The only difference is that, after the kernel banner, I read: C: HD1 Pri:1 CHS= 0-1-1 start = 0MB,size = 392 ...and then, silence.
It printed: "ERROR: general protection at 0xbe1c0: 0" and crashed. Just few times: I cannot reproduce that reliably.
can you retry with the latest version 1.1.99.1?
I'm still having more luck on unstable versions of DosEMU (1.1.5-r1 won't compile)... Anyway, 1.1.99.1 works great! :) Way to go! I don't know what to do with this bug, but I think I'll change it to FIXED since just a few people seem to be experiencing it and there's an easy workaround. Change it back if you think that's wrong. Thank you, bug-hunters! ;)