Wms finally found a fix for the KGS Java sound issue...

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
mw42
Lives in gote
Posts: 566
Joined: Sat Dec 25, 2010 10:01 pm
Rank: 1k
GD Posts: 0
Universal go server handle: mw42
Has thanked: 39 times
Been thanked: 59 times

Wms finally found a fix for the KGS Java sound issue...

Post by mw42 »

Article: http://www.theregister.co.uk/2012/08/27/disable_java_to_block_exploit/

The vulnerability is present in the Java Runtime Environment (JRE) version 1.7 or later, Atif Mushtaq of security firm FireEye reported on Sunday, while PCs with Java versions 1.6 or earlier installed are not at risk.


He finds an exploit in JRE 1.7+ to force us to roll back to JRE 1.6 -- a version without the sound issue. Very clever.
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Wms finally found a fix for the KGS Java sound issue...

Post by wms »

One of the more difficult bug fixes I've ever done.
Javaness2
Gosei
Posts: 1545
Joined: Tue Jul 19, 2011 10:48 am
GD Posts: 0
Has thanked: 111 times
Been thanked: 323 times
Contact:

Re: Wms finally found a fix for the KGS Java sound issue...

Post by Javaness2 »

you done good kid </suitable accent>
Mef
Lives in sente
Posts: 852
Joined: Fri Apr 23, 2010 8:34 am
Rank: KGS [-]
GD Posts: 428
Location: Central Coast
Has thanked: 201 times
Been thanked: 333 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by Mef »

Guess it's not terribly surprising another major bug was found in a version of Java literally plagued with bugs since the week before it was even released.
User avatar
UnclMartin
Dies in gote
Posts: 55
Joined: Sat Oct 29, 2011 1:44 pm
GD Posts: 0
KGS: UnclMartin
Has thanked: 6 times
Been thanked: 12 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by UnclMartin »

He finds an exploit in JRE 1.7+ to force us to roll back to JRE 1.6 -- a version without the sound issue. Very clever.


Actually, in my experience, update 32 and 33 of Java 1.6 had the KGS sound issue. I assume subsequent updates of Java 6 also do.

Edit: I just updated to 1.6 update 35, and still have the KGS sound issue. And the -J-Dsun.sound.useNewAudioEngine="false" fix did not work.
TurtleDove
Beginner
Posts: 1
Joined: Sun Jun 17, 2012 1:25 am
Rank: KGS 4 kyu
GD Posts: 0
KGS: Yes
Tygem: No
IGS: No
Wbaduk: No
DGS: No
OGS: No

Re: Wms finally found a fix for the KGS Java sound issue...

Post by TurtleDove »

Where can I find a simple description of how to implement this fix ?
Ortho
Lives with ko
Posts: 133
Joined: Mon Apr 04, 2011 8:30 am
GD Posts: 0
KGS: 4kyu
Location: UK
Has thanked: 162 times
Been thanked: 24 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by Ortho »

I didn't feel that the fix or description was simple, but I did all the things in this thread and one of them worked. But I can't tell you whether it was changing the shortcut or using the big ugly hack. Also, I have about 4 java/jre directories on my computer so I had to stick the big ugly hack file in them all but it finally worked. I got the problem bc of the latest java update 2 days ago. Wish I could be more help. :scratch:

Here's the thread: viewtopic.php?f=24&t=4570
User avatar
LocoRon
Lives with ko
Posts: 292
Joined: Tue Aug 10, 2010 1:04 pm
Rank: 1 kyu
GD Posts: 0
KGS: LocoRon
Has thanked: 92 times
Been thanked: 80 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by LocoRon »

UnclMartin wrote:
He finds an exploit in JRE 1.7+ to force us to roll back to JRE 1.6 -- a version without the sound issue. Very clever.


Actually, in my experience, update 32 and 33 of Java 1.6 had the KGS sound issue. I assume subsequent updates of Java 6 also do.

Edit: I just updated to 1.6 update 35, and still have the KGS sound issue. And the -J-Dsun.sound.useNewAudioEngine="false" fix did not work.


Yeah, I'm on 1.6 update 29, and haven't sound, either. I hadn't seen that fix before either, I tried adding that to my bash script, but alas it didn't work.

What are the other fixes? The only one I'd seen prior to this was "uninstall 1.7 and install 1.6"... which obviously doesn't apply to me.
Mef
Lives in sente
Posts: 852
Joined: Fri Apr 23, 2010 8:34 am
Rank: KGS [-]
GD Posts: 428
Location: Central Coast
Has thanked: 201 times
Been thanked: 333 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by Mef »

LocoRon wrote:Yeah, I'm on 1.6 update 29, and haven't sound, either. I hadn't seen that fix before either, I tried adding that to my bash script, but alas it didn't work.

What are the other fixes? The only one I'd seen prior to this was "uninstall 1.7 and install 1.6"... which obviously doesn't apply to me.


I have 1.6_30 and have not had any sound issues, perhaps your issues are related to those in the KGS/Linux sound issue threads?

For reference:
http://www.lifein19x19.com/forum/viewto ... =24&t=2723
http://www.lifein19x19.com/forum/viewto ... =24&t=5385
User avatar
LocoRon
Lives with ko
Posts: 292
Joined: Tue Aug 10, 2010 1:04 pm
Rank: 1 kyu
GD Posts: 0
KGS: LocoRon
Has thanked: 92 times
Been thanked: 80 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by LocoRon »

Ooh, one of those actually did work, thanks Mef. :D
User avatar
UnclMartin
Dies in gote
Posts: 55
Joined: Sat Oct 29, 2011 1:44 pm
GD Posts: 0
KGS: UnclMartin
Has thanked: 6 times
Been thanked: 12 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by UnclMartin »

UnclMartin wrote:
He finds an exploit in JRE 1.7+ to force us to roll back to JRE 1.6 -- a version without the sound issue. Very clever.


Actually, in my experience, update 32 and 33 of Java 1.6 had the KGS sound issue. I assume subsequent updates of Java 6 also do.

Edit: I just updated to 1.6 update 35, and still have the KGS sound issue. And the -J-Dsun.sound.useNewAudioEngine="false" fix did not work.


:oops: I wasn't running update 35 after all. It seems after I downloaded and installed update 35, one of the updates for some other software downloaded and installed OpenJDK. In fact, when I do use both the switch to use the old audio engine and the aoss driver when using update 35, KGS sound does work for me, including the stone click. :oops: I wonder what I was hadd running when I thought I'd tried 32 or 33? :oops:
dfunkt
Dies with sente
Posts: 78
Joined: Sun Jan 01, 2012 1:17 pm
Rank: 9k
GD Posts: 0
Universal go server handle: dfunkt
Has thanked: 10 times
Been thanked: 33 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by dfunkt »

mw42 wrote:Article: http://www.theregister.co.uk/2012/08/27/disable_java_to_block_exploit/

The vulnerability is present in the Java Runtime Environment (JRE) version 1.7 or later, Atif Mushtaq of security firm FireEye reported on Sunday, while PCs with Java versions 1.6 or earlier installed are not at risk.


He finds an exploit in JRE 1.7+ to force us to roll back to JRE 1.6 -- a version without the sound issue. Very clever.


wms wrote:One of the more difficult bug fixes I've ever done.


Not surprising.

From the article:
Downgrading to an earlier version of Java is not advised, because even though earlier versions aren't vulnerable to this particular exploit, they may contain other bugs that expose still other vulnerabilities.


Not a fix at all.
User avatar
Phelan
Gosei
Posts: 1449
Joined: Tue Apr 20, 2010 3:15 pm
Rank: KGS 6k
GD Posts: 892
Has thanked: 1550 times
Been thanked: 140 times

Re: Wms finally found a fix for the KGS Java sound issue...

Post by Phelan »

wms wrote:One of the more difficult bug fixes I've ever done. ;-)

Added subtitles for you, dfunkt.
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go
Post Reply