Hello Ludovic,

> On 2012.08.02 10:19, Ludovic Rousseau wrote:
> In gdb can you display the different variables using:

This is the output for the first backtrace I send today:
#0  0x00697e9b in add_to_flying_list (transfer=0xb6600468) at io.c:1185
1185    io.c: Datei oder Verzeichnis nicht gefunden.
        in io.c
(gdb) print cur_tv
$1 = (struct timeval *) 0x8
(gdb) print cur_tv->tv_sec
Cannot access memory at address 0x8
(gdb) print timeout
$2 = (struct timeval *) 0xb6600474
(gdb) print timeout->tv_sec
$3 = 182428
(gdb) print *transfer
$4 = {num_iso_packets = 0, list = {prev = 0x0, next = 0x0}, timeout = {
    tv_sec = 182428, tv_usec = 500100}, transferred = 0, flags = 0 '\000',
  lock = {__data = {__lock = 1, __count = 0, __owner = 899, __kind = 0,
      __nusers = 1, {__spins = 0, __list = {__next = 0x0}}},
    __size = 
"\001\000\000\000\000\000\000\000\203\003\000\000\000\000\000\000\001\000\000\000\000\000\000",
 __align = 1}}

And this is the output for the second one:
#0  0x0054de9b in add_to_flying_list (transfer=0x8b64a08) at io.c:1185
1185    io.c: Datei oder Verzeichnis nicht gefunden.
        in io.c
(gdb) print cur_tv
$1 = (struct timeval *) 0x8
(gdb) print cur_tv->tv_sec
Cannot access memory at address 0x8
(gdb) print timeout
$2 = (struct timeval *) 0x8b64a14
(gdb) print timeout->tv_sec
$3 = 240887
(gdb) print *transfer
$4 = {num_iso_packets = 0, list = {prev = 0x0, next = 0x0}, timeout = {
    tv_sec = 240887, tv_usec = 149}, transferred = 0, flags = 0 '\000',
  lock = {__data = {__lock = 1, __count = 0, __owner = 1913, __kind = 0,
      __nusers = 1, {__spins = 0, __list = {__next = 0x0}}},
    __size = 
"\001\000\000\000\000\000\000\000y\a\000\000\000\000\000\000\001\000\000\000\000\000\000",
 __align = 1}}

Thank you!

=========
Regards

Sebastian
=========

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to