New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 628175 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

nacl_io: seeking in files > 2GB fails on windows

Reported by thembr...@gmail.com, Jul 14 2016

Issue description

UserAgent: 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.
 
Cc: msrchandra@chromium.org
Components: Platform>NaCl
Labels: M-54
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows using Chrome Stable# 51.0.2704.106 and Chrome Canary# 54.0.2797.0. This is a Non-Regression issue seen from M45# 45.0.2454.101 (Official Build).
Changing the status to Untriaged so that the issue would get addressed.
Attaching a screenshot for further refernce.

Note: Issue is not reproducible on Mac and Linux.

Thank You.
628175.jpg
141 KB View Download

Sign in to add a comment