Debian Bug report logs - #380508
libsdl1.2debian: dosbox doesn't start due to invalid free

version graph

Package: libsdl1.2debian-alsa; Maintainer for libsdl1.2debian-alsa is (unknown);

Reported by: Jiří Paleček <jpalecek@web.de>

Date: Sun, 30 Jul 2006 16:48:24 UTC

Severity: important

Tags: patch

Merged with 401950

Fixed in version libsdl1.2/1.2.11-8

Done: Sam Hocevar (Debian packages) <sam+deb@zoy.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Peter Veenstra <spiru@fmf.nl>:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Jiří Paleček <jpalecek@web.de>:
New Bug report received and forwarded. Copy sent to Peter Veenstra <spiru@fmf.nl>. (full text, mbox, link).


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

From: Jiří Paleček <jpalecek@web.de>
To: "submit@bugs.debian.org" <submit@bugs.debian.org>
Subject: dosbox: doesn't start due to invalid free
Date: Sun, 30 Jul 2006 18:44:42 +0200
Package: dosbox
Version: 0.63-2.2
Severity: important

Hello,

dosbox fails to load because of freeing unallocated
memory, which causes a crash. Also, if run under
valgrind which allows it to continue, it does
not process any keystrokes.

The valgrind output is attached.

Regards
   Jiri Palecek


-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.3
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-2) (ignored: LC_ALL set to  
cs_CZ)

Versions of packages dosbox depends on:
ii  libasound2                  1.0.11-3     ALSA library
ii  libc6                       2.3.6-15     GNU C Library: Shared  
libraries
ii  libgcc1                     1:4.1.1-5    GCC support library
ii  libgl1-mesa-glx [libgl1]    6.4.2-1      A free implementation of the  
OpenG
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libsdl-net1.2               1.2.5-7      network library for Simple  
DirectM
ii  libsdl-sound1.2             1.0.1-9+b1   Decoder of several sound file  
form
ii  libsdl1.2debian             1.2.10-3     Simple DirectMedia Layer
ii  libstdc++6                  4.1.1-5      The GNU Standard C++ Library  
v3
ii  zlib1g                      1:1.2.3-11   compression library - runtime

dosbox recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Peter Veenstra <spiru@fmf.nl>:
Extra info received and forwarded to list. (full text, mbox, link).


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

From: Peter Veenstra <spiru@fmf.nl>
To: Jiří Paleček <jpalecek@web.de>, 380508@bugs.debian.org
Subject: Re: Bug#380508: dosbox: doesn't start due to invalid free
Date: Fri, 4 Aug 2006 11:09:22 +0200 (CEST)
Could you try 0.65-1, maybe the problem is fixed there.

There is something wrong with the attachment (It is missing)

Best regards,
 Peter Veenstra



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Veenstra <spiru@fmf.nl>:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Jiří Paleček <jpalecek@web.de>:
Extra info received and forwarded to list. Copy sent to Peter Veenstra <spiru@fmf.nl>. (full text, mbox, link).


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

From: Jiří Paleček <jpalecek@web.de>
To: "Peter Veenstra" <spiru@fmf.nl>, 380508@bugs.debian.org
Subject: Re: Bug#380508: dosbox: doesn't start due to invalid free
Date: Sat, 05 Aug 2006 02:44:14 +0200
> Could you try 0.65-1, maybe the problem is fixed there.

This will take time, but I'll try. Nevertheless, I think
the problem may be in SDL, as I encountered similar
problem in other SDL applications too.

> There is something wrong with the attachment (It is missing)

Yes, this IS definitly something wrong :-) It seems to be a
problem in my MUA (Opera on Windows) which seems to ignore
attachments which are on my Linux disk. I apologize. This time,
everything should be OK.

Regards
   Jiri Palecek



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Veenstra <spiru@fmf.nl>:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Jiří Paleček <jpalecek@web.de>:
Extra info received and forwarded to list. Copy sent to Peter Veenstra <spiru@fmf.nl>. (full text, mbox, link).


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

From: Jiří Paleček <jpalecek@web.de>
To: "Peter Veenstra" <spiru@fmf.nl>, 380508@bugs.debian.org
Subject: Re: Bug#380508: dosbox: doesn't start due to invalid free
Date: Mon, 07 Aug 2006 00:30:51 +0200
Opera is f*cking shit. See

http://www.ms.mff.cuni.cz/~palej3am/dosbox.valgrind.12752

for the valgrind output

Regards
   Jiri Palecek



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Peter Veenstra <spiru@fmf.nl>:
Extra info received and forwarded to list. (full text, mbox, link).


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

