Advertisement

Bug in Windows Phone 8 saves images in isolated storage

Bugs are an integral part of most software systems and Windows Phone is no exception. A developer has stumbled upon a storage bug on Microsoft’s phone

Advertisement
Nishtha Kanal|May 28, 2013, 11:52:26 IST

Bugs are an integral part of most software systems and Windows Phone is no exception. A developer has stumbled upon a storage bug on Microsoft’s phone platform that ends up saving images in isolated storage. The bug is unrelated to the “other storage” problem that was plaguing Windows Phone earlier this year.

Advertisement
Developer Kevin Gosse stumbled upon this problem when he was tinkering around with his Imageboard browser application. The developer had been trying to figure out where hundreds of megabytes of data were being stored each time he fired up his app.Cover

Bugged

Turns out that the storage problem was caused by methods MediaLibrary.SavePicture and MediaLibrary.SavePictureToCameraRoll. They’re both used when you save an image to your Windows Phone’s pictures hub. Every single time they’re used, it turns out that a copy of the image is saved in isolated storage.

To confirm his theory, Gosse wrote a small application with two buttons – one button to download an image and the other to display contents of the isolated storage. His theory proved right when he saw that the image he downloaded and stored locally can be detected in isolated storage.

news-analysisMore from News Analysis

Gosse noticed certain points while testing this bug. He could not reproduce the bug on Windows Phone 7, so it looks like only Windows Phone 8 has been affected. The bug was reproduced on various devices like Lumia 822, Lumia 920 and even an emulator, pointing towards the fact that this could be a software-related issue. The bug seemed to appear only with .jpg images and not .png ones. When Gosse anticipated and created a file on the isolated storage with the same name beforehand, it was overwritten. When he locked it by keeping the stream open, the MediaLibrary.SavePicture method threw up an exception.

Advertisement

“In a nutshell,” writes Gosse, “if you’re saving pictures to the picture hub, make sure you’re deleting the temporary files in the isolated storage afterwards.” Of course, all eyes are now on Microsoft to try and patch this issue. This could manifest into bigger problems with phones that have low storage spaces.

Handpicked stories, in your inbox
Global stories. Indian perspective. Zero noise.
No Spam. Unsubscribe Any Time.

Intrigued by all things social, Nishtha will invariably tweet about you. When not tweeting or writing about the next viral video, you will hear her proclaiming her love to Metallica, James Hetfield, Opeth, Akerfeldt and all bands that go 'growl'. She also obsesses about ACP Pradyuman and South Park and you will always find her moving around with a book. Her focus is on all the happening stuff in the tech domain, and she won't hesitate to take a shot at some of the oddball devices that make their way to our labs.

First Published:May 28, 2013, 11:52:26 IST
Advertisement
Advertisement
Trending Stories

China's Kimi K3 challenges US AI leaders with frontier-level performance at lower cost

Chinese artificial intelligence startup Moonshot AI has unveiled its latest open-weight AI model, Kimi K3, with early results suggesting it could compete with some of the world's most advanced AI systems developed by leading US companies
2 min read
Advertisement
Advertisement
Up Next