-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTODO-python_segfaults.txt
68 lines (65 loc) · 4.45 KB
/
TODO-python_segfaults.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Note, these only ever occurred when running a massive amount of multiple nodes in the same process. They have not happened since in testing I now start only 10 nodes in a single process and start many processes instead. Still, the bug may exist even without multiple nodes in one process, so this should be investigated.
[COMMIT:0e042bb6b3d3be2ecde619d6ed42f8b794eda864]
future: Task(<process_connection_count>)<exception=AttributeError("'Future' object has no attribute 'clauses'",)>
Traceback (most recent call last):
File "/usr/lib64/python3.4/asyncio/tasks.py", line 317, in _step
result = coro.throw(exc)
File "/home/mdev/src/l/morphis/chord.py", line 319, in process_connection_count
yield from self._process_connection_count(needed)
File "/home/mdev/src/l/morphis/chord.py", line 379, in _process_connection_count
rs = yield from self.loop.run_in_executor(None, dbcall)
File "/usr/lib64/python3.4/asyncio/futures.py", line 348, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib64/python3.4/asyncio/tasks.py", line 370, in _wakeup
value = future.result()
File "/usr/lib64/python3.4/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib64/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/mdev/src/l/morphis/chord.py", line 372, in dbcall
r = q.all()
File "/usr/lib64/python3.4/site-packages/sqlalchemy/orm/query.py", line 2323, in all
return list(self)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/orm/query.py", line 2441, in __iter__
return self._execute_and_instances(context)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/orm/query.py", line 2456, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/engine/base.py", line 841, in execute
return meth(self, multiparams, params)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/engine/base.py", line 931, in _execute_clauseelement
inline=len(distilled_params) > 1)
File "<string>", line 1, in <lambda>
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/elements.py", line 493, in compile
return self._compiler(dialect, bind=bind, **kw)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/elements.py", line 499, in _compiler
return dialect.statement_compiler(dialect, self, **kw)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/compiler.py", line 395, in __init__
Compiled.__init__(self, dialect, statement, **kwargs)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/compiler.py", line 199, in __init__
self.string = self.process(self.statement, **compile_kwargs)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/compiler.py", line 222, in process
return obj._compiler_dispatch(self, **kwargs)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/visitors.py", line 80, in _compiler_dispatch
return meth(self, **kw)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/sql/compiler.py", line 1559, in visit_select
if select._order_by_clause.clauses:
AttributeError: 'Future' object has no attribute 'clauses'
[COMMIT:9a8a2b7e584b9012c061decf356111dc6ef379f2]
(no segfault yet, but froze upload and is similar to above exception and is strange!)
future: Task(<do_stabilize>)<exception=AttributeError("'Future' object has no attribute 'path'",)>
Traceback (most recent call last):
File "/usr/lib64/python3.4/asyncio/tasks.py", line 319, in _step
result = coro.send(value)
File "/home/mdev/src/l/morphis/chord.py", line 296, in do_stabilize
yield from self.tasks.perform_stabilize()
File "/home/mdev/src/l/morphis/chord_tasks.py", line 121, in perform_stabilize
furthest_nodes, new_nodes = yield from self._perform_stabilize(node_id)
File "/home/mdev/src/l/morphis/chord_tasks.py", line 181, in _perform_stabilize
self.send_find_node(node_id, input_trie=input_trie)
File "/home/mdev/src/l/morphis/chord_tasks.py", line 758, in send_find_node
rnodes = [vpeer.peer for vpeer in result_trie if vpeer and vpeer.path]
File "/home/mdev/src/l/morphis/chord_tasks.py", line 758, in <listcomp>
rnodes = [vpeer.peer for vpeer in result_trie if vpeer and vpeer.path]
AttributeError: 'Future' object has no attribute 'path'