{"action":"created","issue":{"url":"https://api.github.com/repos/irssi/irssi/issues/391","labels_url":"https://api.github.com/repos/irssi/irssi/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/irssi/irssi/issues/391/comments","events_url":"https://api.github.com/repos/irssi/irssi/issues/391/events","html_url":"https://github.com/irssi/irssi/issues/391","id":125162083,"number":391,"title":"Segmentation fault with certain config","user":{"login":"laiti","id":4179669,"avatar_url":"https://avatars.githubusercontent.com/u/4179669?v=3","gravatar_id":"","url":"https://api.github.com/users/laiti","html_url":"https://github.com/laiti","followers_url":"https://api.github.com/users/laiti/followers","following_url":"https://api.github.com/users/laiti/following{/other_user}","gists_url":"https://api.github.com/users/laiti/gists{/gist_id}","starred_url":"https://api.github.com/users/laiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laiti/subscriptions","organizations_url":"https://api.github.com/users/laiti/orgs","repos_url":"https://api.github.com/users/laiti/repos","events_url":"https://api.github.com/users/laiti/events{/privacy}","received_events_url":"https://api.github.com/users/laiti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-06T11:44:25Z","updated_at":"2016-01-06T12:31:58Z","closed_at":null,"body":"I get a segmentation fault with my config when using the latest irssi from git. This doesn't happen with clean config. That /etc/localtime exists and is a valid file.\r\n\r\nStrace ends like this and doesn't help me that much:\r\n\r\nstat(\"/home/users/laiti/irssi-crash/scripts/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/home/users/laiti/irssi-crash/scripts/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/home/users/laiti/.local/share/irssi/scripts/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/home/users/laiti/.local/share/irssi/scripts/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"~/.local/lib/perl/5.8/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"~/.local/lib/perl/5.8/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/etc/perl/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/etc/perl/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/local/lib/perl/5.14.2/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/local/lib/perl/5.14.2/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/local/share/perl/5.14.2/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/local/share/perl/5.14.2/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/lib/perl5/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/lib/perl5/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/share/perl5/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/share/perl5/File/Spec/Unix.pm\", 0x3d1a6121300) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/lib/perl/5.14/File/Spec/Unix.pmc\", 0x3d1a61213b0) = -1 ENOENT (No such file or directory)\r\nstat(\"/usr/lib/perl/5.14/File/Spec/Unix.pm\", {st_mode=S_IFREG|0644, st_size=7510, ...}) = 0\r\nopen(\"/usr/lib/perl/5.14/File/Spec/Unix.pm\", O_RDONLY) = 15\r\nioctl(15, SNDCTL_TMR_TIMEBASE or TCGETS, 0x3d1a6121090) = -1 ENOTTY (Inappropriate ioctl for device)\r\nlseek(15, 0, SEEK_CUR)                  = 0\r\nread(15, \"package File::Spec::Unix;\\n\\nuse s\"..., 8192) = 7510\r\nbrk(0x45c4000)                          = 0x45c4000\r\nread(15, \"\", 8192)                      = 0\r\nclose(15)                               = 0\r\nread(14, \"\", 8192)                      = 0\r\nclose(14)                               = 0\r\nbrk(0x45e5000)                          = 0x45e5000\r\nbrk(0x45e4000)                          = 0x45e4000\r\nopen(\"/home/users/laiti/irssi-crash/default.theme\", O_RDONLY) = 14\r\nclose(14)                               = 0\r\nopen(\"/home/users/laiti/irssi-crash/default.theme\", O_RDONLY) = 14\r\nread(14, \"# When testing changes, the easi\"..., 4000) = 4000\r\nread(14, \"es\\n  ##\\n\\n  # the basic styling o\"..., 4000) = 4000\r\nread(14, \"\\n  #topicsbend = \\\"{sbend $*}\\\";\\n\\n\"..., 4000) = 473\r\nread(14, \"\", 4000)                      = 0\r\nclose(14)                               = 0\r\nstat(\"/etc/localtime\", {st_mode=S_IFREG|0644, st_size=1883, ...}) = 0\r\nstat(\"/etc/localtime\", {st_mode=S_IFREG|0644, st_size=1883, ...}) = 0\r\n--- SIGSEGV (Segmentation fault) @ 0 (0) ---\r\n+++ killed by SIGSEGV +++\r\nSegmentation fault"},"comment":{"url":"https://api.github.com/repos/irssi/irssi/issues/comments/169313642","html_url":"https://github.com/irssi/irssi/issues/391#issuecomment-169313642","issue_url":"https://api.github.com/repos/irssi/irssi/issues/391","id":169313642,"user":{"login":"laiti","id":4179669,"avatar_url":"https://avatars.githubusercontent.com/u/4179669?v=3","gravatar_id":"","url":"https://api.github.com/users/laiti","html_url":"https://github.com/laiti","followers_url":"https://api.github.com/users/laiti/followers","following_url":"https://api.github.com/users/laiti/following{/other_user}","gists_url":"https://api.github.com/users/laiti/gists{/gist_id}","starred_url":"https://api.github.com/users/laiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laiti/subscriptions","organizations_url":"https://api.github.com/users/laiti/orgs","repos_url":"https://api.github.com/users/laiti/repos","events_url":"https://api.github.com/users/laiti/events{/privacy}","received_events_url":"https://api.github.com/users/laiti/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T12:31:58Z","updated_at":"2016-01-06T12:31:58Z","body":"Nope, it requires the whole setup. If I disable those scripts, it starts and connects to the server but then crashes.\r\nThanks for the gdb tip."}}