• 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: SVC-53
Type: Bug Bug
Status: Resolved Resolved
Resolution: Misfiled
Priority: Showstopper Showstopper
Assignee: Unassigned
Reporter: Olivia Yering
Votes: 9
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Login -> Freeze -> LLCircuit::addCircuitData

Created: 16/Mar/07 11:39 AM   Updated: 01/Dec/07 05:19 AM
Return to search
Component/s: Simulation
Affects Version/s: None
Fix Version/s: None

Issue Links:
Duplicate
 
Relates


 Description  « Hide
Login freeze on LLCircuit::addCircuitData

About halfway through the connection process (blue progress bar at ~50%, message "Connecting to Region"), the client completely stops responding, the progress bar stops throbbing, CPU Usage drops to 0, and forceful killing is required to terminate the client. The console window usually displays the output "LLCircuit::addCircuitData" as the last message before this freeze occurs.
This happens regardless of time of day, previous connection/disconnection status, region, use of router, NAT, etc. This happens very often, but not 100% of the time.

This does not appear to effect the Windows client.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Marion Rickenbacker added a comment - 28/Mar/07 04:47 AM
Is anybody addressing these log in issues? It is extremely frustrating that apparently trivial issues and new features get addressed quickly, while the basic inability to access Second Life is not

Dundee Avis added a comment - 09/Apr/07 01:28 PM
I have been having this same problem and it causes my computer to slow down for a few minutes and I have tried emptyiing TMP didnt help, using a wired connectiong, didnt help, and re-downloading, that didnt help.

bushing Spatula added a comment - 14/Apr/07 07:26 AM
This is a presence issue – it sounds like you recently logged off, but the system didn't get the memo.

We need some more detail here – does this happen every time? Did you just log off? Is there any pattern to be seen? etc


bushing Spatula made changes - 14/Apr/07 07:28 AM
Field Original Value New Value
Component/s Simulation [ 10042 ]
Subversive Writer added a comment - 26/Apr/07 05:13 AM
I have not had the problem of "your service will be available in (5 minutes from the current time)", but I have consistently had the "Connecting to Region" hang. (49 times out of 50, perhaps, with 1.15)
The last message seen on the console was always:
2007-04-26T11:46:04Z INFO: LLInventoryModel::buildParentChildMap()
2007-04-26T11:46:04Z INFO: LLCircuit::addCircuitData for 66.150.244.151:12036

though in 1.15 it is sometimes:
2007-04-26T12:03:34Z INFO: BaseCapabilitiesComplete::result got capability for UpdateGestureTaskInventory
2007-04-26T12:03:34Z INFO: BaseCapabilitiesComplete::result got capability for UpdateNotecardAgentInventory

(I believe this message appears /after/ the addCircuitData message)

This has happened just as frequently in 1.13, 1.14, and (seemingly more frequently) in 1.15.

In 1.13, I was able to work around the problem by connecting with libsecondlife's TestClient, (with which I have never witnessed any similar issue). Without fail, successful connection with the TestClient resulted in my next attempt at connecting with the official client being successful.

After the forced upgrade to 1.15, this trick no longer works: connecting with the TestClient does not change my inability to connect with the official client at all.

When hanging at "Connecting to Region", CPU usage drops to zero, and I have waited ten minutes with no response. The secondlife window also stops repainting, responds to no clicks, and needs to be kill'd (ctrl-z, kill %; kill %; works. Note that it needs two kills to end.)

Usually upon killing secondlife and returning, I receive the message "region has begun the logout process, please try connecting again in a few minutes", and am able to re-attempt connection immediately after receiving such a message. If roughly ten minutes pass between attempts, I do not receive that message, though usually am still unable to get passed "Connecting to Region"

The vast majority of my connection attempts end in the region hang. I believe that after not being connected for several hours, every initial attempt has failed in this way (again, in versions 1.13, 1.14[ both ], and 1.15[ 1.15 seeming to be much worse ])

I have attempted reinstalling secondlife, I have no firewall blocking outgoing ports (and have seen no required incoming ports listed), and this occurs regardless of what region I am connecting to, time of day, etc. I am directly connected to the modem, I do not go through a separate gateway.

Debian Linux 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
currently running SecondLife_i686_1_15_0_2
issue also exists in:
SecondLife_i686_1_13_3_2
SecondLife_i686_1_14_0_0
SecondLife_i686_1_14_0_1


Gigs Taggart added a comment - 26/Apr/07 11:01 PM
Subversive,
Can you remove your router from your internet connection, plug your computer in directly (configuring the IP address to what your router's was), and see if the issue still exists?

Gigs Taggart added a comment - 26/Apr/07 11:02 PM
Oh, you might have already done that. Does your modem do NAT?

Rob Linden added a comment - 26/Apr/07 11:02 PM
bushing's comment is exactly right. There's a lot of bugs that can cause this problem, and the devil is in the details. The problem described here happens when something (client crash, sun storm, evil gnomes, whatever) causes your presence info to get scrambled on the server. We detect that there was a problem, lock you out until the system can figure out what's going on, and then let you back in. So, the fact that you get locked out doesn't tell us anything. What happened before you got locked out makes all of the difference.

Rob Linden made changes - 26/Apr/07 11:02 PM
Resolution Cannot Reproduce [ 5 ]
Status Open [ 1 ] Resolved [ 5 ]
Subversive Writer added a comment - 28/Apr/07 06:34 PM
in order:
1) I am connected directly to the modem, and always have been
2) This means there is no NAT involved - I do in fact have a real IP address and use dyndns to connect to my home system often. There's no Router, no NAT.
3) Earlier today, a friend came over and I used his (window-xp) Laptop to connect (using the system which has this issue as a gateway). It had no trouble connecting. I simultaneously attempted connection on the system which has been having the issue, and was unable to connect. This appears to be an issue specific to the Linux client.
4) "your service will be available in five minutes", it's obvious that this means my connection status is out of sync, but this only happens after many repeated attempts. [perhaps this is a separate issue?]
The majority of the time, I do not get the "..[five minutes from now]" message.

