Bugzilla – Attachment 97 Details for
Bug 482
Using multiple contexts in different threads generates a segfault.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
Backtrace when using the 'demo' driver.
backtrace-demo.txt (text/plain), 11.29 KB, created by
jens.steinhauser
on 2014-11-18 23:20:23 CET
(
hide
)
Description:
Backtrace when using the 'demo' driver.
Filename:
MIME Type:
Creator:
jens.steinhauser
Created:
2014-11-18 23:20:23 CET
Size:
11.29 KB
patch
obsolete
>#0 0x0000003d5583893a in g_hash_table_iter_init () from /lib64/libglib-2.0.so.0 >#1 0x00007fedd4e48aed in prepare_data (fd=11, revents=0, cb_data=0x7fedcc010610) at src/hardware/demo/demo.c:721 >#2 0x00007fedd4e12ff8 in sr_session_iteration (session=0x7fedcc017460, block=1) at src/session.c:366 >#3 0x00007fedd4e13511 in sr_session_run (session=0x7fedcc017460) at src/session.c:529 >#4 0x00007fedd519cd02 in sigrok::Session::run (this=0x7fedcc0171a0) at bindings/cxx/classes.cpp:956 >#5 0x00007fedd55c94eb in _wrap_Session_run (args=(<Session(this=<SwigPyObject at remote 0x7fedd5aa80c0>) at remote 0x7fedd5a23d50>,)) at sigrok/core/classes_wrap.cpp:48349 >#6 0x00000035750e0bc4 in call_function (oparg=<optimized out>, pp_stack=0x7fedd1930390) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098 >#7 PyEval_EvalFrameEx ( > f=f@entry=Frame 0x7fedcc019560, for file /opt/sigrok/lib/python2.7/site-packages/libsigrok-2.38.2_2.38.2_3.10.2-py2.7-linux-x86_64.egg/sigrok/core/classes.py, line 1409, in run (self=<Session(this=<SwigPyObject at remote 0x7fedd5aa80c0>) at remote 0x7fedd5a23d50>), > throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 >#8 0x00000035750e0980 in fast_function (nk=<optimized out>, na=1, n=1, pp_stack=0x7fedd19304f0, func=<function at remote 0x1426a28>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184 >#9 call_function (oparg=<optimized out>, pp_stack=0x7fedd19304f0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119 >#10 PyEval_EvalFrameEx ( > f=f@entry=Frame 0x7fedcc000ef0, for file ./thread-test.py, line 33, in sample_thread (ctx=<Context(this=<SwigPyObject at remote 0x7fedd5a40930>) at remote 0x7fedd5a47d90>, driver=<Driver(this=<SwigPyObject at remote 0x7fedd5a1dd50>) at remote 0x7fedd5a4a310>, device=<HardwareDevice(this=<SwigPyObject at remote 0x7fedd5aa87b0>) at remote 0x7fedd7612210>), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 >#11 0x00000035750e21dd in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fedddbfd068, argcount=0, kws=kws@entry=0x7fedddbfd068, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, > closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#12 0x000000357506f1cd in function_call (func=<function at remote 0x7fedd75fa848>, arg=(), kw={}) at /usr/src/debug/Python-2.7.5/Objects/funcobject.c:526 >#13 0x000000357504a0d3 in PyObject_Call (func=func@entry=<function at remote 0x7fedd75fa848>, arg=arg@entry=(), kw=kw@entry={}) at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529 >#14 0x00000035750dd417 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fedd19307b0, func=<function at remote 0x7fedd75fa848>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4411 >#15 PyEval_EvalFrameEx ( > f=f@entry=Frame 0x7fedcc000d20, for file /usr/lib64/python2.7/threading.py, line 764, in run (self=<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _Thread__target...(truncated), throwflag=throwflag@entry=0) > at /usr/src/debug/Python-2.7.5/Python/ceval.c:2779 >#16 0x00000035750e0980 in fast_function (nk=<optimized out>, na=1, n=1, pp_stack=0x7fedd1930910, func=<function at remote 0x7fedd3ea5320>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184 >#17 call_function (oparg=<optimized out>, pp_stack=0x7fedd1930910) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119 >#18 PyEval_EvalFrameEx ( > f=f@entry=Frame 0x7fedcc000ae0, for file /usr/lib64/python2.7/threading.py, line 811, in __bootstrap_inner (self=<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _...(truncated), throwflag=throwflag@entry=0) > at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 >#19 0x00000035750e0980 in fast_function (nk=<optimized out>, na=1, n=1, pp_stack=0x7fedd1930a70, func=<function at remote 0x7fedd3ea5488>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184 >#20 call_function (oparg=<optimized out>, pp_stack=0x7fedd1930a70) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119 >#21 PyEval_EvalFrameEx ( > f=f@entry=Frame 0x7fedcc000910, for file /usr/lib64/python2.7/threading.py, line 784, in __bootstrap (self=<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _Thread...(truncated), throwflag=throwflag@entry=0) > at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 >#22 0x00000035750e21dd in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fedddbd00a8, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) > at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#23 0x000000357506f0d8 in function_call (func=<function at remote 0x7fedd3ea5398>, > arg=(<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _Thread__target=<function at remote 0x7fedd75fa848>, _Thread__kwargs={}, _Verbose__verbose=False, _Thre...(truncated), kw=0x0) > at /usr/src/debug/Python-2.7.5/Objects/funcobject.c:526 >#24 0x000000357504a0d3 in PyObject_Call (func=func@entry=<function at remote 0x7fedd3ea5398>, > arg=arg@entry=(<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _Thread__target=<function at remote 0x7fedd75fa848>, _Thread__kwargs={}, _Verbose__verbose=False, _Thre...(truncated), kw=kw@entry=0x0) > at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529 >#25 0x00000035750590c5 in instancemethod_call (func=<function at remote 0x7fedd3ea5398>, > arg=(<Thread(_Thread__ident=140659400054528, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe590>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe590>, _Condition__waiters=[<thread.lock at remote 0x7fedddbbe570>], release=<built-in method release of thread.lock object at remote 0x7fedddbbe590>) at remote 0x7fedd5a47d10>, _Thread__name='Thread-1', _Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7fedddbbe4f0>, acquire=<built-in method acquire of thread.lock object at remote 0x7fedddbbe4f0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7fedddbbe4f0>) at remote 0x7fedd5a47cd0>) at remote 0x7fedd5a47c90>, _Thread__stderr=<file at remote 0x7fedddc181e0>, _Thread__target=<function at remote 0x7fedd75fa848>, _Thread__kwargs={}, _Verbose__verbose=False, _Thre...(truncated), kw=0x0) > at /usr/src/debug/Python-2.7.5/Objects/classobject.c:2602 >#26 0x000000357504a0d3 in PyObject_Call (func=func@entry=<instancemethod at remote 0x7fedd4bcec30>, arg=arg@entry=(), kw=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529 >#27 0x00000035750dc027 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x7fedd4bcec30>, arg=(), kw=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3967 >#28 0x0000003575110822 in t_bootstrap (boot_raw=0x1478cd0) at /usr/src/debug/Python-2.7.5/Modules/threadmodule.c:614 >#29 0x0000003d54407ee5 in start_thread (arg=0x7fedd1931700) at pthread_create.c:309 >#30 0x0000003d53cf4b8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 482
:
96
| 97 |
98