Killed by signal 6.

Bug #685308 reported by Vitaliy Kulikov
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
scanmem (Ubuntu)
Fix Released
Undecided
WangLu

Bug Description

Binary package hint: scanmem

during scanning error occurred. was fine in previous searches.

 0> 3910
info: 01/257 searching 0x8d15000 - 0x8d1b000...........ok
info: 02/257 searching 0x8d1b000 - 0x9384000........scanmem: target_memory_info_array.c:66: allocate_enough_to_reach: Assertion `array->max_needed_bytes >= bytes_needed' failed.
error:
Killed by signal 6.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: scanmem 0.11-1
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sat Dec 4 23:53:10 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: scanmem
---
Architecture: i386
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
NonfreeKernelModules: fglrx
Package: scanmem 0.12-1~svn20100926-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic-pae 2.6.35.8
Tags: maverick
Uname: Linux 2.6.35-24-generic-pae i686
UnreportableReason: This is not a genuine Ubuntu package
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare sudo tape video

Revision history for this message
Vitaliy Kulikov (slonua) wrote :
Revision history for this message
WangLu (coolwanglu) wrote :

Could you please try the lastest version in PPA?
And you may need to launch scanmem as root.

Revision history for this message
Vitaliy Kulikov (slonua) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Vitaliy Kulikov (slonua) wrote :

thanks for support, but issue still present.

Revision history for this message
Vitaliy Kulikov (slonua) wrote :

scanmem version 0.12
Copyright (C) 2009,2010 Tavis Ormandy, Eli Dupree, WANG Lu
Copyright (C) 2006-2009 Tavis Ormandy
scanmem comes with ABSOLUTELY NO WARRANTY; for details type `show warranty'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show copying' for details.

info: maps file located at /proc/17250/maps opened.
info: 370 suitable regions found.
Please enter current value, or "help" for other commands.
0> 618
info: 01/370 searching 0x8d1f000 - 0x8d25000..........scanmem: target_memory_info_array.c:66: allocate_enough_to_reach: Assertion `array->max_needed_bytes >= bytes_needed' failed.
error:
Killed by signal 6.

Revision history for this message
WangLu (coolwanglu) wrote :

I cannot reproduce this bug in my computer with 64bit ubuntu.

I'll set up a new 32bit environment and see if I can reproduce it. If not, I may need more information from you.
Thanks!

Revision history for this message
Vitaliy Kulikov (slonua) wrote :

i see. sure, i will support ;)

also, i'm gonna install 64 bit ubuntu and try again.
maybe, its only my application related issue !?

Revision history for this message
WangLu (coolwanglu) wrote :

cannot reproduce :(

could you rerun scanmem as 'scanmem -d' and try again?

and could you provide more information about your target process?

Revision history for this message
Vitaliy Kulikov (slonua) wrote :

so, 64bit ubuntu works perfect .. but sometimes freeze system at all =(.
target process is some game binary =)

well, i think in case of 64b it's game related issue. in case of 32b still for scanmem.
i will provide debug info for 32b later ;)

Revision history for this message
Lightning Jim (lightning-jim) wrote :

Seeing as he hasn't, I will.

sudo scanmem -d
scanmem version 0.12
Copyright (C) 2009,2010 Tavis Ormandy, Eli Dupree, WANG Lu
Copyright (C) 2006-2009 Tavis Ormandy
scanmem comes with ABSOLUTELY NO WARRANTY; for details type `show warranty'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show copying' for details.

Enter the pid of the process to search using the "pid" command.
Enter "help" for other commands.
0> pid 3158
info: maps file located at /proc/3158/maps opened.
info: 92 suitable regions found.
0> 20
debug: allocate array, max size -623869200
info: 01/92 searching 0x13f000 - 0x140000...........ok
info: 02/92 searching 0x200000 - 0x225000...debug: to_allocate 32, max -623869200
scanmem: target_memory_info_array.c:66: allocate_enough_to_reach: Assertion `array->max_needed_bytes >= bytes_needed' failed.

Revision history for this message
WangLu (coolwanglu) wrote :

Thanks!
Seems the reason is that scanmem wants too much memory (more than 2G) such that the variable holding the size overflows (current type 'long' is used, so this may happend on 32bit machines)

I'll make a quick a fix and add more debug info.

Revision history for this message
WangLu (coolwanglu) wrote :

Hi, I think I've fixed this.

Could you please try the latest version in svn and see if the issue still exist?

Changed in scanmem (Ubuntu):
status: New → Confirmed
assignee: nobody → WangLu (coolwanglu)
Revision history for this message
pitamar (schene) wrote :

Thank you very much =]
works.

Changed in scanmem (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Sebastian Parschauer (s-parschauer) wrote :

Get latest scanmem/GameConqueror 0.15.3 from my game cheating PPA built with full hardening:

https://launchpad.net/~s-parschauer/+archive/ubuntu/game-cheating

Unbelievable that others are unable to build it for the official Debian and Ubuntu repos!

Revision history for this message
Sebastian Parschauer (s-parschauer) wrote :

Fixed with 0.16-1.

Changed in scanmem (Ubuntu):
status: Fix Committed → 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.