The vast majority of the time, there is nothing which happened "before" this, it just happens. For example, I just got home, tried to connect, and hung at "connecting to region". Tried again, same thing. (wash, rinse, repeat). Instabilities with an Alpha release being what they are, of course sometimes things do occur before I see this issue, but "connecting to region.." hangs have remained a constant as other things come and go.

And again, I have never had this issue with the Libsl Test Client (which I occasionally confirm). I am not often running libsl-related programs, and had this issue before ever downloading libsl. I sometimes use it as a backup when the client refuses to connect [or at work ;)], and have never seen the issue. This is all on the same system.

I am willing to do whatever you want in order to help resolve this issue, I just need to know what you need.


Subversive Writer added a comment - 28/Apr/07 06:35 PM
In case it wasn't clear, whenever I have said "unable to connect" in the previous comments, I am referring to the "connecting to region" hang.

Montana Corleone added a comment - 29/Apr/07 12:07 AM
Well Rob, the thing is this can happen at any time lol. For me it is always following a crash, and in 1.14/1.15 that can now be doing absolutely anything, including opening profiles, notecards, standing still, doing nothing, clicking on something, laggy sim, clicking a window, typing an IM, opening a window, turning around, changing mode or being quit by the system eg region going down... well you get the picture.

What then happens, normally when I relog, I get a failed region starting login process, which is usually erroneous in any case as other people report no sim down or crash, so the system or my client quits me again. Then when I try to relog, I get the wait 5 minutes.

I understand the reason for 5 mins is probably anti griefer/hacker, but it should allow more than two, especially when one is an errpneous system quit.

Further, this is happening more frequently with 1.15, and prior to 1.15, you could often get around the 5 mins by somtimes quitting, other times clearing network cache, sometimes hard drive cache too, or changing login destination from last loc to home, but this no longer seems to work. Very irritating if you are in the middle of a meeting, more so if it's the middle of an amorous moment


Montana Corleone added a comment - 29/Apr/07 12:11 AM
I forgot to mention: iMac G5, 1Gb RAM, OS X 10.4.9, ATI Radeon X600 Pro.

I am getting a lot of extended connecting times and what appear to be freezes, but this may be unconnected, I don't usually get the 5 min notice when force quitting from that situation.


Kilcher Jewell added a comment - 30/Apr/07 03:56 AM
Experiencing too many lock out, even after a CLEAN quit !

Even cleaning cache does not help
2007-04-30T10:49:04Z INFO: loadSkeleton: Successfully loaded 0 categories and 0 items from cache.
2007-04-30T10:49:04Z INFO: LLInventoryModel::buildParentChildMap()
2007-04-30T10:49:05Z INFO: LLCircuit::addCircuitData for 66.150.244.151:12036

SL should clean all previous data when a new auth is done...


Kilcher Jewell made changes - 30/Apr/07 03:56 AM
Resolution Cannot Reproduce [ 5 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Kilcher Jewell made changes - 30/Apr/07 07:09 AM
Description Login freeze on LLCircuit::addCircuitData
Summary Cannot log in-freezes at "Connecting to Region", relog message says "your service will be available in (5 minutes from the current time)" Cannot log in-freezes at "Connecting to Region"
Subversive Writer added a comment - 30/Apr/07 10:38 AM
SL the service or SL the viewer?
A fresh install with a deleted ~/.secondlife directory has the same issue.

Kilcher Jewell made changes - 01/May/07 07:44 AM
Priority Major [ 3 ] Blocker [ 1 ]
Kilcher Jewell added a comment - 01/May/07 07:46 AM
Raising Bug level as it remove the ability to connect for most of the day.
30+ consecutive login tries and no region connet !

Things gone worse with version 15, but I think this is not related to the client. This problem already happened with version 14, just before the .15 release. Something changed on servers side so.


Subversive Writer added a comment - 02/May/07 05:20 AM
Seriously, anything you guys want me to do: Need me to use a debug build? Run it through gdb? Give you complete output from Ethereal? Want to set up a secure remote connection to my system? Anything you want.

Kilcher Jewell added a comment - 02/May/07 11:00 AM
Running SL through strace seems to make login possible. (I never had been able to see where's the lock because it runs OK everytime I try to debug).

Please confirm by lauching:
strace -f ./secondlife
(lots of debug system calls & files access info)


Dzonatas Sol made changes - 02/May/07 12:07 PM
Link This issue is related to by VWR-626 [ VWR-626 ]
Dzonatas Sol made changes - 02/May/07 12:19 PM
Link This issue is duplicated by SVC-162 [ SVC-162 ]
Dzonatas Sol made changes - 02/May/07 12:20 PM
Link This issue is duplicated by SVC-162 [ SVC-162 ]
Dzonatas Sol made changes - 02/May/07 12:22 PM
Link This issue is related to by SVC-162 [ SVC-162 ]
Subversive Writer added a comment - 02/May/07 07:22 PM
strace -f secondlife just freezes my system before I get a chance to try logging in (though not before lots of info is displayed)

Subversive Writer added a comment - 03/May/07 03:53 PM
My suspicion has been that this involves some race condition, and though I haven't been able to confirm your strace experience, it would seem that yours adds further evidence to such.

I have attempted banging on the keyboard a bit just before the "addCircuitData" message, and, placebo or not, I am now logged in.


Atashi Yue added a comment - 03/May/07 05:11 PM
This is happening more frequently. Kuula sim was full of "ghosts" the other day and once able to relog in those people reported that they had crashed then continued to get the "region is currently logging you out..." message.

Same happened to me today, I relogged as the result of a persistent hourglass when trying to open my inventory. I was still able to move etc. Upon relogging I got the "region is logging you out..." and it persisted for over 30 minutes. Sent a friend to that sim and she bulldozed me into the neighboring sim, within 5 minutes I was able to log back in.


Gigs Taggart added a comment - 11/May/07 12:34 AM
Subversive, try logging into a different region when this happens.

Dzonatas Sol made changes - 11/May/07 10:26 AM
Summary Cannot log in-freezes at "Connecting to Region" Login -> Freeze -> LLCircuit::addCircuitData
Dzonatas Sol added a comment - 11/May/07 10:30 AM
If this is just a presence issue, it is normal for the connection to temporarily freeze or even tell you that you have to wait and try again. Otherwise, the description does not explain enough of what kind of "freeze" happens.

Dzonatas Sol made changes - 11/May/07 10:30 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]
Subversive Writer added a comment - 15/May/07 07:12 AM
As previously mentioned, this bug occurs regardless of what region I am attempting to connect to. I suppose I should clarify that I mean by this:
  • No matter what region I try to connect to initially (first connection of the day, for example)
  • No matter what region I try to switch to after a "connecting to region.." hang
  • No matter what region I try to connect to after a successful switch.

Also perhaps notable: This is ONLY a login issue. Once connected, no similar issues occur.

This is most certainly not a presence issue, either. This happens during the "first connection of the day", often. There seems to be some confusion in this bug, as the original description mentioned both the "Connecting to Region" hang /and/ the ",,,[five minutes from now].." message which sometimes occurs after a disconnection. Half the comments seem to be talking about the "five minutes from now" issue, which, in my experience, only very rarely occurs.

I plead again: Please tell me whatever additional information may help resolve this, instead of just saying "well, it works for /me/..."


Subversive Writer made changes - 15/May/07 07:19 AM
Description Login freeze on LLCircuit::addCircuitData Login freeze on LLCircuit::addCircuitData

About halfway through the connection process (blue progress bar at ~50%, message "Connecting to Region"), the client completely stops responding, the progress bar stops throbbing, CPU Usage drops to 0, and forceful killing is required to terminate the client. The console window usually displays the output "LLCircuit::addCircuitData" as the last message before this freeze occurs.
This happens regardless of time of day, previous connection/disconnection status, region, use of router, NAT, etc. This happens very often, but not 100% of the time.

This does not appear to effect the Windows client.
Dzonatas Sol added a comment - 18/May/07 10:56 AM
Since you're on Debian: try the command 'traceroute' or 'ping' to the address after addCircuitData. Like:

$ traceroute 66.150.244.151
$ ping 66.150.244.151

Note the output


Kilcher Jewell made changes - 21/May/07 06:19 AM
Link This issue is duplicated by VWR-134 [ VWR-134 ]
Kilcher Jewell added a comment - 24/May/07 04:22 AM
Gone with 15.1.3
Back with 16.0.5

pisses me off

PING 66.150.244.151 (66.150.244.151) 56(84) bytes of data.
64 bytes from 66.150.244.151: icmp_seq=1 ttl=45 time=195 ms
64 bytes from 66.150.244.151: icmp_seq=2 ttl=45 time=194 ms

tracepath 66.150.244.151
1: 192.168.0.50 (192.168.0.50) 1.603ms pmtu 1500
1: linksys (192.168.0.1) 3.996ms
2: linksys (192.168.0.1) asymm 1 3.086ms pmtu 1492
3: bzn-6k-5-v201.routers.proxad.net (212.27.55.126) 59.060ms
4: no reply
5: no reply
6: yankee-6k-1-po1.intf.routers.proxad.net (212.27.57.14) 142.361ms
7: cr1-eqix-peer.wdc003.internap.net (206.223.115.129) 144.081ms
8: cr1.sje007.inappnet-36.cr1.wdc005.internap.net (66.79.146.213) 225.188ms
9: cr2-cr1.sje007.internap.net (66.79.146.190) 225.259ms
10: core1.sfo002.inappnet-26.cr1.sje007.internap.net (66.79.148.134) asymm 18 217.458ms
11: border2.ge1-1-bbnet1.sfo002.pnap.net (63.251.63.17) asymm 19 219.316ms
12: no reply
13: no reply
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
31: no reply
Too many hops: pmtu 1492
Resume: pmtu 1492


Kilcher Jewell made changes - 24/May/07 04:22 AM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Cannot Reproduce [ 5 ]
Subversive Writer added a comment - 31/May/07 03:52 AM
I have not had this issue in a few days now, though I have had it since the most recent client upgrade at least twice.

Addy Babii added a comment - 01/Jun/07 03:31 PM
I was able to connect yesterday to SL on both my laptop and my home PC. I used my home PC to connect to SL this morning at approx 0230 PDT from my PC, worked fine. I am now out of state 12+ hours later. When I try to login to SL I get the following error "Unable to login. Login Packet never received by login server. Please try again in a few minutes. Or click help for advice and a link to the system status page". I have been trying to login for over an hour, I uninstalled SL version 1-16-0-6. Downloaded and re-installed. Same error, I even tried connecting to a different region. Same error. I have never had this issue before.

Subversive Writer added a comment - 04/Jun/07 03:53 PM
As expected, I spoke too soon. Same hang on add circuit data two days in a row now. Back to where to were.

Is it possible to delete Addy Babii's comment, as it is describing an utterly unrelated issue? This issue is confused enough.


AntiChrist Dagger added a comment - 05/Jun/07 06:03 PM
I'm having the same problem on my AntiChrist Dagger account, but my secondary can log in fine. Every single time i try to connect as Anti, the bar stops at Connecting to Region and needs to be closed in the Task Manager. Since it started 3 days ago i havent been able to log onto AntiChrist

Kilcher Jewell added a comment - 10/Jun/07 01:19 PM
This is apparently a server capacity or link capacity problem.
From Europe, link losses rises when going towards 18.00 CEST, then is totally impossible to connect after 19.00 CEST up to 1.00 CEST. This matches evening connections for europe and end of work day connections for USA...

This bug is really annoying, but look at the currently assigned bugs and the total of bugs: nobody cares. There's even inventory losses bugs and they don't assign enough people to get rid of all those critical bugs. They prefer creating new ones with new more beta features.
Stop thinking open source developer will fix your windows 3.1 like client !


Subversive Writer added a comment - 12/Jun/07 07:09 AM
Again, as far as I can tell this ONLY effects me on Linux. While it may be related to server load, I have side-by-side been able to connect on Windows while not being able to connect on the Linux client. Always freezes at "Connecting to Region.."

Liandra Ceawlin added a comment - 18/Jun/07 11:46 AM
I am also experiencing this bug. While it may be server-related, I think there is definitely a client issue here. When the freeze occurs, the client seems to stop responding to X expose and resize events, which in my opinion indicates a mutex issue of some sort.

I'm running the client (1.17.0.12) in gdb right now, and am at the point where the freeze has occured. I've borken and continued several times just to be sure, but a stack trace indicates that the freeze is occuring in libfmod.

Program received signal SIGINT, Interrupt.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb64b2e66 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2 0xb64ebc3c in usleep () from /lib/tls/i686/cmov/libc.so.6
#3 0xb66de19f in FSOUND_DSP_SetPriorityInternal ()
from /usr/local/SL/lib/libfmod-3.75.so
#4 0xbfd8c1f8 in ?? ()
(gdb)

It looks to me like fmod is blocking, waiting for something that never happens. Considering that ALSA works just fine with all of my other ALSA-enabled applications, I am inclined to guess that the bug is in fmod, rather than the kernel drivers. My guess is that addCircuitData is working just fine, and the client is moving on to something sound related, but crashing before it gets a chance to spam anymore messages to the console.

Now I'm going to try running with sound off....

And now it connects just fine. Once. Twice. Thrice.

Now I'm going to load the OSS modules and disable SL's use of ALSA (which I was forcing it to use before). And it connects fine. Once. Twice. Thrice.

Now I'm going to reenable ALSA, just to see what happens.

... And it goes Boom.

Now I'm reconfiguring ALSA to not use dmixed to mix sources from multiple processes via software.

... And it still goes Boom.

Let's see if installing the ALSA-OSS emulation modules and forcing SL to use OSS, while still having dmixed turned on in ALSA lets us play from multiple processes whilst circumventing the SL lock up...

Hm, it doesn't work. It seems to initialize fine, but I get no sound from SL using ALSA-OSS emulation. I'm going to reboot in order to unload the oss modules that don't want to unload and try again, in case they are conflicting.

Here's some system information, if it helps with the debugging process:
I'm running Ubuntu Feisty; the 32 bit intel version, because SL seems to glitch graphically in a 32-bit chroot on a native 64-bit system.
I'm forcing SL to use ALSA for sound via editing of the secondlife shell script. ALSA is set up to software mix from multiple processes using that dmix thing. However, switching off dmix doesn't change anything related to the SL issue.
Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1
.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Thu Jun 7 20:19:32 UTC 2007 (Ubuntu 2.6.20-16
.29-generic)
model name : AMD Athlon(tm) 64 Processor 3800+
The motherboard is a Biostar 6100-939 (which bears the nForce4 chip set)
00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Controller (rev a2)
03:00.0 VGA compatible controller: nVidia Corporation GeForce 7900 GS (rev a1)


Liandra Ceawlin added a comment - 18/Jun/07 12:12 PM
Ok, I got multiple sources and ALSA-OSS emulation working, and I can still log in reliably.

The sound is a little choppy, but here's the workaround (if you still want to use ALSA) that works for me:

1). Edit the secondlife shell script and make sure the following lines look like this:
export LL_BAD_ESD=x
#export LL_BAD_OSS=x
export LL_BAD_ALSA=x

2). Add the aoss script to the long line near the bottom of the script:
LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}" $LL_WRAPPER aoss bin/do-not-directly-run-secondlife-bin `cat gridargs.dat` $@ | cat

3). Here's my .asoundrc, just in case someone wants it (I don't know how it works; Google gave it to me, lol):
#asym fun start here. we define one pcm device called "dmixed"
pcm.dmixed {
ipc_key 1025
type dmix
slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 8192 rate 48000 }
}

#one called "dsnooped" for capturing
pcm.dsnooped {
ipc_key 1026
type dsnoop
slave.pcm "hw:0,0"
}

#and this is the real magic
pcm.asymed {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}

#a quick plug plugin for above device to do the converting magic. saves
#typing when settng the pcm name in an alsa app
pcm.pasymed {
type plug
slave.pcm "asymed"
}

#a ctl device to keep xmms happy
ctl.pasymed {
type hw
card 0
}

#here we try to point the aoss script to our asymed device
pcm.dsp0 {
type plug
slave.pcm "asymed"
}

ctl.mixer0 {
type hw
card 0
}

#this sets the default device
pcm.!default {
type plug
slave.pcm "asymed"
}


Subversive Writer added a comment - 20/Jun/07 07:25 AM
Not tried it yet, but I just wanted to comment that I've had numerous (I thought unrelated) sound issues. I have tried "disabling" sound because of them, but muting sound in the SL preferences does not appear to actually prevent SL from using any sound drivers whatsoever. (on the other hand, I could be completely wrong).
Still, I wonder what you mean by "with sound off." How do /you/ disable sound in SL?
I usually have sound muted due to my other issues, and afaik have still had the connection problems while sound is muted. Again, I could be wrong. Not home at the moment, so haven't tried.

