Re: ioengine=sync issue on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/3/2014 8:35 PM, Jens Axboe wrote:
So next question... If you replace that fill_io_buffer() call with a memset(b, 0, bs); does it then work?


The io error goes away, but now it occasionally crashes:

(gdb) bt

#0  0x64942e9e in pthread_mutex_unlock () from /cygdrive/c/Users/bcran/workspace/fio/libwinpthread-1.dll
#1  0x0043997c in run_threads () at backend.c:1791
#2  0x00439d9f in fio_backend () at backend.c:1904
#3  0x0044c274 in main (argc=2, argv=0x821728, envp=0x821988) at fio.c:50

(gdb) info threads
  Id   Target Id         Frame
  3    Thread 7256.0x4618 fio_pin_memory (td=td@entry=0x2820000) at memory.c:27
  2    Thread 7256.0xc8  0x7787bf3c in ?? ()
* 1    Thread 7256.0x5e04 0x64942e9e in pthread_mutex_unlock () from /cygdrive/c/Users/bcran/workspace/fio/libwinpthread-1.dll
(gdb) thread 3
(gdb) bt
#0  fio_pin_memory (td=td@entry=0x2820000) at memory.c:27
#1  0x00437076 in thread_main (data=0x2820000) at backend.c:1226
#2  0x64944ecb in pthread_create_wrapper () from /cygdrive/c/Users/bcran/workspace/fio/libwinpthread-1.dll
#3  0x752d0bc4 in wtoi64 () from /cygdrive/c/Windows/SysWOW64/msvcrt.dll
#4  0x752d0cec in msvcrt!_beginthreadex () from /cygdrive/c/Windows/SysWOW64/msvcrt.dll
#5  0x7699495d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/SysWOW64/KERNEL32.DLL
#6  0x778898ee in ?? ()
#7  0x778898c4 in ?? ()
#8  0x00000000 in ?? ()


--
Bruce
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux