{"action":"created","issue":{"url":"https://api.github.com/repos/wwivbbs/wwiv/issues/768","repository_url":"https://api.github.com/repos/wwivbbs/wwiv","labels_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/768/labels{/name}","comments_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/768/comments","events_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/768/events","html_url":"https://github.com/wwivbbs/wwiv/issues/768","id":165993452,"number":768,"title":"network2 segfault during processing","user":{"login":"granitepenguin","id":913430,"avatar_url":"https://avatars.githubusercontent.com/u/913430?v=3","gravatar_id":"","url":"https://api.github.com/users/granitepenguin","html_url":"https://github.com/granitepenguin","followers_url":"https://api.github.com/users/granitepenguin/followers","following_url":"https://api.github.com/users/granitepenguin/following{/other_user}","gists_url":"https://api.github.com/users/granitepenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/granitepenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granitepenguin/subscriptions","organizations_url":"https://api.github.com/users/granitepenguin/orgs","repos_url":"https://api.github.com/users/granitepenguin/repos","events_url":"https://api.github.com/users/granitepenguin/events{/privacy}","received_events_url":"https://api.github.com/users/granitepenguin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-17T20:13:05Z","updated_at":"2016-07-17T21:42:21Z","closed_at":null,"body":"OS: Linux\r\nBuild: \r\n\r\n./bbs is getting into an endless loop because network2 is segfaulting while processing local.net\r\n\r\nStarting program: /bbs/wwiv/network2 .0\r\nI20160717:150341 network2 version 5.1.0.development (Jul  8 2016, 23:57:28)\r\nI20160717:150341 network2 starting at Sun Jul 17 15:03:41 2016\r\nI20160717:150341 NETWORK2 for network: WWIVnet\r\nI20160717:150341 Processing: nets/wwivnet/local.net\r\nI20160717:150341 Processing message with type: main_type_ssm/0\r\nI20160717:150341 ==============================================================\r\nI20160717:150341   Receiving SSM for user: #1\r\nI20160717:150341     + SSM  'WWIVnet: Granitepenguin #95 @1 (David) read your mail on 07/17/16'\r\nI20160717:150341 ==============================================================\r\nI20160717:150341 Processing message with type: main_type_new_post/0\r\nI20160717:150341 ==============================================================\r\nI20160717:150341   Processing New Post on subtype: WWIVSYS\r\nI20160717:150341   title:   last one\r\nI20160717:150341   sender:  solaris (11:1/210)@8304.WWIVnet-FTN\r\nI20160717:150341   date:    Sun Jul 17 14:48:09 2016\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00000000004770cc in std::unique_ptr<wwiv::sdk::msgapi::WWIVMessageHeader, std::default_delete<wwiv::sdk::msgapi::WWIVMessageHeader> >::get (this=0x8)\r\n    at /usr/include/c++/4.9/bits/unique_ptr.h:305\r\n305           { return std::get<0>(_M_t); }\r\n(gdb) bt\r\n#0  0x00000000004770cc in std::unique_ptr<wwiv::sdk::msgapi::WWIVMessageHeader, std::default_delete<wwiv::sdk::msgapi::WWIVMessageHeader> >::get (this=0x8)\r\n    at /usr/include/c++/4.9/bits/unique_ptr.h:305\r\n#1  0x00000000004771c0 in std::unique_ptr<wwiv::sdk::msgapi::WWIVMessageHeader, std::default_delete<wwiv::sdk::msgapi::WWIVMessageHeader> >::release (this=0x8)\r\n    at /usr/include/c++/4.9/bits/unique_ptr.h:327\r\n#2  0x0000000000476f4e in wwiv::sdk::msgapi::WWIVMessage::release_header (this=\r\n    0x0) at /bbs/build/wwiv/sdk/../sdk/msgapi/message_wwiv.h:113\r\n#3  0x00000000004764be in wwiv::sdk::msgapi::WWIVMessageArea::ReadMessageHeader\r\n    (this=0x6a23c0, message_number=1190)\r\n    at /bbs/build/wwiv/sdk/msgapi/message_area_wwiv.cpp:211\r\n#4  0x000000000045c03c in wwiv::net::network2::handle_post (context=...,\r\n    nh=..., list=std::vector of length 0, capacity 0,\r\n    raw_text=\"WWIVSYS\\000last one\\000solaris (11:1/210)@8304.WWIVnet-FTN\\r\\nSun Jul 17 14:48:09 2016\\r\\n\\004\\060R 38RC6 - 07/17/16 14:49:32 WWIVnet ->1\\r\\n\\003\\061To\\003\\071.......... \\003\\062All\\r\\n\\r\\n\\004\\060MSGID: 11:1/210 00debc2c\\r\\n\\004\\060TZUTC: -0400\\r\\nbinkp s\"...) at /bbs/build/wwiv/network2/post.cpp:161\r\n#5  0x0000000000451940 in handle_packet (context=..., nh=...,\r\n    list=std::vector of length 0, capacity 0,\r\n    text=\"WWIVSYS\\000last one\\000solaris (11:1/210)@8304.WWIVnet-FTN\\r\\nSun Jul 17 14:48:09 2016\\r\\n\\004\\060R 38RC6 - 07/17/16 14:49:32 WWIVnet ->1\\r\\n\\003\\061To\\003\\071.......... \\003\\062All\\r\\n\\r\\n\\004\\060MSGID: 11:1/210 00debc2c\\r\\n\\004\\060TZUTC: -0400\\r\\nbinkp s\"...) at /bbs/build/wwiv/network2/network2.cpp:179\r\n#6  0x0000000000451e92 in handle_file (context=..., name=\"local.net\")\r\n    at /bbs/build/wwiv/network2/network2.cpp:253\r\n#7  0x0000000000453237 in main (argc=2, argv=0x7fffffffe708)\r\n    at /bbs/build/wwiv/network2/network2.cpp:350"},"comment":{"url":"https://api.github.com/repos/wwivbbs/wwiv/issues/comments/233205901","html_url":"https://github.com/wwivbbs/wwiv/issues/768#issuecomment-233205901","issue_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/768","id":233205901,"user":{"login":"granitepenguin","id":913430,"avatar_url":"https://avatars.githubusercontent.com/u/913430?v=3","gravatar_id":"","url":"https://api.github.com/users/granitepenguin","html_url":"https://github.com/granitepenguin","followers_url":"https://api.github.com/users/granitepenguin/followers","following_url":"https://api.github.com/users/granitepenguin/following{/other_user}","gists_url":"https://api.github.com/users/granitepenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/granitepenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granitepenguin/subscriptions","organizations_url":"https://api.github.com/users/granitepenguin/orgs","repos_url":"https://api.github.com/users/granitepenguin/repos","events_url":"https://api.github.com/users/granitepenguin/events{/privacy}","received_events_url":"https://api.github.com/users/granitepenguin/received_events","type":"User","site_admin":false},"created_at":"2016-07-17T21:42:21Z","updated_at":"2016-07-17T21:42:21Z","body":"Here's a sample local.net that the system is barfing on\r\n\r\n[local.net.txt](https://github.com/wwivbbs/wwiv/files/368149/local.net.txt)\r\n"}}
{"actor":{"display_login":"granitepenguin"}}