• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-219
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tofu Linden
Reporter: tx Oh
Votes: 22
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

linux client hangs while playing ogg/vorbis streams

Created: 12/Mar/07 11:58 AM   Updated: 12/Jan/09 03:17 AM
Return to search
Component/s: Crashes, Sound
Affects Version/s: First Look: Render Pipeline, 1.21 Public Nightly, 1.19.0.5, 1.19.1.4, 1.21 Release Candidate, 1.21
Fix Version/s: 1.21

File Attachments: 1. File T1 (347 kB)

Environment:
Second Life 1.21.6 (98973) Oct 8 2008 18:05:53 (Second Life Public Nightly)
Release Notes

You are at 205009.2, 256093.8, 32.7 in New Berlin located at sim2627.agni.lindenlab.com (216.82.18.124:12035)
Second Life Server 1.24.9.98659
Release Notes

CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Memory: 2026 MB
OS Version: Linux 2.6.26.5 #9 SMP PREEMPT Mon Oct 6 21:33:15 CEST 2008 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 9800 GTX/9800 GTX+/PCI/SSE2/3DNOW!
OpenGL Version: 2.1.2 NVIDIA 177.80

libcurl Version: libcurl/7.16.4 OpenSSL/0.9.7c zlib/1.2.3.3 c-ares/1.4.0
J2C Decoder Version: KDU
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.18885 (Mozilla GRE version 1.8.1.13_0000000000)
Packets Lost: 3/1122 (0.3%)
Issue Links:
Relates
 

Linden Lab Issue ID: SL-32885
Linden Lab Internal Branch: maint-viewer-7


 Description  « Hide
hello linux lindens,

here is a user side debug session which might help to
find the bug which hangs the linux client while playing
ogg/vorbis streams from the outside.

the console output ends with the line

      • glibc detected *** malloc(): memory corruption: 0x0eea03e8 ***
        when i press the music play button in the client.

first you get the console messages, then the used trace command
followed by an excerpt from the trace.

in a second session i started bin/do-not-directly-run-secondlife-bin
with constructed environment through valgrind. valgrind just got
a SIGSEGV in the start up and stopped. nevertheless i appended the
output of valgrind.

thanx,

tx Oh



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Seg Baphomet added a comment - 14/Mar/07 04:09 AM
I know Tofu for one is aware of this bug, and the bug lies within fmod. Streaming audio is handled completely within the fmod library. As not even Linden Lab gets to see the source to fmod, this bug can't be direcly fixed except by the fmod developers themselves.

The only way to fix this is to implement our own streaming. Which we will have to do anyway one way or the other if we are to move to OpenAL...

Also, this bug affects OSX as well. ogg streaming has never worked in OSX either.


Alison Alena added a comment - 01/Feb/08 09:22 AM
It looks the fmod developers have fixed the bug. The problem is that secondlife uses an old version of fmod.

Seg Baphomet added a comment - 01/Feb/08 10:57 AM
If by "new version" you mean fmod 4, the API is completely revised and the licensing is different. So it's not a trivial upgrade.

OpenAL support is nearing completion anyway. OpenAL is the way forward.


Lex Neva added a comment - 19/Jun/08 10:30 AM
Looks like a fix is on the way, but just in case it helps, I saw this in 1.19.4, with the same error tx mentioned:
      • glibc detected *** bin/do-not-directly-run-secondlife-bin: malloc(): memory corruption: 0x15140cd0 ***
        ======= Backtrace: =========
        /lib/libc.so.6[0xb617ba00]
        /lib/libc.so.6[0xb617dcbb]
        /lib/libc.so.6(__libc_malloc+0x7e)[0xb617f30e]
        bin/do-not-directly-run-secondlife-bin(ogg_stream_init+0x32)[0xa0d2fe2]
        bin/do-not-directly-run-secondlife-bin[0xa0ba723]
        bin/do-not-directly-run-secondlife-bin(ov_open_callbacks+0x2d)[0xa0bbe1d]
        /home/lex/SecondLife-EC-e_i686_1_19_1_4/lib/libfmod-3.75.so(FSOUND_OggVorbis_Net_Open+0x89)[0xb6376165]
        [0x0]

Antonius Misfit added a comment - 29/Aug/08 12:33 AM
From the 1.21RC0 release notes:
http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release_Candidate/1.21
"Fixed: VWR-219: vorbis radio streams crash linux client"

It doesn't seem to be fixed totally. I tested first by setting a local ogg vorbis file as my parcel's music. Instantly crashed. Then tried Virgin Radio's ogg stream. Nothing. However after the first crash when setting to a local vorbis file, it does play for about 3 seconds, then the client crashes. I guess that's progress, but it's still premature to call it fixed.


tx Oh added a comment - 11/Oct/08 09:56 AM
how long can such a fix stay in a pending state?

Ramzi Linden added a comment - 17/Oct/08 11:00 AM
The intended fix was shipped with viewer 1.21.
However you are reporting that this is not completely fixed, so I will reopen. We do not currently have any improved fix yet complete.

tx Oh added a comment - 17/Oct/08 12:05 PM
hi,

this issue isn't and wasn't ever fixed.i use the nightly build 1.21.6.98973 and rechecked it 1 minute ago. if you play an ogg vorbis audio stream on a parcel your viewer will crash.

i updated the environment.

tx Oh


tx Oh added a comment - 21/Oct/08 05:01 AM
also in the recent release Second Life 1.21.6 (99587) Oct 14 2008 18:00:21 (Second Life Release) with
  • Fixed: VWR-219: vorbis radio streams crash linux client

in the release notes : http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release/1.21

i got this prompt exit:

2008-10-21T11:56:36Z INFO: startInternetStream: Starting internet stream: http://relay53.ethz.ch:8000/kohina.ogg

      • glibc detected *** bin/do-not-directly-run-secondlife-bin: malloc(): memory corruption: 0x0af01d88 ***
        ======= Backtrace: =========
        /lib/i686/cmov/libc.so.6[0xb62bb126]
        /lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb62bc525]
        bin/do-not-directly-run-secondlife-bin(ogg_stream_init+0x32)[0x98efc72]
        bin/do-not-directly-run-secondlife-bin[0x98d73b3]
        bin/do-not-directly-run-secondlife-bin(ov_open_callbacks+0x2d)[0x98d8aad]
        /root/SecondLife-i686-1.21.6.99587/lib/libfmod-3.75.so(FSOUND_OggVorbis_Net_Open+0x89)[0xb64d5165]
        [0x0]

when i start a ogg/vorbin parcel audio stream

tx Oh


Tofu Linden added a comment - 10/Dec/08 03:34 PM
Rendered obsolete by the incoming OpenAL stuff!