{"action":"created","issue":{"url":"https://api.github.com/repos/google/cups-connector/issues/150","labels_url":"https://api.github.com/repos/google/cups-connector/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/google/cups-connector/issues/150/comments","events_url":"https://api.github.com/repos/google/cups-connector/issues/150/events","html_url":"https://github.com/google/cups-connector/issues/150","id":121879213,"number":150,"title":"Infinite recursion with 32-bit 2015.10.15 binary on Debian Jessie","user":{"login":"leizleiz","id":12983898,"avatar_url":"https://avatars.githubusercontent.com/u/12983898?v=3","gravatar_id":"","url":"https://api.github.com/users/leizleiz","html_url":"https://github.com/leizleiz","followers_url":"https://api.github.com/users/leizleiz/followers","following_url":"https://api.github.com/users/leizleiz/following{/other_user}","gists_url":"https://api.github.com/users/leizleiz/gists{/gist_id}","starred_url":"https://api.github.com/users/leizleiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizleiz/subscriptions","organizations_url":"https://api.github.com/users/leizleiz/orgs","repos_url":"https://api.github.com/users/leizleiz/repos","events_url":"https://api.github.com/users/leizleiz/events{/privacy}","received_events_url":"https://api.github.com/users/leizleiz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/cups-connector/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jacobmarble","id":622263,"avatar_url":"https://avatars.githubusercontent.com/u/622263?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmarble","html_url":"https://github.com/jacobmarble","followers_url":"https://api.github.com/users/jacobmarble/followers","following_url":"https://api.github.com/users/jacobmarble/following{/other_user}","gists_url":"https://api.github.com/users/jacobmarble/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmarble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmarble/subscriptions","organizations_url":"https://api.github.com/users/jacobmarble/orgs","repos_url":"https://api.github.com/users/jacobmarble/repos","events_url":"https://api.github.com/users/jacobmarble/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmarble/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-12T20:48:19Z","updated_at":"2015-12-14T18:57:39Z","closed_at":null,"body":"OS: 32-bit Debian Jessie\r\nCUPS Connector: https://github.com/google/cups-connector/releases/download/2015.10.05/gcp-cups-connector-linux-386-2015.10.05.tar.gz\r\n\r\n1) Extract the tarball\r\n2) Run gcp-cups-connector\r\n3) Stack overflow due to httpConnectEncrypt() and httpConnect2() calling each other.\r\n\r\nNormally I would complain about shipping unstripped binaries, but in this case it was very helpful.\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\nhttpConnect2 (host=0x8644375 \"/var/run/cups/cups.sock\", port=631, addrlist=0x0, family=0, encryption=HTTP_ENCRYPT_REQUIRED, blocking=1, msec=30000, cancel=0x0)\r\n    at /home/user/go/src/github.com/google/cups-connector/cups/cups.c:90\r\n90      /home/user/go/src/github.com/google/cups-connector/cups/cups.c: No such file or directory.\r\n(gdb) bt\r\n#0  httpConnect2 (host=0x8644375 \"/var/run/cups/cups.sock\", port=631, addrlist=0x0, family=0, encryption=HTTP_ENCRYPT_REQUIRED, blocking=1, msec=30000, cancel=0x0)\r\n    at /home/user/go/src/github.com/google/cups-connector/cups/cups.c:90\r\n#1  0xb7f7f12d in httpConnectEncrypt () from /usr/lib/i386-linux-gnu/libcups.so.2\r\n#2  0x0805809b in httpConnect2 (host=0x8644375 \"/var/run/cups/cups.sock\", port=631, addrlist=0x0, family=0, encryption=HTTP_ENCRYPT_REQUIRED, blocking=1, msec=30000, cancel=0x0)\r\n    at /home/user/go/src/github.com/google/cups-connector/cups/cups.c:91\r\n#3  0xb7f7f12d in httpConnectEncrypt () from /usr/lib/i386-linux-gnu/libcups.so.2\r\n#4  0x0805809b in httpConnect2 (host=0x8644375 \"/var/run/cups/cups.sock\", port=631, addrlist=0x0, family=0, encryption=HTTP_ENCRYPT_REQUIRED, blocking=1, msec=30000, cancel=0x0)\r\n    at /home/user/go/src/github.com/google/cups-connector/cups/cups.c:91\r\n#5  0xb7f7f12d in httpConnectEncrypt () from /usr/lib/i386-linux-gnu/libcups.so.2\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/google/cups-connector/issues/comments/164525784","html_url":"https://github.com/google/cups-connector/issues/150#issuecomment-164525784","issue_url":"https://api.github.com/repos/google/cups-connector/issues/150","id":164525784,"user":{"login":"leizleiz","id":12983898,"avatar_url":"https://avatars.githubusercontent.com/u/12983898?v=3","gravatar_id":"","url":"https://api.github.com/users/leizleiz","html_url":"https://github.com/leizleiz","followers_url":"https://api.github.com/users/leizleiz/followers","following_url":"https://api.github.com/users/leizleiz/following{/other_user}","gists_url":"https://api.github.com/users/leizleiz/gists{/gist_id}","starred_url":"https://api.github.com/users/leizleiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizleiz/subscriptions","organizations_url":"https://api.github.com/users/leizleiz/orgs","repos_url":"https://api.github.com/users/leizleiz/repos","events_url":"https://api.github.com/users/leizleiz/events{/privacy}","received_events_url":"https://api.github.com/users/leizleiz/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T18:57:39Z","updated_at":"2015-12-14T18:57:39Z","body":"Creating /etc/cups/client.conf and adding \"ServerName localhost\" changes the \"/var/run/cups/cups.sock\" argument in the BT to \"localhost\" but otherwise does not make a difference.\r\n\r\nBTW, /var/run/cups/cups.sock does exist."}}