Comments (8)
I am having the same issue:
root@logic:~/proxmark3-read-only/client# gdb proxmark3
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /root/proxmark3-read-only/client/proxmark3...done.
(gdb) r
Starting program: /root/proxmark3-read-only/client/proxmark3
[Thread debugging using libthread_db enabled]
Connected units:
1. SN: ChangeMe [002/015]
[New Thread 0xb7fe1b70 (LWP 3836)]
[New Thread 0xb77e0b70 (LWP 3837)]
proxmark3> hf 14a snoop
proxmark3> read failed: could not detach kernel driver from interface 0: No
data available(-19)!
Trying to reopen device...
proxmark3> hf 14a list
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7fe1b70 (LWP 3836)]
0x00133f46 in ?? () from /lib/libusb-0.1.so.4
(gdb) bt
#0 0x00133f46 in ?? () from /lib/libusb-0.1.so.4
#1 0x08061628 in SendCommand (c=0xb7fe036c) at proxusb.c:45
#2 0x0804fb7e in GetFromBigBuf (dest=0xb7fe0430 "", bytes=1920) at data.c:31
#3 0x08052b2d in CmdHF14AList (Cmd=0x8271813 "") at cmdhf14a.c:31
#4 0x080609fe in CmdsParse (Commands=0x806f540, Cmd=0x827180f "list") at
cmdparser.c:56
#5 0x08052f84 in CmdHF14A (Cmd=0x827180f "list") at cmdhf14a.c:240
#6 0x080609fe in CmdsParse (Commands=0x806f4a0, Cmd=0x827180b "14a list") at
cmdparser.c:56
#7 0x08052787 in CmdHF (Cmd=0x827180b "14a list") at cmdhf.c:48
#8 0x080609fe in CmdsParse (Commands=0x806fc60, Cmd=0x8271808 "hf 14a list")
at cmdparser.c:56
#9 0x08060ec7 in CommandReceived (Cmd=0x8271808 "hf 14a list") at cmdmain.c:89
#10 0x0804bad9 in main_loop (targ=0xbffff6e4) at proxmark3.c:117
#11 0x0017bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x010d20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)
Original comment by [email protected]
on 4 Feb 2012 at 12:38
from proxmark3.
Some more info:
(gdb) info reg
eax 0xb7fe036c -1208089748
ecx 0xb7fe02a8 -1208089944
edx 0x40 64
ebx 0x138ff4 1282036
esp 0xb7fe01e0 0xb7fe01e0
ebp 0xb7fe036c 0xb7fe036c
esi 0x0 0
edi 0x1 1
eip 0x133f46 0x133f46
eflags 0x10286 [ PF SF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) disass 0x133f46
No function contains specified address.
(gdb) disass 0x133f46
No function contains specified address.
(gdb) x/s 0xb7fe036c
0xb7fe036c: "\a\002"
(gdb) x/s 0xb7fe0430
0xb7fe0430: ""
(gdb) x/s 0x806f540
0x806f540 <CommandTable>: "aJ\006\b\220'\005\b\001"
(gdb)
Original comment by [email protected]
on 4 Feb 2012 at 12:39
from proxmark3.
I could supply someone with a SSH login to do some testing as well....
Original comment by [email protected]
on 4 Feb 2012 at 3:52
from proxmark3.
I'm having the same crash. Fixed the segv by doing this.
if(devh) change to
if(devh && ret != -110)
{
// usb_close(devh)
// devh = NULL;
CloseProxmark();
}
This fix does not however, make hf 14a snoop / list function. It just removes
the segv. -110 seems to indicate we are already detached, so calling usb_close
gets told to detach something that doesn't exists, causing the crash. (it seems)
After that the proxmark continues to have other problems that I haven't figured
out yet.
Original comment by [email protected]
on 26 Feb 2012 at 7:17
from proxmark3.
So I've spent a lot of time debugging this, jtag etc. It seem to be related to
Linux usbcore. If i keep the bus busy by plugging in another USB device on the
same usb hub, the prox works all the time.
Additionally, works great on OSX without any problems, but same issue as above
on Windows 7.
I've tried removing autosuspend and numerous other usbcore parameters. But
simple solution is to just plugin another USB device on the same hub.
Original comment by [email protected]
on 9 Mar 2012 at 8:40
from proxmark3.
Reworked client/ dir to use libusb-1.0. Patch attached. based on svn r528
Known issues:
cli no longer works. Not sure what I broke, this code looks so simple.
Support for picking a proxmark if you have 2 or more was removed. I only have
one so couldn't test this. Will add this back in shortly
Overview
Pretty much just reimplements proxusb.c/h using 1.0 calls. However, I added
support for using handles if you have them, instead of a global devh. So
required updating all the dependent calls.
Seems to be pretty stable, and no more crashes like the above.
Original comment by [email protected]
on 12 Mar 2012 at 2:22
Attachments:
from proxmark3.
Attached is a patch that applies to current trunk.
I think it would be critical to upgrade the codebase against libusb 1.0. Who
can look into it? Looking at development activity, it seems that proxmark3 has
lived its life and is slowly getting ready for being retired?
Original comment by martin.paljak
on 16 Jan 2013 at 2:51
Attachments:
from proxmark3.
Original comment by verdult
on 8 Mar 2013 at 8:42
- Changed state: Fixed
from proxmark3.
Related Issues (20)
- Patch for /trunk/armsrc/iso14443a.c HOT 1
- Patch for /trunk/armsrc/mifarecmd.c HOT 3
- hf mf restore not working due to authentication problem
- after svn update can't compile. rev 601 HOT 3
- first 2 bytes of the keys are zeroed in "hf mf nested" output HOT 5
- API re-design HOT 2
- r617 does not compile HOT 1
- Call to rbt2c.pl in fpga/go.bat, but script does not exists (anymore).
- Three instances of buffer corruption HOT 2
- Buffer corruption #2 HOT 1
- Mifare emulation memory problems HOT 3
- execute data sample will crash the client HOT 4
- the request from client is hard to deliver to arm
- Win7 Home, proxmark715, crash on quit command.
- [deleted issue]
- Broken hw and lf commands HOT 3
- Patch for /trunk/client/lualibs/htmlskel.lua HOT 2
- Revision 839 osimage has broken hf 14a snoop HOT 1
- hf mf chk bugfix and enhancements HOT 2
- help a download file for schematics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmark3.