Debian Bug report logs - #674201
/usr/bin/qemu-i386: fork() doesn't work

version graph

Package: qemu-user; Maintainer for qemu-user is Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>; Source for qemu-user is src:qemu (PTS, buildd, popcon).

Reported by: Dan Greene <dan-greene@wi.rr.com>

Date: Wed, 23 May 2012 20:09:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version qemu/1.0.1+dfsg-1

Fixed in version 1.6.0+dfsg-1

Done: Michael Tokarev <mjt@tls.msk.ru>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.launchpad.net/qemu/+bug/739785

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#674201; Package qemu-user. (Wed, 23 May 2012 20:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Dan Greene <dan-greene@wi.rr.com>:
New Bug report received and forwarded. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Wed, 23 May 2012 20:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Dan Greene <dan-greene@wi.rr.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/qemu-i386: fork() doesn't work
Date: Wed, 23 May 2012 15:05:55 -0500
Package: qemu-user
Version: 1.0.1+dfsg-1
Severity: normal
File: /usr/bin/qemu-i386

Dear Maintainer,
When using qemu-i386 to run any program that tries to fork, the fork fails,
making many (perhaps most) programs unusable.

Here is an example (host is i386, so no chroot needed):
$ qemu-i386 /bin/bash
$ ls
bash: fork: Invalid argument
$ exit
exit

The expected behavior, of course, would be for ls to actually be executed.

Note that qemu-arm does not exhibit this bug, nor does qemu-i386 system.

(On i386, this bug doesn't hurt the usablility of this package, since it is
easier and faster to just run the program natively. But on other
architectures, this bug is a problem. In particular, one might want, for
example, to run WINE under qemu-i386 since it doesn't work on other
architectures.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemu-user depends on:
ii  libc6         2.13-32
ii  libglib2.0-0  2.32.3-1

qemu-user recommends no packages.

Versions of packages qemu-user suggests:
ii  sudo  1.8.3p2-1

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#674201; Package qemu-user. (Sat, 17 Nov 2012 21:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Sat, 17 Nov 2012 21:51:08 GMT) (full text, mbox, link).


Message #10 received at 674201@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: 674201@bugs.debian.org
Subject: /usr/bin/qemu-i386: fork() doesn't work
Date: Sat, 17 Nov 2012 13:50:02 -0800
I'm seeing the same problem.  There is a patch linked from
https://bugs.launchpad.net/qemu/+bug/739785/comments/32 which is reported to
fix the problem for some people.  The patch is at
http://patchwork.ozlabs.org/patch/45206/

-- 
 - mdz



Set Bug forwarded-to-address to 'https://bugs.launchpad.net/qemu/+bug/739785'. Request was from mjt@tls.msk.ru (Michael Tokarev) to control@bugs.debian.org. (Sun, 18 Nov 2012 07:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#674201; Package qemu-user. (Sun, 18 Nov 2012 13:39:08 GMT) (full text, mbox, link).


Acknowledgement sent to "Justin Shafer" <justinshafer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Sun, 18 Nov 2012 13:39:08 GMT) (full text, mbox, link).


Message #17 received at 674201@bugs.debian.org (full text, mbox, reply):

From: "Justin Shafer" <justinshafer@gmail.com>
To: <674201@bugs.debian.org>
Subject: Wine does run.. sort of
Date: Sun, 18 Nov 2012 07:32:36 -0600
[Message part 1 (text/plain, inline)]
I am trying to get a neobook file to run for olpc under fedora.. Same
problems as Ubuntu.

 

You can get wineserver and wine-pthread to run..

 

Wineserver -d2 -f -p will run, because all the switches are being called is
my guess.. 

 

If you run wine2002 or wine 0.9.20-1.1.14 and forget to call wineserver
first.. you can see that wine gripes about an unexpected character "("
without quotes.

 

My guess is wine is somehow receiving an "invalid argument" because if a
character that is wrong in the command. 

 

No idea why. I can run pinball, solitaire, but I cannot run explorer.exe..
the one built into wine. Even with binfmt. 

 

Right now I am compiling 0.9.20 on slackware 10.0 to see if neobook will run
and then try to copy everything over to arm.. If that doesn't work I am
going to try wine 2002.. It runs without any problems, besides X11.. no
syscalls or anything like that though.

 

 

[Message part 2 (text/html, inline)]

Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Mon, 29 Jul 2013 18:24:07 GMT) (full text, mbox, link).


Reply sent to Michael Tokarev <mjt@tls.msk.ru>:
You have taken responsibility. (Wed, 27 Nov 2013 20:09:22 GMT) (full text, mbox, link).


Notification sent to Dan Greene <dan-greene@wi.rr.com>:
Bug acknowledged by developer. (Wed, 27 Nov 2013 20:09:22 GMT) (full text, mbox, link).


Message #24 received at 674201-done@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: Dan Greene <dan-greene@wi.rr.com>, 674201-done@bugs.debian.org
Subject: Re: Bug#674201: /usr/bin/qemu-i386: fork() doesn't work
Date: Thu, 28 Nov 2013 00:08:43 +0400
Version: 1.6.0+dfsg-1

24.05.2012 00:05, Dan Greene wrote:
> Package: qemu-user
> Version: 1.0.1+dfsg-1
> Severity: normal
> File: /usr/bin/qemu-i386
> 
> Dear Maintainer,
> When using qemu-i386 to run any program that tries to fork, the fork fails,
> making many (perhaps most) programs unusable.
> 
> Here is an example (host is i386, so no chroot needed):
> $ qemu-i386 /bin/bash
> $ ls
> bash: fork: Invalid argument
> $ exit
> exit

This has been finally fixed in 1.6.0 version.  Closing this bugreport now.

Thanks,

/mjt



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 26 Dec 2013 07:25:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 24 19:24:41 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.