Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still python exception. #25

Closed
lieanu opened this issue Apr 28, 2016 · 7 comments
Closed

Still python exception. #25

lieanu opened this issue Apr 28, 2016 · 7 comments

Comments

@lieanu
Copy link

lieanu commented Apr 28, 2016

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 + python2.7
image

@hugsy
Copy link
Owner

hugsy commented Apr 29, 2016

Hi @lieanu ,

I appreciate all your bug reports. Please try to give me more information about your context (even a test C code or a binary) so I can try to reproduce it.

Thanks.

@lieanu
Copy link
Author

lieanu commented Apr 29, 2016

$ gdb -q dwarfdump
gef loaded, `gef help' to start, `gef config' to configure
35 commands loaded (17 sub-commands), using Python engine 2.7
Reading symbols from dwarfdump...done.
gef> b putchar
Breakpoint 1 at 0x401770
gef> r /bin/ps
Starting program: ..../dwarfdump /bin/ps
....
Breakpoint 1, putchar (c=c@entry=10) at putchar.c:26
26      putchar.c: No such file or directory.
gef> heap arenas 
[+] Listing active arena(s):
Python Exception <class 'gdb.error'> Cannot convert value to int.: 
Error occurred in Python command: Cannot convert value to int.
gef> heap bins
Python Exception <class 'gdb.error'> Cannot convert value to int.: 
Python Exception <class 'gdb.error'> Error occurred in Python command: Cannot convert value to int.: 
Error occurred in Python command: Error occurred in Python command: Cannot convert value to int.

Binary Dowload HERE

@lieanu
Copy link
Author

lieanu commented Apr 30, 2016

Sorry for the lack of shared library.

@hugsy
Copy link
Owner

hugsy commented Apr 30, 2016

Hi @lieanu ,

It should be fixed. Pull the latest version and try again.

@lieanu
Copy link
Author

lieanu commented Apr 30, 2016

Awesome, It works now.
And another tiny problem, heap chunk will print some meaningless blank space.

image

hugsy pushed a commit that referenced this issue Apr 30, 2016
@hugsy
Copy link
Owner

hugsy commented Apr 30, 2016

Lol :-D it is fixed. Feel free to close this issue when you confirm it is fixed for you too

Thanks for all your feedbacks:+1:

@lieanu
Copy link
Author

lieanu commented Apr 30, 2016

Perfect now 👍

@lieanu lieanu closed this as completed Apr 30, 2016
SakiiR pushed a commit to SakiiR/gef that referenced this issue Jul 1, 2019
SakiiR pushed a commit to SakiiR/gef that referenced this issue Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants