Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bizarre out of memory bug



So I'm on my Powerbook (10.4.1), and SSH across the good old domestic WLAN to my G5 (Also 10.4.1). I get behavior like this:

  [mightygorilla:~] tas% ssh yobgorgle
  Password:
  Welcome to Darwin!
  [yobgorgle:~] tas% ls
  tcsh: Out of memory.
  Connection to yobgorgle closed.
  [mightygorilla:~] tas%

Some shell commands do succeed, but most fail identically to this example with ls.

Bizarre thing #1: the G5 named "Yobgorgle" had roughly 2GB free RAM at the time of this event. Physical memory certainly isn't a problem. The only justification for the error in question is if some piece of code tried to allocate more address space than the kernel was willing to give a single process.

Bizarre thing #2: So, "yobgorgle" is really "yobgorgle.local" since I have "local" in my search domains list. In other words, it's a Ren^h^h^h Bonjour name. On a whim, I decided to SSH to the actual IP address:

[mightygorilla:~] tas% ssh 192.168.1.40
Password:
Welcome to Darwin!
[yobgorgle:~] tas% ls
Applications/ Documents/ Movies/ Public/ bin/
Desktop/ Library/ Pictures/ Temporary Items/
[yobgorgle:~] tas%


Wow.  I just don't know what to say.

Bizarre thing #3: Everything seems to work normally when I SSH in the opposite direction, regardless of whether I use the Bonjour name or the IP address of the PowerBook. The only remotely relevant difference in configuration which I can think of is that the PowerBook gets its IP address via DHCP whereas the G5 has a static IP.

My brain hurts. Why should the shell (or alternately the programs it's invoking) care how the network name lookup for setup of the SSH session it's communicating through took place? And how can this behavior happen on one machine and not the other?

Nothing appears in system.log or /cores, by the way.

Anybody have any suggestions before I file a bug?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.