[Bug 658464] insanityweb: sane defaults/fall back gracefully if database does not exist/is not writable

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 7 11:12:25 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=658464
  GStreamer | gst-qa-system | unspecified

--- Comment #2 from David Laban <alsuren at gmail.com> 2011-09-07 18:12:21 UTC ---
In other news, manage.py daemon locks up when I try to ^C it. If you can work
out why my changes cause this to happen, I owe you a beer. If not, I'll take
another look tomorrow.

^CStopping the server...

and I get the following backtrace with:

gdb python `pgrep -f manage.py`
...
(gdb) thread apply all bt 

Thread 2 (Thread 0x7f5fef2c4700 (LWP 11821)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00000000004cc968 in PyThread_acquire_lock (lock=0x3b18180,
waitflag=<optimized out>) at ../Python/thread_pthread.h:349
#2  0x00000000004cf7d2 in lock_PyThread_acquire_lock (self=0x356ee58,
args=<optimized out>) at ../Modules/threadmodule.c:47
#3  0x000000000049c375 in call_function (oparg=<optimized out>,
pp_stack=0x7f5fef2c35c0) at ../Python/ceval.c:3750
#4  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#5  0x000000000049e01f in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=1, 
    kws=0x3b1ca70, kwcount=0, defs=0x272c3e8, defcount=1, closure=0x0) at
../Python/ceval.c:3000
#6  0x000000000049c78a in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7f5fef2c37b0, func=<function at remote 0x272d938>)
    at ../Python/ceval.c:3846
#7  call_function (oparg=<optimized out>, pp_stack=0x7f5fef2c37b0) at
../Python/ceval.c:3771
#8  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#9  0x000000000049d3ca in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7f5fef2c38f0, func=<function at remote 0x3686b90>)
    at ../Python/ceval.c:3836
#10 call_function (oparg=<optimized out>, pp_stack=0x7f5fef2c38f0) at
../Python/ceval.c:3771
#11 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#12 0x000000000049d3ca in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7f5fef2c3a30, func=<function at remote 0x272e578>)
    at ../Python/ceval.c:3836
#13 call_function (oparg=<optimized out>, pp_stack=0x7f5fef2c3a30) at
../Python/ceval.c:3771
#14 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#15 0x000000000049e01f in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=1, 
    kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
../Python/ceval.c:3000
#16 0x00000000005306d7 in function_call (func=<function at remote 0x272e488>,
arg=
    (<ActionQueueThread(_Thread__ident=140050011277056, _queue=[],
_Thread__block=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x356ee10>, acquire=<built-in method
acquire of thread.lock object at remote 0x356ee10>,
_Condition__waiters=[<thread.lock at remote 0x356ede0>], release=<built-in
method release of thread.lock object at remote 0x356ee10>) at remote
0x3aa7b50>, _Thread__name='Thread-1', _Thread__daemonic=False,
_lock=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False,
_RLock__owner=None, _RLock__block=<thread.lock at remote 0x356ee28>,
_RLock__count=0) at remote 0x3aa7bd0>, acquire=<instancemethod at remote
0x3a07d20>, _is_owned=<instancemethod at remote 0x3aa9050>,
_release_save=<instanceme---Type <return> to continue, or q <return> to quit---
thod at remote 0x3a07f50>, release=<instancemethod at remote 0x3a07f00>,
_acquire_restore=<instancemethod at remote 0x3a07fa0>, _Verbose__verbose=False,
_Condition__waiters=[<thread.lock at remote 0x356ee58>]) at remote 0x3aa7b90>,
_Thread__started=<_Event(_Verbose__verbose=Fal...(truncated), kw=
    0x0) at ../Objects/funcobject.c:524
#17 0x0000000000423b47 in PyObject_Call (func=<function at remote 0x272e488>,
arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2492
#18 0x00000000004279ef in instancemethod_call (func=<function at remote
0x272e488>, arg=
    (<ActionQueueThread(_Thread__ident=140050011277056, _queue=[],
_Thread__block=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x356ee10>, acquire=<built-in method
acquire of thread.lock object at remote 0x356ee10>,
_Condition__waiters=[<thread.lock at remote 0x356ede0>], release=<built-in
method release of thread.lock object at remote 0x356ee10>) at remote
0x3aa7b50>, _Thread__name='Thread-1', _Thread__daemonic=False,
_lock=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False,
_RLock__owner=None, _RLock__block=<thread.lock at remote 0x356ee28>,
_RLock__count=0) at remote 0x3aa7bd0>, acquire=<instancemethod at remote
0x3a07d20>, _is_owned=<instancemethod at remote 0x3aa9050>,
_release_save=<instancemethod at remote 0x3a07f50>, release=<instancemethod at
remote 0x3a07f00>, _acquire_restore=<instancemethod at remote 0x3a07fa0>,
_Verbose__verbose=False, _Condition__waiters=[<thread.lock at remote
0x356ee58>]) at remote 0x3aa7b90>,
_Thread__started=<_Event(_Verbose__verbose=Fal...(truncated), kw=
    0x0) at ../Objects/classobject.c:2579
#19 0x0000000000423b47 in PyObject_Call (func=<instancemethod at remote
0x3a078c0>, arg=<optimized out>, kw=<optimized out>)
    at ../Objects/abstract.c:2492
