{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/548","repository_url":"https://api.github.com/repos/libretro/Lakka-LibreELEC","labels_url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/548/comments","events_url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/548/events","html_url":"https://github.com/libretro/Lakka-LibreELEC/issues/548","id":366117905,"node_id":"MDU6SXNzdWUzNjYxMTc5MDU=","number":548,"title":"Continuous cycle of core dumps after headless reboot","user":{"login":"scarabdesign","id":13665840,"node_id":"MDQ6VXNlcjEzNjY1ODQw","avatar_url":"https://avatars2.githubusercontent.com/u/13665840?v=4","gravatar_id":"","url":"https://api.github.com/users/scarabdesign","html_url":"https://github.com/scarabdesign","followers_url":"https://api.github.com/users/scarabdesign/followers","following_url":"https://api.github.com/users/scarabdesign/following{/other_user}","gists_url":"https://api.github.com/users/scarabdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/scarabdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarabdesign/subscriptions","organizations_url":"https://api.github.com/users/scarabdesign/orgs","repos_url":"https://api.github.com/users/scarabdesign/repos","events_url":"https://api.github.com/users/scarabdesign/events{/privacy}","received_events_url":"https://api.github.com/users/scarabdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-02T23:27:36Z","updated_at":"2018-10-15T13:42:30Z","closed_at":null,"author_association":"NONE","body":"_- Which version of Lakka are you using?_\r\n**Rockchip.TinkerBoard.arm-2.1.1**\r\n\r\n_- What system hardware are you using?_\r\n**ASUS Tinker Board**\r\nQuadCore ARM SOC 1.8GHz\r\n2GB of RAM\r\nRockchip RK3288 Soc with Mali - T764 GPU\r\n\r\n_- What did you do?_\r\n**\"reboot\" command while connected with ssh and no display attached**\r\n\r\n_- What did you expect to happen?_\r\n**Reboot will happen and Lakka will start and be stable**\r\n\r\n_- What happened instead?_\r\n**Upon reboot completion, Lakka segfaults, dumps a core, repeats segfault/dump in a loop, until SD card is full, still continues dumping cores of 0 bites.** It stops crashing and runs fine when I switch the HDMI display on.\r\n\r\nI mentioned this issue in the formus a couple days ago and it has not been responded to (https://forums.libretro.com/t/lakka-continuous-cycle-of-core-dumps-after-headless-reboot/18340), so I'm trying here. I will try to get logs about why it's crashing, if needed, but I'll have to figure out how to make logging survive after a reboot. I'm assuming it's because it can't find a valid display.\r\n\r\nI honestly don't mind that it crashes until it finds a valid display, but I don't like it filling up the space. At the bare minimum, how do I turn off core dumps?"},"comment":{"url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/comments/429857138","html_url":"https://github.com/libretro/Lakka-LibreELEC/issues/548#issuecomment-429857138","issue_url":"https://api.github.com/repos/libretro/Lakka-LibreELEC/issues/548","id":429857138,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTg1NzEzOA==","user":{"login":"ToKe79","id":16481520,"node_id":"MDQ6VXNlcjE2NDgxNTIw","avatar_url":"https://avatars0.githubusercontent.com/u/16481520?v=4","gravatar_id":"","url":"https://api.github.com/users/ToKe79","html_url":"https://github.com/ToKe79","followers_url":"https://api.github.com/users/ToKe79/followers","following_url":"https://api.github.com/users/ToKe79/following{/other_user}","gists_url":"https://api.github.com/users/ToKe79/gists{/gist_id}","starred_url":"https://api.github.com/users/ToKe79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToKe79/subscriptions","organizations_url":"https://api.github.com/users/ToKe79/orgs","repos_url":"https://api.github.com/users/ToKe79/repos","events_url":"https://api.github.com/users/ToKe79/events{/privacy}","received_events_url":"https://api.github.com/users/ToKe79/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T13:42:30Z","updated_at":"2018-10-15T13:42:30Z","author_association":"COLLABORATOR","body":"From the log it looks like it still wants to write the coredump, but the `|/dev/null` prevents it (maybe the pipe is unnecessary). So I guess with `sysctl -w kernel.core_pattern=/storage/.cache/cores/core.%E.%t.%p` you should get the original behavior back, i.e. the coredumps will be saved. And maybe `ulimit -c unlimited` is needed too."}}
{"actor":{"display_login":"ToKe79"}}