nacl_io: seeking in files > 2GB fails on windows
Reported by
thembr...@gmail.com,
Jul 14 2016
|
|
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Steps to reproduce the problem: Seeking on files in the persistent filesystem with nacl_io fails on Windows if file size > 2GB 1. Open https://schibum.github.io/nacl-seek-bug-demo 2. Accept filesystem permission 3. watch output till demo completes with "TEST FAILED: failed to seek" What is the expected behavior? Seeking should work consistently on all platforms What went wrong? fseek(pFile, 0, SEEK_SET) fails on Windows if file size is > 2GB. Works fine on Linux, ChromeOS and Mac. Tested on Windows 7 32bit and Windows 10 (both 32bit and 64bit). It fails on Windows consistently. Tested with nacl_sdk 49, 50 and canary - no difference. Did this work before? N/A Chrome version: 51.0.2704.106 Channel: stable OS Version: Flash Version: Shockwave Flash 22.0 r0 Demo code is here: https://github.com/Schibum/nacl-seek-bug-demo/blob/master/hello_world.c this is adapted from the nacl hello word tutorial and can be executed with $ make run or $ make run_package Seeking works fine on windows if file size < 2GB. |
|
►
Sign in to add a comment |
|
Comment 1 by msrchandra@chromium.org
, Jul 15 2016Components: Platform>NaCl
Labels: M-54
Status: Untriaged (was: Unconfirmed)
141 KB
141 KB View Download