Mousetrap does not start (buffer overflow detected)

Bug #694762 reported by IdleOne
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mousetrap (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: mousetrap

*** buffer overflow detected ***: mousetrap terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f9dfb63f897]
/lib/libc.so.6(+0xf77b0)[0x7f9dfb63e7b0]
/lib/libc.so.6(+0xf6c29)[0x7f9dfb63dc29]
/lib/libc.so.6(_IO_default_xsputn+0xd8)[0x7f9dfb5bb4c8]
/lib/libc.so.6(_IO_vfprintf+0x5ef)[0x7f9dfb58c99f]
/lib/libc.so.6(__vsprintf_chk+0x94)[0x7f9dfb63dcc4]
/lib/libc.so.6(__sprintf_chk+0x7a)[0x7f9dfb63dc0a]
mousetrap[0x403abe]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7f9dfb565d1e]
mousetrap[0x401779]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:01 148439 /usr/games/mousetrap
00604000-00605000 r--p 00004000 08:01 148439 /usr/games/mousetrap
00605000-00606000 rw-p 00005000 08:01 148439 /usr/games/mousetrap
02586000-02610000 rw-p 00000000 00:00 0 [heap]
7f9df7408000-7f9df7534000 rw-s 00000000 00:04 40173604 /SYSV00000000 (deleted)
7f9df7534000-7f9df7539000 r-xp 00000000 08:01 132540 /usr/lib/libXfixes.so.3.1.0
7f9df7539000-7f9df7738000 ---p 00005000 08:01 132540 /usr/lib/libXfixes.so.3.1.0
7f9df7738000-7f9df7739000 r--p 00004000 08:01 132540 /usr/lib/libXfixes.so.3.1.0
7f9df7739000-7f9df773a000 rw-p 00005000 08:01 132540 /usr/lib/libXfixes.so.3.1.0
7f9df773a000-7f9df7743000 r-xp 00000000 08:01 132560 /usr/lib/libXrender.so.1.3.0
7f9df7743000-7f9df7942000 ---p 00009000 08:01 132560 /usr/lib/libXrender.so.1.3.0
7f9df7942000-7f9df7943000 r--p 00008000 08:01 132560 /usr/lib/libXrender.so.1.3.0
7f9df7943000-7f9df7944000 rw-p 00009000 08:01 132560 /usr/lib/libXrender.so.1.3.0
7f9df7944000-7f9df794d000 r-xp 00000000 08:01 132814 /usr/lib/libXcursor.so.1.0.2
7f9df794d000-7f9df7b4c000 ---p 00009000 08:01 132814 /usr/lib/libXcursor.so.1.0.2
7f9df7b4c000-7f9df7b4d000 r--p 00008000 08:01 132814 /usr/lib/libXcursor.so.1.0.2
7f9df7b4d000-7f9df7b4e000 rw-p 00009000 08:01 132814 /usr/lib/libXcursor.so.1.0.2
7f9df7b4e000-7f9df8045000 r--p 00000000 08:01 136964 /usr/lib/locale/locale-archive
7f9df8045000-7f9df8056000 r-xp 00000000 08:01 132538 /usr/lib/libXext.so.6.4.0
7f9df8056000-7f9df8255000 ---p 00011000 08:01 132538 /usr/lib/libXext.so.6.4.0
7f9df8255000-7f9df8256000 r--p 00010000 08:01 132538 /usr/lib/libXext.so.6.4.0
7f9df8256000-7f9df8257000 rw-p 00011000 08:01 132538 /usr/lib/libXext.so.6.4.0
7f9df8257000-7f9df8389000 r-xp 00000000 08:01 132944 /usr/lib/libX11.so.6.3.0
7f9df8389000-7f9df8589000 ---p 00132000 08:01 132944 /usr/lib/libX11.so.6.3.0
7f9df8589000-7f9df858a000 r--p 00132000 08:01 132944 /usr/lib/libX11.so.6.3.0
7f9df858a000-7f9df858e000 rw-p 00133000 08:01 132944 /usr/lib/libX11.so.6.3.0
7f9df858e000-7f9df8841000 r-xp 00000000 08:01 140522 /usr/lib/libvorbisenc.so.2.0.7
7f9df8841000-7f9df8a40000 ---p 002b3000 08:01 140522 /usr/lib/libvorbisenc.so.2.0.7
7f9df8a40000-7f9df8a5c000 r--p 002b2000 08:01 140522 /usr/lib/libvorbisenc.so.2.0.7
7f9df8a5c000-7f9df8a5d000 rw-p 002ce000 08:01 140522 /usr/lib/libvorbisenc.so.2.0.7
7f9df8a5d000-7f9df8aa5000 r-xp 00000000 08:01 132483 /usr/lib/libFLAC.so.8.2.0
7f9df8aa5000-7f9df8ca5000 ---p 00048000 08:01 132483 /usr/lib/libFLAC.so.8.2.0
7f9df8ca5000-7f9df8ca6000 r--p 00048000 08:01 132483 /usr/lib/libFLAC.so.8.2.0
7f9df8ca6000-7f9df8ca7000 rw-p 00049000 08:01 132483 /usr/lib/libFLAC.so.8.2.0
7f9df8ca7000-7f9df8cbe000 r-xp 00000000 08:01 409338 /lib/libnsl-2.12.2.so
7f9df8cbe000-7f9df8ebd000 ---p 00017000 08:01 409338 /lib/libnsl-2.12.2.so
7f9df8ebd000-7f9df8ebe000 r--p 00016000 08:01 409338 /lib/libnsl-2.12.2.so
7f9df8ebe000-7f9df8ebf000 rw-p 00017000 08:01 409338 /lib/libnsl-2.12.2.so
7f9df8ebf000-7f9df8ec1000 rw-p 00000000 00:00 0
7f9df8ec1000-7f9df8ec6000 r-xp 00000000 08:01 130387 /usr/lib/libXdmcp.so.6.0.0
7f9df8ec6000-7f9df90c5000 ---p 00005000 08:01 130387 /usr/lib/libXdmcp.so.6.0.0
7f9df90c5000-7f9df90c6000 r--p 00004000 08:01 130387 /usr/lib/libXdmcp.so.6.0.0
7f9df90c6000-7f9df90c7000 rw-p 00005000 08:01 130387 /usr/lib/libXdmcp.so.6.0.0
7f9df90c7000-7f9df90c9000 r-xp 00000000 08:01 132525 /usr/lib/libXau.so.6.0.0
7f9df90c9000-7f9df92c8000 ---p 00002000 08:01 132525 /usr/lib/libXau.so.6.0.0
7f9df92c8000-7f9df92c9000 r--p 00001000 08:01 132525 /usr/lib/libXau.so.6.0.0
7f9df92c9000-7f9df92ca000 rw-p 00002000 08:01 132525 /usr/lib/libXau.so.6.0.0
7f9df92ca000-7f9df92d1000 r-xp 00000000 08:01 409333 /lib/librt-2.12.2.so
7f9df92d1000-7f9df94d1000 ---p 00007000 08:01 409333 /lib/librt-2.12.2.so
7f9df94d1000-7f9df94d2000 r--p 00007000 08:01 409333 /lib/librt-2.12.2.so
7f9df94d2000-7f9df94d3000 rw-p 00008000 08:01 409333 /lib/librt-2.12.2.so
7f9df94d3000-7f9df9515000 r-xp 00000000 08:01 395908 /lib/libdbus-1.so.3.5.3
7f9df9515000-7f9df9715000 ---p 00042000 08:01 395908 /lib/libdbus-1.so.3.5.3
7f9df9715000-7f9df9716000 r--p 00042000 08:01 395908 /lib/libdbus-1.so.3.5.3
7f9df9716000-7f9df9717000 rw-p 00043000 08:01 395908 /lib/libdbus-1.so.3.5.3
7f9df9717000-7f9df9778000 r-xp 00000000 08:01 146108 /usr/lib/libsndfile.so.1.0.23
7f9df9778000-7f9df9978000 ---p 00061000 08:01 146108 /usr/lib/libsndfile.so.1.0.23
7f9df9978000-7f9df997a000 r--p 00061000 08:01 146108 /usr/lib/libsndfile.so.1.0.23Aborted

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mousetrap 0.9-2.1
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic 2.6.37-rc7
Uname: Linux 2.6.37-11-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Dec 27 10:49:58 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_CA:en
 LANG=en_US.utf8
 LC_MESSAGES=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: mousetrap

Revision history for this message
IdleOne (idleone) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Confirmed. I get a buffer overflow with similar output when attempting to run mousetrap on Natty.

Changed in mousetrap (Ubuntu):
status: New → Confirmed
Revision history for this message
positivek (anonyhole) wrote :

Confirmed in Xubuntu 11.10 (Oneiric Ocelot)

Revision history for this message
Dennis Sheil (dennis-sheil) wrote :

Confirmed in Ubuntu 12.04

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Still happens with mousetrap 0.9-2.2 on Ubuntu Saucy. Ran fine on my Debian Sid system though, so looks like an Ubuntu-specific issue somehow.

summary: - mousetrap does not start natty
+ Mousetrap does not start (buffer overflow detected)
tags: added: precise quantal raring saucy
removed: natty
Changed in mousetrap (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I am no longer able to reproduce this issue with mousetrap 1.0c-1 on Ubuntu Trusty. However, I've only tested the i386 version and I see that this was originally reported for amd64 which makes me hesitant to simply close it as Fix Released. Could someone check whether the latest version in Ubuntu Trusty has solved the issue for other architectures too?

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I have checked now, I and can't seem to trigger this issue on the amd64 version of 14.04 either. Thus, I'm marking this as fixed.

Changed in mousetrap (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.