Liandra Ceawlin added a comment - 20/Jun/07 01:45 PM
I exported all of the BAD_XXX=x variables in the secondlife shell script to turn off sound.

Davidius Morigi added a comment - 25/Jun/07 11:23 PM
Was having the same issue in last about 2 hours, following new version 1.17.1.0.
At first, I thought that uncommenting all LL_BAD_ESD, LL_BAD_OSS and LL_BAD_ALSA in ./secondlife script,
was fixing it, but when I have commented them again, I was still able to connect. [see end of comment, now I believe
this had indeed fixed it]

So I begin to think this have more to do with ping and traceroute.
Right now (login works without delay), I have:
paul@Arcturus:~$ ping 66.150.244.151
PING 66.150.244.151 (66.150.244.151) 56(84) bytes of data.
64 bytes from 66.150.244.151: icmp_seq=1 ttl=54 time=96.5 ms
64 bytes from 66.150.244.151: icmp_seq=2 ttl=54 time=95.2 ms
64 bytes from 66.150.244.151: icmp_seq=3 ttl=54 time=96.9 ms
64 bytes from 66.150.244.151: icmp_seq=4 ttl=54 time=95.2 ms
64 bytes from 66.150.244.151: icmp_seq=5 ttl=54 time=96.3 ms
64 bytes from 66.150.244.151: icmp_seq=6 ttl=54 time=95.8 ms

— 66.150.244.151 ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 95.205/96.039/96.939/0.713 ms

paul@Arcturus:~$ traceroute 66.150.244.151
traceroute to 66.150.244.151 (66.150.244.151), 30 hops max, 40 byte packets
1 ip-66-254-43-1.mqdsl.megaquebec.net (66.254.43.1) 7.938 ms 6.690 ms 7.389 ms
2 199.202.64.2 (199.202.64.2) 9.315 ms 9.150 ms 9.340 ms
3 h209-71-212-110.gtcust.grouptelecom.net (209.71.212.110) 13.019 ms 14.443 ms 22.256 ms
4 GE4-1-81.WANB-MTRLPQ.IP.GROUPTELECOM.NET (216.18.72.74) 13.900 ms 15.252 ms 25.516 ms
5 POS7-0.PEERA-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.178) 21.872 ms 20.878 ms 24.819 ms
6 cr2-nyiix-peer.nym009.internap.net (198.32.160.185) 21.673 ms 20.119 ms 22.371 ms
7 cr2-cr1.nym009.internap.net (66.79.146.198) 22.294 ms 19.909 ms 21.159 ms
8 cr2.sje007.inappnet-31.cr2.nym009.internap.net (66.79.146.165) 95.074 ms 93.057 ms 94.088 ms
9 core1.sfo002.inappnet-26.cr1.sje007.internap.net (66.79.148.134) 93.579 ms 93.046 ms 94.318 ms
10 border2.ge1-1-bbnet1.sfo002.pnap.net (63.251.63.17) 94.081 ms 94.603 ms 92.846 ms
11 * * *
[deleted stuff]
29 * * *
30 * * *
paul@Arcturus:~$

While having the problem, I was trying with 1.17.0.12, trying to log on different regions with Preferences/General Tab/Start Location but was having always stopping on: LLCircuit::addCircuitData for 66.150.244.151:12036

Oh, I have the problem back right now:
-ping works fine while Second Life is hang on that line
-traceroute:
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ traceroute 66.150.244.151
traceroute to 66.150.244.151 (66.150.244.151), 30 hops max, 40 byte packets
1 ip-66-254-43-1.mqdsl.megaquebec.net (66.254.43.1) 7.653 ms 8.531 ms 8.165 ms
2 199.202.64.2 (199.202.64.2) 9.270 ms 8.989 ms 8.846 ms
3 h209-71-212-110.gtcust.grouptelecom.net (209.71.212.110) 12.544 ms 12.429 ms 12.031 ms
4 GE4-1-81.WANB-MTRLPQ.IP.GROUPTELECOM.NET (216.18.72.74) 13.777 ms 12.987 ms 12.303 ms
5 POS7-0.PEERA-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.178) 21.159 ms 20.398 ms 21.155 ms
6 cr2-nyiix-peer.nym009.internap.net (198.32.160.185) 20.464 ms 22.357 ms 21.661 ms
7 cr2-cr1.nym009.internap.net (66.79.146.198) 20.912 ms 19.166 ms 24.355 ms
8 cr2.sje007.inappnet-31.cr2.nym009.internap.net (66.79.146.165) 95.325 ms 94.571 ms 93.586 ms
9 core1.sfo002.inappnet-26.cr1.sje007.internap.net (66.79.148.134) 96.064 ms 96.521 ms 95.323 ms
10 border2.ge1-1-bbnet1.sfo002.pnap.net (63.251.63.17) 93.581 ms 95.039 ms 94.919 ms
11 * * *
12 * * *
13 * * *
-ping still ok, still hang
-paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 01:56:21 EDT 2007
-closing console tab to kill Second Life
-I note the following before clicking Connect:
2007-06-26T05:58:20Z INFO: idle_startup: Initializing embedded web browser...
2007-06-26T05:58:20Z INFO: LLAudioEngine_FMOD::init() initializing FMOD
2007-06-26T05:58:20Z INFO: init: Trying ESD audio output...
/bin/sh: /usr/bin/esd: not found
2007-06-26T05:58:20Z WARNING: ESD audio output FAILED to initialize: Error initializing output device.
2007-06-26T05:58:20Z INFO: init: Trying OSS audio output...
2007-06-26T05:58:20Z WARNING: OSS audio output FAILED to initialize: Error initializing output device.
2007-06-26T05:58:20Z INFO: init: Trying ALSA audio output...
2007-06-26T05:58:20Z INFO: ALSA audio output initialized OKAY
2007-06-26T05:58:20Z INFO: init: Audio output: ALSA
2007-06-26T05:58:20Z INFO: LLAudioEngine_FMOD::init() FMOD initialized correctly
-paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:01:49 EDT 2007
-click Connect
-Hang on connecting to region:
2007-06-26T06:02:25Z INFO: LLInventoryModel::buildParentChildMap()
2007-06-26T06:02:25Z INFO: LLInventoryView::init: reading from 0xbfad891c
2007-06-26T06:02:25Z INFO: LLCircuit::addCircuitData for 66.150.244.151:12036
-PING 66.150.244.151 (66.150.244.151) 56(84) bytes of data.
64 bytes from 66.150.244.151: icmp_seq=1 ttl=54 time=97.4 ms
64 bytes from 66.150.244.151: icmp_seq=2 ttl=54 time=96.6 ms
64 bytes from 66.150.244.151: icmp_seq=3 ttl=54 time=94.6 ms
64 bytes from 66.150.244.151: icmp_seq=4 ttl=54 time=96.9 ms

— 66.150.244.151 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3010ms
rtt min/avg/max/mdev = 94.676/96.422/97.412/1.042 ms
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:04:09 EDT 2007
paul@Arcturus:~/SecondLife_i686_1_17_1_0$
-paul@Arcturus:~/SecondLife_i686_1_17_1_0$ traceroute 66.150.244.151
traceroute to 66.150.244.151 (66.150.244.151), 30 hops max, 40 byte packets
1 ip-66-254-43-1.mqdsl.megaquebec.net (66.254.43.1) 7.314 ms 7.919 ms 7.268 ms
2 199.202.64.2 (199.202.64.2) 10.493 ms 9.155 ms 9.714 ms
3 h209-71-212-110.gtcust.grouptelecom.net (209.71.212.110) 12.177 ms 11.617 ms 13.009 ms
4 GE4-1-81.WANB-MTRLPQ.IP.GROUPTELECOM.NET (216.18.72.74) 12.315 ms 16.710 ms 12.998 ms
5 POS7-0.PEERA-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.178) 23.892 ms 21.371 ms 23.102 ms
6 cr2-nyiix-peer.nym009.internap.net (198.32.160.185) 23.977 ms 20.134 ms 21.916 ms
7 cr2-cr1.nym009.internap.net (66.79.146.198) 21.651 ms 21.864 ms 21.145 ms
8 cr2.sje007.inappnet-31.cr2.nym009.internap.net (66.79.146.165) 94.585 ms 94.219 ms 94.571 ms
9 core1.sfo002.inappnet-26.cr1.sje007.internap.net (66.79.148.134) 291.667 ms 212.065 ms 232.282 ms
10 border2.ge1-1-bbnet1.sfo002.pnap.net (63.251.63.17) 109.111 ms 92.315 ms 93.837 ms
11 * * *
12 * * *
13 * * *
14 * *
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:05:52 EDT 2007
paul@Arcturus:~/SecondLife_i686_1_17_1_0$
-still hanged on same line
-closing konsole session to kill Second life
-Same ESD and OSS errors, followed by ALSA working FMOD initialization
-click Connect
-Same hang on connect region:
2007-06-26T06:08:30Z INFO: BaseCapabilitiesComplete::result got capability for UpdateGestureTaskInventory
2007-06-26T06:08:30Z INFO: BaseCapabilitiesComplete::result got capability for UpdateNotecardAgentInventory
2007-06-26T06:08:30Z INFO: LLCircuit::addCircuitData for 66.150.244.151:12036
-paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:05:52 EDT 2007
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ ping 66.150.244.151
PING 66.150.244.151 (66.150.244.151) 56(84) bytes of data.
64 bytes from 66.150.244.151: icmp_seq=1 ttl=54 time=96.4 ms
64 bytes from 66.150.244.151: icmp_seq=2 ttl=54 time=96.2 ms
64 bytes from 66.150.244.151: icmp_seq=3 ttl=54 time=95.8 ms
64 bytes from 66.150.244.151: icmp_seq=4 ttl=54 time=96.3 ms
64 bytes from 66.150.244.151: icmp_seq=5 ttl=54 time=97.1 ms

