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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11236 - Java error when no audio device available
Java error when no audio device available
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
Depends on:
  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: ---

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

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:

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.