lredir cdrom emulation causes "stack smashing" detection and subsequent exit

Bug #721077 reported by drink on 2011-02-18
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dosemu (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: dosemu

I do this:
lredir f: linux\fs\home\username
f:
dir

contents list OK.

I do this:
lredir f: linux\fs\home\username c
f:
dir

and I get this:
*** stack smashing detected ***: /usr/bin/dosemu terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f59da450537]
/lib/libc.so.6(__fortify_fail+0x0)[0x7f59da450500]
/usr/bin/dosemu[0x4b2c93]
/usr/bin/dosemu[0x4b2cbc]
/usr/bin/dosemu(get_volume_label_cdrom+0x2e)[0x4b2d4e]
/usr/bin/dosemu(get_volume_label+0x50)[0x4a6010]
/usr/bin/dosemu[0x4acfdc]
/usr/bin/dosemu(mfs_redirector+0x1d)[0x4ae08d]
/usr/bin/dosemu[0x448332]
/usr/bin/dosemu(do_int+0x259)[0x449619]
/usr/bin/dosemu(run_vm86+0x41a)[0x468daa]
/usr/bin/dosemu(loopstep_run_vm86+0x9)[0x468f39]
/usr/bin/dosemu(main+0x2ba)[0x420f7a]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7f59da36fd8e]
/usr/bin/dosemu[0x420339]
======= Memory map: ========
00000000-00001000 r-xs 00000000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
00001000-00003000 rwxs 00001000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
00003000-00012000 r-xs 00003000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
00012000-000a0000 rwxs 00012000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a0000-000a1000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a1000-000a2000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a2000-000a3000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a3000-000a4000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a4000-000a5000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a5000-000a6000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a6000-000a7000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a7000-000a8000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a8000-000a9000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000a9000-000aa000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000aa000-000ab000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000ab000-000ac000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000ac000-000ad000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000ad000-000ae000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000ae000-000af000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000af000-000b0000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b0000-000b1000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b1000-000b2000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b2000-000b3000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b3000-000b4000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b4000-000b5000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b5000-000b6000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b6000-000b7000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b7000-000b8000 rwxs 00510000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000b8000-000c0000 rwxs 00110000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000c0000-000c3000 r-xs 000c0000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000c3000-000c4000 rwxs 000c3000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000c4000-000c5000 r-xs 000c4000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000c5000-000fe000 rwxs 000c5000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
000fe000-00100000 r-xs 000fe000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
00100000-00110000 rwxs 00100000 00:10 614425 /dev/shm/dosemu_14386 (deleted)
00400000-005a1000 r-xp 00000000 08:11 3282404 /usr/bin/dosemu.bin
007a1000-007a2000 r--p 001a1000 08:11 3282404 /usr/bin/dosemu.bin
007a2000-007d1000 rw-p 001a2000 08:11 3282404 /usr/bin/dosemu.bin
007d1000-00d27000 rw-p 00000000 00:00 0
02a32000-02ab4000 rw-p 00000000 00:00 0 [heap]
40f37000-41337000 rwxp 00000000 00:00 0
41ac4000-41ad4000 rw-p 00000000 00:00 0
100000000-100001000 rw-p 00000000 00:00 0
7f59d7225000-7f59d723a000 r-xp 00000000 08:11 1048816 /lib/libgcc_s.so.1
7f59d723a000-7f59d7439000 ---p 00015000 08:11 1048816 /lib/libgcc_s.so.1
7f59d7439000-7f59d743a000 r--p 00014000 08:11 1048816 /lib/libgcc_s.so.1
7f59d743a000-7f59d743b000 rw-p 00015000 08:11 1048816 /lib/libgcc_s.so.1
7f59d7460000-7f59d74c0000 rwxp 00000000 00:00 0
7f59d74c0000-7f59d75da000 rw-s 00000000 00:04 67600400 /SYSV00000000 (deleted)
7f59d75da000-7f59d75df000 r-xp 00000000 08:11 3286445 /usr/lib/libXfixes.so.3.1.0
7f59d75df000-7f59d77de000 ---p 00005000 08:11 3286445 /usr/lib/libXfixes.so.3.1.0
7f59d77de000-7f59d77df000 r--p 00004000 08:11 3286445 /usr/lib/libXfixes.so.3.1.0
7f59d77df000-7f59d77e0000 rw-p 00005000 08:11 3286445 /usr/lib/libXfixes.so.3.1.0
7f59d77e0000-7f59d77e9000 r-xp 00000000 08:11 3286461 /usr/lib/libXrender.so.1.3.0
7f59d77e9000-7f59d79e8000 ---p 00009000 08:11 3286461 /usr/lib/libXrender.so.1.3.0
7f59d79e8000-7f59d79e9000 r--p 00008000 08:11 3286461 /usr/lib/libXrender.so.1.3.0
7f59d79e9000-7f59d79ea000 rw-p 00009000 08:11 3286461 /usr/lib/libXrender.so.1.3.0
7f59d79ea000-7f59d79f3000 r-xp 00000000 08:11 3286437 /usr/lib/libXcursor.so.1.0.2
7f59d79f3000-7f59d7bf2000 ---p 00009000 08:11 3286437 /usr/lib/libXcursor.so.1.0.2
7f59d7bf2000-7f59d7bf3000 r--p 00008000 08:11 3286437 /usr/lib/libXcursor.so.1.0.2
7f59d7bf3000-7f59d7bf4000 rw-p 00009000 08:11 3286437 /usr/lib/libXcursor.so.1.0.2Aborted

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: dosemu 1.4.0+svn.1999-2
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Feb 17 19:47:03 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: dosemu

drink (martin-espinoza) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dosemu (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers