public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: jankomEarthlink <janosk@earthlink.net>
To: Frantisek Hanzlik <franta@hanzlici.cz>, linux-msdos@vger.kernel.org
Subject: Re: Problem with dosemu
Date: Mon, 21 Apr 2014 22:31:11 -0400	[thread overview]
Message-ID: <5355D46F.7040309@earthlink.net> (raw)
In-Reply-To: <53557D37.8000007@hanzlici.cz>

Thank you, Franta, for getting back to this problem. In the meantime I 
ran strace and googled the issue and saw some bug reports on this 
segmentation fault. Here is the last part of the strace listing. (Btw., 
I'll try your rpm tomorrow, it is getting late here, and I have to clean 
up my system again before I install your rpm, and will let you know if 
it worked).

[apu@Andraslinux ~]$ strace dosemu
...
write(3, "PKT: Cannot open raw sockets: Pe"..., 48) = 48
statfs("/dev/shm/", {f_type=0x1021994, f_bsize=4096, f_blocks=129447, 
f_bfree=129447, f_bavail=129447, f_files=129447, f_ffree=129446, 
f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
futex(0xd79258, FUTEX_WAKE, 2147483647) = 0
open("/dev/shm/dosemu_3778", O_RDWR|O_CREAT|O_TRUNC|O_NOFOLLOW, 0600) = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
unlink("/dev/shm/dosemu_3778")          = 0
ftruncate64(4, 0)                       = 0
ftruncate64(4, 17891328)                = 0
mmap2(NULL, 17891328, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0xb6bbb000
mprotect(0xb6bbb000, 17891328, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xb6bbb000, 17891328, PROT_READ|PROT_WRITE) = 0
mprotect(0xb6bbb000, 1114112, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 1114112, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_SHARED|MAP_FIXED, 4, 0) = 0
mprotect(0, 655360, PROT_NONE)          = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

There is also an error just before the raw socket message about not 
finding libc.mo file for messages in locale, but I don't think it is 
important. Interestingly, there is such a file in my /user/share/locale/ 
directories in many languages, including en_GB, but not in plain en.

I think the problem is with the mmap, mprotect stuff.

I hope this helps the developers.

Janos


On 04/21/2014 04:19 PM, Frantisek Hanzlik wrote:
> Hi Janos, this reminded me of something similar that I have met cca 
> three years ago. You can try to find my thread "same distro, svn1999 
> DOSEMU crashes on some PCs on SEGV, on others run fine" from 
> 12/13/2010 in dosemu-users list - this was on Fedora 14, but this may 
> be same problem which you see now on Fedora 3. But something better - 
> I managed to compile almost last dosemu devel version on Fedora 3 
> i686, and this work well at me machine, both in console and under X 
> (also both in terminal mode 'dosemu -t' and with native X (xdosemu). 
> Because there was lots things corrected and improved, maybe it will 
> run on Your system too. There is only one particularity: after 
> installing RPM and first dosemu run must be copied kernel.sys to C:\ 
> drive: cp /usr/share/dosemu/drive_z/kernel.sys ~/.dosemu/drives/c/ You 
> can download RPM and SRPM package at: 
> http://www.hanzlici.cz/packages/fedora/dosemu/fc3/dosemu-1.4.0.8-git621.g431face.3.dbgemu.fc3.i686.rpm 
> http://www.hanzlici.cz/packages/fedora/dosemu/fc3/dosemu-1.4.0.8-git621.g431face.3.dbgemu.fc3.src.rpm 
> Good luck, Franta Hanzlik 


  reply	other threads:[~2014-04-22  2:31 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  2:32 Problem with dosemu jankomEarthlink
2014-03-30 18:49 ` Frantisek Hanzlik
2014-03-30 23:22   ` jankomEarthlink
2014-03-31  7:31     ` Frantisek Hanzlik
2014-04-14 15:26       ` jankomEarthlink
2014-04-14 22:22         ` Frantisek Hanzlik
2014-04-15  2:24           ` jankomEarthlink
2014-04-21 20:19             ` Frantisek Hanzlik
2014-04-22  2:31               ` jankomEarthlink [this message]
2014-04-22  3:08                 ` Jegunn
2014-04-23  3:25                   ` jankomEarthlink
2014-04-23 11:38                     ` Jegunn
2014-04-22 22:10                 ` Frantisek Hanzlik
     [not found]                   ` <5357347D.1010401@earthlink.net>
2014-04-23  7:06                     ` Frantisek Hanzlik
2014-04-23 19:08                       ` jankomEarthlink
2014-05-04 11:20                         ` Frantisek Hanzlik
2014-05-05  1:57                           ` jankomEarthlink
2014-05-05  8:46                             ` Frantisek Hanzlik
  -- strict thread matches above, loose matches on Subject: below --
2014-04-16 19:52 jankomEarthlink
2014-04-15 21:52 Janos G. Komaromi
2014-04-16  0:47 ` Ivan Baldo
2014-04-16 14:52   ` jankomEarthlink
2014-04-15  3:02 jankomEarthlink
2014-03-25 22:51 jankomEarthlink
2014-03-25 23:35 ` Ivan Baldo
2014-03-25 23:38 ` Frank Cox
2003-08-29 14:06 Problem with DOSEMU scroowhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5355D46F.7040309@earthlink.net \
    --to=janosk@earthlink.net \
    --cc=franta@hanzlici.cz \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox