{"action":"opened","issue":{"url":"https://api.github.com/repos/threefoldtech/digital_me/issues/24","repository_url":"https://api.github.com/repos/threefoldtech/digital_me","labels_url":"https://api.github.com/repos/threefoldtech/digital_me/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/threefoldtech/digital_me/issues/24/comments","events_url":"https://api.github.com/repos/threefoldtech/digital_me/issues/24/events","html_url":"https://github.com/threefoldtech/digital_me/issues/24","id":350397263,"node_id":"MDU6SXNzdWUzNTAzOTcyNjM=","number":24,"title":"python sys.excepthook problem, causing the actual python executable to terminate (not a python .py exception / clean exit)","user":{"login":"delandtj","id":5995555,"node_id":"MDQ6VXNlcjU5OTU1NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/5995555?v=4","gravatar_id":"","url":"https://api.github.com/users/delandtj","html_url":"https://github.com/delandtj","followers_url":"https://api.github.com/users/delandtj/followers","following_url":"https://api.github.com/users/delandtj/following{/other_user}","gists_url":"https://api.github.com/users/delandtj/gists{/gist_id}","starred_url":"https://api.github.com/users/delandtj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delandtj/subscriptions","organizations_url":"https://api.github.com/users/delandtj/orgs","repos_url":"https://api.github.com/users/delandtj/repos","events_url":"https://api.github.com/users/delandtj/events{/privacy}","received_events_url":"https://api.github.com/users/delandtj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-14T11:58:56Z","updated_at":"2018-08-14T11:58:56Z","closed_at":null,"author_association":"NONE","body":"run under gdb isn't useful (except it shows threads being used):\r\n\r\n```\r\n(gdb) set args /usr/local/bin/js_shell\r\n(gdb) run\r\nStarting program: /usr/bin/python3 /usr/local/bin/js_shell\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n* ***Application started***: jsshell\r\n[New Thread 0x7ffff30fa700 (LWP 29770)]\r\nPython 3.6.6 (default, Jun 27 2018, 14:44:17) \r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.\r\n\r\nIn [1]: [New Thread 0x7ffff26b9700 (LWP 29772)]\r\n[Thread 0x7ffff26b9700 (LWP 29772) exited]\r\n[New Thread 0x7ffff26b9700 (LWP 29773)]\r\n[Thread 0x7ffff26b9700 (LWP 29773) exited]\r\n[New Thread 0x7ffff26b9700 (LWP 29774)]\r\n[Thread 0x7ffff26b9700 (LWP 29774) exited]\r\n[New Thread 0x7ffff26b9700 (LWP 29775)]\r\n[Thread 0x7ffff26b9700 (LWP 29775) exited]\r\n[New Thread 0x7ffff26b9700 (LWP 29781)]\r\n[Thread 0x7ffff26b9700 (LWP 29781) exited]\r\nj.data.schema.test()[New Thread 0x7ffff26b9700 (LWP 29782)]\r\n[Thread 0x7ffff26b9700 (LWP 29782) exited]\r\n[New Thread 0x7ffff26b9700 (LWP 29783)]\r\n[Thread 0x7ffff26b9700 (LWP 29783) exited]\r\nIn [1]: j.data.schema.test()\r\n[New Thread 0x7ffff26b9700 (LWP 29786)]\r\n[New Thread 0x7fffe1fff700 (LWP 29787)]\r\n[New Thread 0x7fffe17fe700 (LWP 29788)]\r\nprop:nr                        (integer)   default:4\r\nprop:date_start                (date)\r\nprop:description               (string)   default:\"\"\r\nprop:token_price               (numeric)   default:b'\\x01\\x97\\x00\\x00\\x00\\x00\\x00\\x00$@'\r\nprop:cost_estimate             (float)\r\nprop:U                         (float)\r\nprop:llist2                    (list(string))\r\nprop:llist                     (list(string))\r\nprop:llist3                    (list(float))   default:[1.0, 2.0, 3.0]\r\nprop:llist4                    (list(string))   default:['1', '2', '3']\r\nprop:llist5                    (list(integer))   default:[1, 2, 3]\r\n\r\n[Thread 0x7fffe17fe700 (LWP 29788) exited]\r\n[Thread 0x7fffe1fff700 (LWP 29787) exited]\r\n[Thread 0x7ffff26b9700 (LWP 29786) exited]\r\n$name$\r\n\r\nError in sys.excepthook:\r\n\r\nOriginal exception was:\r\n[Thread 0x7ffff30fa700 (LWP 29770) exited]\r\n[Inferior 1 (process 29761) exited with code 01]\r\n(gdb) \r\n```\r\n\r\nwithout gdb:\r\n```\r\n(stretch2)root@debianuc:~# js_shell\r\n* ***Application started***: jsshell\r\nPython 3.6.6 (default, Jun 27 2018, 14:44:17) \r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.\r\n\r\nIn [1]: j.data.schema.test()\r\nprop:nr                        (integer)   default:4\r\nprop:date_start                (date)\r\nprop:description               (string)   default:\"\"\r\nprop:token_price               (numeric)   default:b'\\x01\\x97\\x00\\x00\\x00\\x00\\x00\\x00$@'\r\nprop:cost_estimate             (float)\r\nprop:U                         (float)\r\nprop:llist2                    (list(string))\r\nprop:llist                     (list(string))\r\nprop:llist3                    (list(float))   default:[1.0, 2.0, 3.0]\r\nprop:llist4                    (list(string))   default:['1', '2', '3']\r\nprop:llist5                    (list(integer))   default:[1, 2, 3]\r\n\r\n$name$\r\n\r\nError in sys.excepthook:\r\n\r\nOriginal exception was:\r\n(stretch2)root@debianuc:~#\r\n```\r\napparently this is a known issue, an actual bug in the python executable\r\nhttps://github.com/pytest-dev/execnet/issues/30\r\n"}}
{"actor":{"display_login":"delandtj"}}