{"action":"created","issue":{"url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/359","repository_url":"https://api.github.com/repos/EtchedPixels/FUZIX","labels_url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/359/comments","events_url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/359/events","html_url":"https://github.com/EtchedPixels/FUZIX/issues/359","id":159849127,"number":359,"title":"memory error induced by \"ls\"","user":{"login":"nealcrook","id":9256234,"avatar_url":"https://avatars.githubusercontent.com/u/9256234?v=3","gravatar_id":"","url":"https://api.github.com/users/nealcrook","html_url":"https://github.com/nealcrook","followers_url":"https://api.github.com/users/nealcrook/followers","following_url":"https://api.github.com/users/nealcrook/following{/other_user}","gists_url":"https://api.github.com/users/nealcrook/gists{/gist_id}","starred_url":"https://api.github.com/users/nealcrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealcrook/subscriptions","organizations_url":"https://api.github.com/users/nealcrook/orgs","repos_url":"https://api.github.com/users/nealcrook/repos","events_url":"https://api.github.com/users/nealcrook/events{/privacy}","received_events_url":"https://api.github.com/users/nealcrook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EtchedPixels/FUZIX/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-12T21:35:58Z","updated_at":"2016-06-17T22:36:50Z","closed_at":null,"body":"the script add-extras creates and populates /usr/bin\r\nwhen attempting to \"ls /usr/bin\" the system hangs. Seen on platform multicomp09 in emulation and real hardware. Confirmed on platform coco3 by Brett.\r\n\r\n$ ls /usr/bin\r\n__snip snip__\r\nwall\r\nwump\r\nmW __hangs__\r\n\r\n\"wump\" is the last file (alphabetically). The text mW does not relate to any file name.\r\n\r\nHere are some clues:\r\n\r\n1/ simply creating a large number of files in a directory is not enough to reproduce this problem (well, my naive attempt did not fail)\r\n\r\n2/ ls -f /usr/bin also fails (invalid opcode for me!) which is odd if this is a resource issue,  as not sorting the output should be less resource-heavy\r\n\r\n3/ cd /usr/bin followed by ls works successfully\r\n\r\n4/ I cut down the number of files in the ucp-extras-script.txt (by about 8 files) and get to this:\r\nls /usr/bin\r\n__snip snip__\r\nunits\r\nwall\r\nwump\r\nm]\r\n4: out of memory\r\nwump\r\nbackgammon\r\n\r\nnote that wump appears twice and that backgammon should not have appeared (it had already been listed in its alphabetic position). The number \"4:\" is sometimes 3: or 5: \r\n\r\nFor the avoidance of doubt, note that add-extras does run fsck on the disk image.\r\n\r\nNeal."},"comment":{"url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/comments/226897564","html_url":"https://github.com/EtchedPixels/FUZIX/issues/359#issuecomment-226897564","issue_url":"https://api.github.com/repos/EtchedPixels/FUZIX/issues/359","id":226897564,"user":{"login":"EtchedPixels","id":6851709,"avatar_url":"https://avatars.githubusercontent.com/u/6851709?v=3","gravatar_id":"","url":"https://api.github.com/users/EtchedPixels","html_url":"https://github.com/EtchedPixels","followers_url":"https://api.github.com/users/EtchedPixels/followers","following_url":"https://api.github.com/users/EtchedPixels/following{/other_user}","gists_url":"https://api.github.com/users/EtchedPixels/gists{/gist_id}","starred_url":"https://api.github.com/users/EtchedPixels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtchedPixels/subscriptions","organizations_url":"https://api.github.com/users/EtchedPixels/orgs","repos_url":"https://api.github.com/users/EtchedPixels/repos","events_url":"https://api.github.com/users/EtchedPixels/events{/privacy}","received_events_url":"https://api.github.com/users/EtchedPixels/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T22:36:50Z","updated_at":"2016-06-17T22:36:50Z","body":"Seems to be ok with the new malloc. Please build a new ls with the updated libc and check if it's now ok\r\n"}}
{"actor":{"display_login":"EtchedPixels"}}