#20 0x00000000004970d7 in PyEval_CallObjectWithKeywords (func=<instancemethod
at remote 0x3a078c0>, arg=(), kw=<optimized out>)
    at ../Python/ceval.c:3619
#21 0x00000000004cfaba in t_bootstrap (boot_raw=<optimized out>) at
../Modules/threadmodule.c:428
#22 0x00007f5ffc52ab40 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#23 0x00007f5ffb3bd36d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5ffc92c700 (LWP 11815)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00000000004cc968 in PyThread_acquire_lock (lock=0x3b59c00,
waitflag=<optimized out>) at ../Python/thread_pthread.h:349
#2  0x00000000004cf7d2 in lock_PyThread_acquire_lock (self=0x356ede0,
args=<optimized out>) at ../Modules/threadmodule.c:47
#3  0x000000000049c375 in call_function (oparg=<optimized out>,
pp_stack=0x7fffbcd57d30) at ../Python/ceval.c:3750
#4  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#5  0x000000000049e01f in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=1, 
---Type <return> to continue, or q <return> to quit---
    kws=0x3af8a70, kwcount=0, defs=0x272c3e8, defcount=1, closure=0x0) at
../Python/ceval.c:3000
#6  0x000000000049c78a in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7fffbcd57f20, func=<function at remote 0x272d938>)
    at ../Python/ceval.c:3846
#7  call_function (oparg=<optimized out>, pp_stack=0x7fffbcd57f20) at
../Python/ceval.c:3771
#8  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#9  0x000000000049e01f in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=1, 
    kws=0x2532400, kwcount=0, defs=0x272c668, defcount=1, closure=0x0) at
../Python/ceval.c:3000
#10 0x000000000049c78a in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7fffbcd58110, func=<function at remote 0x272e6e0>)
    at ../Python/ceval.c:3846
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffbcd58110) at
../Python/ceval.c:3771
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
../Python/ceval.c:2412
#13 0x000000000049e01f in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=1, 
    kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
../Python/ceval.c:3000
#14 0x00000000005306d7 in function_call (func=<function at remote 0x272eed8>,
arg=
    (<_MainThread(_Thread__ident=140050236098304,
_Thread__block=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x7f5ffc845108>, acquire=<built-in
method acquire of thread.lock object at remote 0x7f5ffc845108>,
_Condition__waiters=[], release=<built-in method release of thread.lock object
at remote 0x7f5ffc845108>) at remote 0x272ca10>, _Thread__name='MainThread',
_Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False,
_Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x7f5ffc8450f0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7f5ffc8450f0>,
_Condition__waiters=[], release=<built-in method release of thread.lock object
at remote 0x7f5ffc8450f0>) at remote 0x272c950>) at remote 0x272c890>,
_Thread__stderr=<file at remote 0x7f5ffc9051e0>, _Thread__target=None,
_Thread__kwargs={}, _Verbose__verbose=False, _Thread__args=(),
_Thread__stopped=True, _Thread__initialized=True) at remote 0x27...(truncated),
kw=
    0x0) at ../Objects/funcobject.c:524
#15 0x0000000000423b47 in PyObject_Call (func=<function at remote 0x272eed8>,
arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2492
#16 0x00000000004279ef in instancemethod_call (func=<function at remote
0x272eed8>, arg=
    (<_MainThread(_Thread__ident=140050236098304,
_Thread__block=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x7f5ffc845108>, acquire=<built-in
method acquire of thread.lock object at remote 0x7f5ffc845108>,
_Condition__waiters=[], release=<built-in method release of thread.lock object
at remote 0x7f5ffc845108>) at remote 0x272ca10>, _Thread__name='MainThread',
_Thread__daemonic=False, _Thread__started=<_Event(_Verbose__verbose=False,
_Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False,
_Condition__lock=<thread.lock at remote 0x7f5ffc8450f0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7f5ffc8450f0>,
_Condition__waiters=[], release=<built-in method release of thread.loc---Type
<return> to continue, or q <return> to quit---
k object at remote 0x7f5ffc8450f0>) at remote 0x272c950>) at remote 0x272c890>,
_Thread__stderr=<file at remote 0x7f5ffc9051e0>, _Thread__target=None,
_Thread__kwargs={}, _Verbose__verbose=False, _Thread__args=(),
_Thread__stopped=True, _Thread__initialized=True) at remote 0x27...(truncated),
kw=
    0x0) at ../Objects/classobject.c:2579
#17 0x000000000041ed89 in PyObject_Call (func=<instancemethod at remote
0x7f5ffc7d0a00>, arg=<optimized out>, kw=0x0) at ../Objects/abstract.c:2492
#18 0x000000000041ee49 in call_function_tail (callable=<instancemethod at
remote 0x7f5ffc7d0a00>, args=()) at ../Objects/abstract.c:2524
#19 0x0000000000423e81 in PyObject_CallMethod (o=<optimized out>, name=0x561b79
"_shutdown", format=0x54ca37 "") at ../Objects/abstract.c:2601
#20 0x00000000004c1929 in wait_for_thread_shutdown () at
../Python/pythonrun.c:1701
#21 Py_Finalize () at ../Python/pythonrun.c:398
#22 0x000000000041a8aa in Py_Main (argc=<optimized out>, argv=<optimized out>)
at ../Modules/main.c:602
#23 0x00007f5ffb306ead in __libc_start_main (main=<optimized out>,
argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbcd58898)
at libc-start.c:228
#24 0x000000000041a081 in _start ()

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list