— 66.150.244.151 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 95.808/96.388/97.129/0.428 ms
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ traceroute 66.150.244.151
traceroute to 66.150.244.151 (66.150.244.151), 30 hops max, 40 byte packets
1 ip-66-254-43-1.mqdsl.megaquebec.net (66.254.43.1) 8.604 ms 7.800 ms 7.903 ms
2 199.202.64.2 (199.202.64.2) 8.757 ms 10.335 ms 7.824 ms
3 h209-71-212-110.gtcust.grouptelecom.net (209.71.212.110) 14.941 ms 12.993 ms 14.023 ms
4 GE4-1-81.WANB-MTRLPQ.IP.GROUPTELECOM.NET (216.18.72.74) 12.778 ms 13.559 ms 13.677 ms
5 POS7-0.PEERA-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.178) 20.619 ms 20.624 ms 22.641 ms
6 cr2-nyiix-peer.nym009.internap.net (198.32.160.185) 23.919 ms 21.131 ms 20.286 ms
7 cr2-cr1.nym009.internap.net (66.79.146.198) 21.654 ms 20.149 ms 20.657 ms
8 cr2.sje007.inappnet-31.cr2.nym009.internap.net (66.79.146.165) 93.347 ms 94.856 ms 94.291 ms
9 core1.sfo002.inappnet-26.cr1.sje007.internap.net (66.79.148.134) 95.315 ms 93.835 ms 93.838 ms
10 border2.ge1-1-bbnet1.sfo002.pnap.net (63.251.63.17) 93.590 ms 92.095 ms 93.071 ms
11 * * *
12 * * *
13 * *
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:11:28 EDT 2007
paul@Arcturus:~/SecondLife_i686_1_17_1_0$
-still hanged on same line
-closing konsole session
-paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
Tue Jun 26 02:13:02 EDT 2007
-Now let's try again to uncomment in ./secondlife

      1. - Avoids using the ESD audio driver.
        export LL_BAD_ESD=x
    1. - Avoids using the OSS audio driver.
      export LL_BAD_OSS=x
    1. - Avoids using the ALSA audio driver.
      export LL_BAD_ALSA=x
      -paul@Arcturus:~/SecondLife_i686_1_17_1_0$ date
      Tue Jun 26 02:14:52 EDT 2007
      paul@Arcturus:~/SecondLife_i686_1_17_1_0$ ./secondlife
      -2007-06-26T06:15:20Z INFO: setAckThrottleBPS: LLXferManager ack throttle actual rate: 150000
      2007-06-26T06:15:20Z INFO: setUpstream: AssetStorage: Setting upstream provider to 0.0.0.0:12036
      2007-06-26T06:15:20Z INFO: idle_startup: Initializing embedded web browser...
      2007-06-26T06:15:20Z INFO: LLAudioEngine_FMOD::init() initializing FMOD
      2007-06-26T06:15:20Z INFO: init: ESD audio output SKIPPED
      2007-06-26T06:15:20Z INFO: init: OSS audio output SKIPPED
      2007-06-26T06:15:20Z INFO: init: OSS audio output SKIPPED
      2007-06-26T06:15:20Z WARNING: Overall audio init failure.
      2007-06-26T06:15:20Z WARNING: idle_startup: Unable to initialize audio engine
      2007-06-26T06:15:20Z INFO: idle_startup: Initializing Window
      2007-06-26T06:15:20Z INFO: login_show: Initializing Login Screen
      2007-06-26T06:15:21Z INFO: login_show: Decoding Images
      2007-06-26T06:15:22Z INFO: decodeAllImages() took 0.694464 seconds.
      2007-06-26T06:15:22Z INFO: login_show: Setting Servers
      2007-06-26T06:15:23Z INFO: LLSDXMLParser::Impl::parse: XML_STATUS_ERROR parsing:if (hour < 5)
      -Click Connect
      -Success, very fast

So, I begin to accept the idea that it has to do with FMOD initialization.

Sorry for long comment, guess next time, I'll add in a text file and upload it.

Configuration:
paul@Arcturus:~/SecondLife_i686_1_17_1_0$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty

Second Life 1.17.1 (0) Jun 25 2007 10:55:27

You are at 259984.8, 287258.7, 601.2 in Arsheba2 located at sim3077.agni.lindenlab.com (64.129.44.96:13005)