From: Peter Veenstra <spiru@fmf.nl>
To: Jiří Paleček <jpalecek@web.de>, 380508@bugs.debian.org
Cc: debian-bugs-dist@lists.debian.org
Subject: Re: Bug#380508: dosbox: doesn't start due to invalid free
Date: Tue, 8 Aug 2006 14:17:08 +0200 (CEST)
That indeed looks like an SDL problem.
The invalid free seems to be happening the sdl subsystem initalisation.
Should this bug report be transfered to them ?


Best regards,
 Peter



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Veenstra <spiru@fmf.nl>:
Bug#380508; Package dosbox. (full text, mbox, link).


Acknowledgement sent to Jiri Palecek <jpalecek@web.de>:
Extra info received and forwarded to list. Copy sent to Peter Veenstra <spiru@fmf.nl>. (full text, mbox, link).


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

From: Jiri Palecek <jpalecek@web.de>
To: 380508@bugs.debian.org
Subject: <kein Betreff>
Date: Tue, 15 Aug 2006 19:12:32 +0200
Package: libsdl1.2debian-alsa
Version: 1.2.10-3
Severity: normal

I reassign this bug to libsdl1.2-alsa

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.3
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)

Versions of packages libsdl1.2debian-alsa depends on:
ii  libasound2                    1.0.11-3   ALSA library
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libdirectfb-0.9-24            0.9.24-4   frame buffer graphics library
ii  libsvga1 [svgalibg1]          1:1.4.3-23 console SVGA display libraries
ii  zlib1g                        1:1.2.3-11 compression library - runtime

libsdl1.2debian-alsa recommends no packages.

-- no debconf information

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071




