Last modified: 2008-03-10 11:28:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11236 - Java error when no audio device available
Java error when no audio device available
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
http://commons.wikimedia.org/wiki/Ima...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-08 15:05 UTC by Raimond Spekking
Modified: 2008-03-10 11:28 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Error report when no audio device available (39.29 KB, text/plain)
2007-09-08 15:05 UTC, Raimond Spekking
Details

Description Raimond Spekking 2007-09-08 15:05:05 UTC
Created attachment 4088 [details]
Error report when no audio device available

I got the attached error report from a German user who has no audio device available on his computer.
Comment 1 Tim Starling 2007-09-08 19:16:21 UTC
What is the bug? Does the applet stop or something? What sort of system is it?
Comment 2 Raimond Spekking 2007-09-12 17:48:50 UTC
(In reply to comment #1)
> What is the bug? Does the applet stop or something? What sort of system is it?
> 

The applet starts buffering, stops and freezes after different percentages buffered.

The system data can be found in the header of the java-log-file: WinXP SP2, Java SE Runtime Environment 1.6.0_02-b06, no hardware audio system installed.
Comment 3 Brion Vibber 2007-09-13 14:59:03 UTC
I can confirm this on Windows XP SP2 (32-bit) with Java 1.6.0_02-b06 in IE 7.

If I disable the audio device (in VMWare this is a virtual Ensoniq AudioPCI es1371), then fire up the Java player for an OGG with video (added a URL for one), the video display freezes up fairly quickly. Either the picture area remains black, or sometimes half a frame is painted etc.

The status bar still says "buffering", and the controls respond in the UI but appear to cease functioning.

Opening the Java console, I see the exception backtrace.

Cortado probably just assumes audio is available and dies a horrible death when it turns out not to be. Better behavior would be to detect the failure to open and just silently eat the audio stream.
Comment 4 Brion Vibber 2007-09-13 15:11:50 UTC
Reported on Fluendo's trac at:
https://core.fluendo.com/flumotion/trac/ticket/756

but we'll probably have to fix it ourselves, I'm told. :)
Comment 5 Brion Vibber 2007-09-13 15:17:10 UTC
To clarify -- disable via the Windows multimedia control panel, hardware tab; not in VMWare's controls. (Disabling VMWare's audio device just makes it so the virtual machine's audio is hidden. You need to disable Windows' own driver.)
Comment 6 Tim Starling 2008-03-10 11:28:08 UTC
Fixed in r31743.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links