{"action":"opened","issue":{"url":"https://api.github.com/repos/aowen87/BAR/issues/2175","repository_url":"https://api.github.com/repos/aowen87/BAR","labels_url":"https://api.github.com/repos/aowen87/BAR/issues/2175/labels{/name}","comments_url":"https://api.github.com/repos/aowen87/BAR/issues/2175/comments","events_url":"https://api.github.com/repos/aowen87/BAR/issues/2175/events","html_url":"https://github.com/aowen87/BAR/issues/2175","id":390959127,"node_id":"MDU6SXNzdWUzOTA5NTkxMjc=","number":2175,"title":"segfault in GetHomeDirectory()","user":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T04:15:08Z","updated_at":"2018-12-14T04:15:08Z","closed_at":null,"author_association":"OWNER","body":"Hi VisIt developer, on BlueGene/Q VisIt/libsimV2 crashes on initialization in line 1469 of file VisItControlInterface_V2.c.This seems to be because $HOME is not set and getpwuid(getuid()) returns an empty struct. Best,Jens Henrik 1460 #else1461 const char **home = NULL;1462 1463 LIBSIM_API_ENTER(GetHomeDirectory);1464 home = getenv(\"HOME\");1465 if(home == NULL)1466 {1467 struct passwd **users_passwd_entry = NULL;1468 users_passwd_entry = getpwuid(getuid());1469 home = users_passwd_entry->pw_dir;1470 }1471 LIBSIM_API_LEAVE1(GetHomeDirectory, \"homedir=%s\", home);1472 1473 return home;1474 #endif\n\n\n\n\n\n-----------------------REDMINE MIGRATION-----------------------\nThis ticket was migrated from Redmine. As such, not all \ninformation was able to be captured in the transition. Below is\na complete record of the original redmine ticket.\n\nTicket number: 2267\nStatus: Pending\nProject: VisIt\nTracker: Bug\nPriority: Normal\nSubject: segfault in GetHomeDirectory()\nAssigned to: -\nCategory: -\nTarget version: -\nAuthor: Jens Henrik Goebbert\nStart: 05/09/2015\nDue date: \n% Done: 0%\nEstimated time: \nCreated: 05/09/2015 01:37 pm\nUpdated: 05/12/2015 06:28 pm\nLikelihood: 3 - Occasional\nSeverity: 2 - Minor Irritation\nFound in version: 2.8.2\nImpact: \nExpected Use: \nOS: All\nSupport Group: Any\nDescription:\n Hi VisIt developer, on BlueGene/Q VisIt/libsimV2 crashes on initialization in line 1469 of file VisItControlInterface_V2.c.This seems to be because $HOME is not set and getpwuid(getuid()) returns an empty struct. Best,Jens Henrik 1460 #else1461 const char **home = NULL;1462 1463 LIBSIM_API_ENTER(GetHomeDirectory);1464 home = getenv(\"HOME\");1465 if(home == NULL)1466 {1467 struct passwd **users_passwd_entry = NULL;1468 users_passwd_entry = getpwuid(getuid());1469 home = users_passwd_entry->pw_dir;1470 }1471 LIBSIM_API_LEAVE1(GetHomeDirectory, \"homedir=%s\", home);1472 1473 return home;1474 #endif\n\nComments:\n\n"}}
{"actor":{"display_login":"aowen87"}}