Bug reassigned from package `dosbox' to `libsdl1.2-alsa'. Request was from Jiri Palecek <jpalecek@web.de> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `libsdl1.2-alsa' to `libsdl1.2debian-alsa'. Request was from Martin Michlmayr <tbm@cyrius.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Sam Hocevar <sam@zoy.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#380508; Package libsdl1.2debian-alsa. (full text, mbox, link).


Acknowledgement sent to Jiří Paleček <jpalecek@web.de>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(full text, mbox, link).


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

From: Jiří Paleček <jpalecek@web.de>
To: "380508@bugs.debian.org" <380508@bugs.debian.org>
Cc: "control@bugs.debian.org" <control@bugs.debian.org>
Date: Tue, 19 Dec 2006 23:39:02 +0100
[Message part 1 (text/plain, inline)]
tags 380508 +patch
thanks

Hello,

I have built a debug version of sdl and created a patch. The
problem was that something was allocated from stack, but then freed
to the heap. The patch is attached.

Reagrds
    Jiri Palecek
[sdl.diff (application/octet-stream, attachment)]

Tags added: patch Request was from Jiří Paleček <jpalecek@web.de> to control@bugs.debian.org. (full text, mbox, link).


Merged 380508 401950. Request was from Jiří Paleček <jpalecek@web.de> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#380508; Package libsdl1.2debian-alsa. (full text, mbox, link).


Acknowledgement sent to Jiří Paleček <jpalecek@web.de>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(full text, mbox, link).


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

From: Jiří Paleček <jpalecek@web.de>
To: "380508@bugs.debian.org" <380508@bugs.debian.org>
Date: Thu, 21 Dec 2006 00:56:01 +0100
[Message part 1 (text/plain, inline)]
Err, I have posted a wrong patch (reverse). This patch should be better.

Regards
   Jiri Palecek
[sdl.diff (application/octet-stream, attachment)]

Reply sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Jiří Paleček <jpalecek@web.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #55 received at 380508-close@bugs.debian.org (full text, mbox, reply):

From: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
To: 380508-close@bugs.debian.org
Subject: Bug#380508: fixed in libsdl1.2 1.2.11-8
Date: Fri, 09 Feb 2007 21:47:04 +0000
Source: libsdl1.2
Source-Version: 1.2.11-8

We believe that the bug you reported is fixed in the latest version of
libsdl1.2, which is due to be installed in the Debian FTP archive:

libsdl1.2-dev_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2-dev_1.2.11-8_i386.deb
libsdl1.2_1.2.11-8.diff.gz
  to pool/main/libs/libsdl1.2/libsdl1.2_1.2.11-8.diff.gz
libsdl1.2_1.2.11-8.dsc
  to pool/main/libs/libsdl1.2/libsdl1.2_1.2.11-8.dsc
libsdl1.2debian-all_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-all_1.2.11-8_i386.deb
libsdl1.2debian-alsa_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-alsa_1.2.11-8_i386.deb
libsdl1.2debian-arts_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-arts_1.2.11-8_i386.deb
libsdl1.2debian-esd_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-esd_1.2.11-8_i386.deb
libsdl1.2debian-nas_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-nas_1.2.11-8_i386.deb
libsdl1.2debian-oss_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-oss_1.2.11-8_i386.deb
libsdl1.2debian-udeb_1.2.11-8_i386.udeb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-udeb_1.2.11-8_i386.udeb
libsdl1.2debian_1.2.11-8_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian_1.2.11-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 380508@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sam Hocevar (Debian packages) <sam+deb@zoy.org> (supplier of updated libsdl1.2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  9 Feb 2007 16:09:04 +0100
Source: libsdl1.2
Binary: libsdl1.2debian-oss libsdl1.2debian-alsa libsdl1.2debian-arts libsdl1.2debian libsdl1.2-dev libsdl1.2debian-udeb libsdl1.2debian-nas libsdl1.2debian-esd libsdl1.2debian-all
Architecture: source i386
Version: 1.2.11-8
Distribution: unstable
Urgency: high
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Changed-By: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
Description: 
 libsdl1.2-dev - Simple DirectMedia Layer development files
 libsdl1.2debian - Simple DirectMedia Layer
 libsdl1.2debian-all - Simple DirectMedia Layer (with all available options)
 libsdl1.2debian-alsa - Simple DirectMedia Layer (with X11 and ALSA options)
 libsdl1.2debian-arts - Simple DirectMedia Layer (with X11 and aRts options)
 libsdl1.2debian-esd - Simple DirectMedia Layer (with X11 and esound options)
 libsdl1.2debian-nas - Simple DirectMedia Layer (with X11 and NAS options)
 libsdl1.2debian-oss - Simple DirectMedia Layer (with X11 and OSS options)
 libsdl1.2debian-udeb - Simple DirectMedia Layer (with directfb graphics and no sound) (udeb)
Closes: 380508 401950 407870
Changes: 
 libsdl1.2 (1.2.11-8) unstable; urgency=high
 .
   * debian/control:
     + Do not build-depend on nonexistent libdirectfb-dev on hurd-i386, thanks
       to Samuel Thibault (Closes: #407870).
     + Added XS-Vcs-Svn field.
 .
   * debian/patches/218_double_free.diff:
     + Fix an invalid free() call, courtesy of Jiri Palecek (Closes: #380508,
       Closes: #401950).
Files: 
 72d0accdd6bf0cf830587ccfc2167c29 1575 libs optional libsdl1.2_1.2.11-8.dsc
 00be59304f18e48b368a4f5ea8e0e6d0 287989 libs optional libsdl1.2_1.2.11-8.diff.gz
 ece2361883f85122a6dbfdce5a057b43 20804 libs optional libsdl1.2debian_1.2.11-8_i386.deb
 e081091cff279a60a1fac65e7940ae57 218676 libs optional libsdl1.2debian-all_1.2.11-8_i386.deb
 5a3dd06a1e31cd108757534dc02f3afd 208796 libs extra libsdl1.2debian-alsa_1.2.11-8_i386.deb
 5eb4aba7c2a919da8efd94b899420633 209448 libs extra libsdl1.2debian-oss_1.2.11-8_i386.deb
 4245bdfe40e4732582813bc29e158774 207674 libs extra libsdl1.2debian-esd_1.2.11-8_i386.deb
 b4a60dd4586ddf2a99b77a992fd817fb 207618 libs extra libsdl1.2debian-arts_1.2.11-8_i386.deb
 bea1a998ab3267294ae79f7e046c4f1e 207854 libs extra libsdl1.2debian-nas_1.2.11-8_i386.deb
 60b6dbf2841f5c4a6e031d12d79b1260 117104 debian-installer extra libsdl1.2debian-udeb_1.2.11-8_i386.udeb
 ee021ee34248c8e36fc2cccbb886a9bb 842208 libdevel optional libsdl1.2-dev_1.2.11-8_i386.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFzJdbfPP1rylJn2ERAsZVAJ4yRm09avF7QpPNpQ7Hx6twL/mbhgCfSSuG
fLgQqOiCeHM8VEExN7NB7/0=
=D581
-----END PGP SIGNATURE-----




Reply sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Jiří Paleček <jpalecek@web.de>:
Bug acknowledged by developer. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 12:58:21 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: Mon Jul 15 22:14:16 2024; Machine Name: buxtehude

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.