{"action":"created","issue":{"url":"https://api.github.com/repos/voidlinux/xbps/issues/170","repository_url":"https://api.github.com/repos/voidlinux/xbps","labels_url":"https://api.github.com/repos/voidlinux/xbps/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/voidlinux/xbps/issues/170/comments","events_url":"https://api.github.com/repos/voidlinux/xbps/issues/170/events","html_url":"https://github.com/voidlinux/xbps/issues/170","id":150627370,"number":170,"title":"Segfault when running -Syu","user":{"login":"the-maldridge","id":2321814,"avatar_url":"https://avatars.githubusercontent.com/u/2321814?v=3","gravatar_id":"","url":"https://api.github.com/users/the-maldridge","html_url":"https://github.com/the-maldridge","followers_url":"https://api.github.com/users/the-maldridge/followers","following_url":"https://api.github.com/users/the-maldridge/following{/other_user}","gists_url":"https://api.github.com/users/the-maldridge/gists{/gist_id}","starred_url":"https://api.github.com/users/the-maldridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-maldridge/subscriptions","organizations_url":"https://api.github.com/users/the-maldridge/orgs","repos_url":"https://api.github.com/users/the-maldridge/repos","events_url":"https://api.github.com/users/the-maldridge/events{/privacy}","received_events_url":"https://api.github.com/users/the-maldridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/voidlinux/xbps/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-24T04:53:28Z","updated_at":"2016-04-24T17:11:23Z","closed_at":null,"body":"I tried to do an upgrade earlier today and got an -Syu while doing an upgrade.  Here is the gdb output:\r\n\r\n```\r\nbash-4.3# gdb -ex run -ex bt --args xbps-install -Syu\r\nGNU gdb (GDB) 7.11\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-unknown-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from xbps-install...Reading symbols from /usr/lib/debug//usr/bin/xbps-install...done.\r\ndone.\r\nStarting program: /usr/bin/xbps-install -Syu\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\n[*] Updating `https://lug.utdallas.edu/mirror/void/current/x86_64-repodata' ...\r\n[*] Updating `https://lug.utdallas.edu/mirror/void/current/multilib/nonfree/x86_64-repodata' ...\r\n[*] Updating `https://lug.utdallas.edu/mirror/void/current/multilib/x86_64-repodata' ...\r\n[*] Updating `https://lug.utdallas.edu/mirror/void/current/nonfree/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/debug/x86_64-repodata' ...\r\n[New Thread 0x7ffff5c7d700 (LWP 6663)]\r\n[New Thread 0x7ffff547c700 (LWP 6664)]\r\n[Thread 0x7ffff5c7d700 (LWP 6663) exited]\r\n[New Thread 0x7ffff4c7b700 (LWP 6665)]\r\n[Thread 0x7ffff547c700 (LWP 6664) exited]\r\n[New Thread 0x7fffeffff700 (LWP 6666)]\r\n[Thread 0x7ffff4c7b700 (LWP 6665) exited]\r\n[Thread 0x7fffeffff700 (LWP 6666) exited]\r\n\r\nName          Action    Version           New version            Download size\r\nlibwireshark  update    2.0.2_2           2.0.3_1                12MB \r\nlibxkbfile    update    1.0.8_3           1.0.9_1                59KB \r\nwireshark     update    2.0.2_2           2.0.3_1                1074KB \r\nwireshark-gtk update    2.0.2_2           2.0.3_1                780KB \r\n\r\nSize to download:               14MB\r\nSize required on disk:          14MB\r\nFree space on disk:            394GB\r\n\r\n\r\n[*] Downloading binary packages\r\n\r\nThread 1 \"xbps-install\" received signal SIGSEGV, Segmentation fault.\r\n0x00007ffff71a6bc3 in SSL_CTX_ctrl () from /usr/lib/libssl.so.38\r\n#0  0x00007ffff71a6bc3 in SSL_CTX_ctrl () from /usr/lib/libssl.so.38\r\n#1  0x00007ffff7778cd9 in ?? () from /usr/lib/libxbps.so.2\r\n#2  0x00007ffff7780a2f in ?? () from /usr/lib/libxbps.so.2\r\n#3  0x00007ffff77960ff in xbps_fetch_file_dest () from /usr/lib/libxbps.so.2\r\n#4  0x00007ffff7791c41 in xbps_transaction_commit () from /usr/lib/libxbps.so.2\r\n#5  0x00005555555568a8 in exec_transaction (xhp=0x7fffffffdbe0, maxcols=169, yes=<optimized out>, drun=<optimized out>) at transaction.c:385\r\n#6  0x0000555555555d67 in main (argc=2, argv=0x7fffffffe588) at main.c:239\r\n(gdb) \r\n```"},"comment":{"url":"https://api.github.com/repos/voidlinux/xbps/issues/comments/214002628","html_url":"https://github.com/voidlinux/xbps/issues/170#issuecomment-214002628","issue_url":"https://api.github.com/repos/voidlinux/xbps/issues/170","id":214002628,"user":{"login":"ebfe","id":685065,"avatar_url":"https://avatars.githubusercontent.com/u/685065?v=3","gravatar_id":"","url":"https://api.github.com/users/ebfe","html_url":"https://github.com/ebfe","followers_url":"https://api.github.com/users/ebfe/followers","following_url":"https://api.github.com/users/ebfe/following{/other_user}","gists_url":"https://api.github.com/users/ebfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ebfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebfe/subscriptions","organizations_url":"https://api.github.com/users/ebfe/orgs","repos_url":"https://api.github.com/users/ebfe/repos","events_url":"https://api.github.com/users/ebfe/events{/privacy}","received_events_url":"https://api.github.com/users/ebfe/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T17:11:23Z","updated_at":"2016-04-24T17:11:23Z","body":"A way to trigger this is to sync (-S) and download a package in the same run. Thus avoiding syning and downloading packages in the same run is a workaround. Pretty sure #171 fixes this."}}