CPU: Can't get terse CPU information [2.66GHz, Celeron 331+ D on a P5GZ-MX motherboard]
Memory: 496 MB
OS Version: Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
Graphics Card Vendor: Tungsten Graphics, Inc
Graphics Card: Mesa DRI Intel(R) 945G 20061017 x86/MMX/SSE2
OpenGL Version: 1.3 Mesa 6.5.2
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 98/13525 (0.7%)
Viewer Digest: fc44c119-80c4-7319-d


Davidius Morigi added a comment - 26/Jun/07 12:08 AM
I am almost sure we do not use esd anymore on Ubuntu 7.04 (feisty).
Read:
https://wiki.ubuntu.com/PulseAudio

I can't find esd on my box, but libpulse0 is there.
We would use: pulseaudio-esound-compat to simulate esd being there.
BUT: It is not installed on my box (not installed by default I guess).

Guess instructions for Ubuntu 7.04 should suggest to install pulseaudio-esound-compat package.
I'll add it and comment back LL_BAD_ESD.


Davidius Morigi added a comment - 26/Jun/07 12:40 AM
After adding pulseaudio-esound-compat package, I get a new warning:
hehe, I see I have:
2007-06-26T07:28:43Z WARNING: sendMessage - Trying to send RequestImage on unknown circuit 64.129.44.96:13005
2007-06-26T07:28:43Z WARNING: _cleanupRequests: Asset download request timed out for ed124764-705d-d497-167a-182cd9fa2e6c.sound
2007-06-26T07:28:43Z INFO: assetCallback: Boom, error in audio file transfer: File transfer timeout (-23016)
2007-06-26T07:28:48Z INFO: Exiting main_loop
2007-06-26T07:28:48Z INFO: disconnect_viewer: Disconnecting viewer!
2007-06-26T07:28:48Z INFO: LLInventoryModel::saveToFile(/home/paul/.secondlife/cache/d22c033a-ee70-448b-8607-981374f13367.inv)
2007-06-26T07:28:48Z INFO: LLInventoryModel::saveToFile(/home/paul/.secondlife/cache/ba2a564a-f0f1-4b82-9c61-b7520bfcd09f.inv)
Segmentation fault (core dumped)

ok, new warning is:
main.c: WARNING: called SUID root, but not in group 'pulse-rt'.

So I have to go to:
System Settings/User Management, click administrator button, click modify, on popup Secondary Groups, click Select...,
select pulse-rt in the left, then click Add in the center.
Ok,Ok, Close

-hum, that's not enough, still same problem, guess I will need to logoff, then relog on my account


Davidius Morigi added a comment - 26/Jun/07 12:56 AM
-had to reboot because of a window creation error
-The warning about pulse-rt group is gone
-still no success on ESD initialization:
2007-06-26T07:48:09Z INFO: LLAudioEngine_FMOD::init() initializing FMOD
2007-06-26T07:48:09Z INFO: init: Trying ESD audio output...
2007-06-26T07:48:09Z WARNING: ESD audio output FAILED to initialize: Error initializing output device.

Yeah!: no more: /bin/sh: /usr/bin/esd: not found error


Davidius Morigi added a comment - 26/Jun/07 01:53 AM
-Tried to add pulse and pulse_access groups to myself, but that did not help
-So I finally tried Liandra Caewlin ALSA-OSS suggestion (step 1 & 2)
-watch out editing this long line, you may end up breaking it, and secondlife would just seems to hang
without opening a window (guess it depends on where you break it)
-you will need to 'sudo apt-get insall alsa-oss'
-Now I got A LOT of 'FSOUND_Output_OSS_Wait : Timeout on audio write. Caused by bad driver!'
But I guess this have to do with the driver for High-Definition Audio (Intel AC97 replacement)

Result:
1) Indeed able to connect fine!
2) For the first time, I am able to hear what is said! (much less 'chubby' than it was before for me, in fact, I was
never listening to audio because it was so bad before.

Thanks Liandra!


Rob Linden added a comment - 01/Jul/07 12:12 AM
This issue was drastically edited from its original version, and contains a lot of confusing information in the comments, because it's not clear if the comments are referring to the description as currently written, or as previously written, unless you read it extremely carefully.

If there is still an issue to be resolved, please open a new issue in the correct project (e.g. if it's a Linux viewer only issue, then it belongs in VWR, not SVC). Please do not reopen this issue (only link to it if necessary).


Rob Linden made changes - 01/Jul/07 12:12 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Misfiled [ 6 ]
Lex Neva made changes - 28/Jul/07 08:59 AM
Link This issue is related to by VWR-1911 [ VWR-1911 ]
Fluf Fredriksson made changes - 01/Dec/07 05:19 AM
Link This issue Relates to VWR-3568 [ VWR-3568 ]
Rob Linden made changes - 22/Dec/07 01:23 AM
Workflow jira [ 10553 ] jira-2007-12-21 [ 21908 ]
Rob Linden made changes - 23/Dec/07 12:24 AM
Workflow jira-2007-12-21 [ 21908 ] jira-2007-12-22a [ 48776 ]
Sue Linden made changes - 13/Nov/08 12:07 PM
Workflow jira-2007-12-22a [ 48776 ] jira-2008-11-14 [ 81730 ]
Sue Linden made changes - 13/Nov/08 04:36 PM
Workflow jira-2008-11-14 [ 81730 ] jira-2008-11-14a [ 88850 ]