Just for the record, I get the following python traceback when I kill a hanging g-ir-scanner call (first line is there to show the last error before the hang).
Looking at the bottom, it really looks like indeed there is risk for a
hang... a reasonable timeout of the wait would be nice...
Paul
(liferea:29225): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
^CTraceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 66, in <module>
sys.exit(scanner_main(sys.argv))
File
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/scannermain.py",
line 544, in scanner_main
shlibs = create_binary(transformer, options, args)
File
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/scannermain.py",
line 423, in create_binary
gdump_parser.parse()
File
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/gdumpparser.py",
line 115, in parse
tree = self._execute_binary_get_tree()
File
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/gdumpparser.py",
line 177, in _execute_binary_get_tree
subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr)
File "/usr/lib/python3.5/subprocess.py", line 266, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 249, in call
return p.wait(timeout=timeout)
File "/usr/lib/python3.5/subprocess.py", line 1389, in wait
(pid, sts) = self._try_wait(0)
File "/usr/lib/python3.5/subprocess.py", line 1339, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
Paul
signature.asc
Description: OpenPGP digital signature

