Anki crashing on Linux

jim's Avatar

jim

13 Dec, 2014 11:11 PM

Hi Soren & Damien,

I recently decided to move from OSX to Linux, in particular Manjaro, where Anki is at the current version. I have experienced two crashes, one today, and one yesterday. I am really distressed about this. I have never had Anki crash on me. I have no idea what the pattern is.

1] Crashed while I was changing my global icons in a program called LXAppearance

2] Crashed micro-seconds after starting a youtube video, where as before no sound was playing.

I am not sure how to file crash reports. Please let me know what I can do. I am not able to reproduce the crashing, but I will take whatever steps necessary in order to help track down this behavior, no matter how long it takes. It is absolutely essential that Anki be solid.

  1. 1 Posted by jim on 14 Dec, 2014 01:08 AM

    jim's Avatar

    Just crashed again for the second time today.

    I was using the media keys to change the volume via my keyboard. I am wondering if there is some sort of problem with the sound as I have it configured. I am not new to linux but I suspect that Anki may crashing when ALSA comes out of standby. I will research.

    I installed the Manjaro net edition, which is like the most bare bones one they offer. No GUI apps are installed by default, you just get a shell. I have it up pretty much, but there has been some crackling and popping with my speakers that I need to figure out.

  2. Support Staff 2 Posted by Damien Elmes on 14 Dec, 2014 04:03 PM

    Damien Elmes's Avatar

    It's probably an issue with your Qt libraries. I'm afraid this is out of our control and installing different versions is quite involved, so you may want to consider using Anki via wine instead.

  3. 3 Posted by jim on 14 Dec, 2014 05:18 PM

    jim's Avatar

    There is no way I am using wine.

    My QT Library is 4.8.6...

    The OSX version says it's built on 4.8.2

    Do I have any crash dumps that you can analyze? I didn't see any in my Anki folder, but maybe there's something else? I really need this to work.

  4. Support Staff 4 Posted by Damien Elmes on 15 Dec, 2014 06:29 AM

    Damien Elmes's Avatar

    We're not involved with Qt development, so this is not really something we can debug. It could be either your Qt or PyQt libraries, but short of recompiling them manually yourself, there's not much that can be done I'm afraid.

  5. Support Staff 5 Posted by Damien Elmes on 15 Dec, 2014 06:31 AM

    Damien Elmes's Avatar
  6. 6 Posted by jim on 15 Dec, 2014 07:43 PM

    jim's Avatar

    Thanks for that information! I will launch Anki everytime with gdb from now on.

    I think I may have solved it. I had a couple more crashes yesterday. Each time it crashed, my speakers had just started playing some audio after a long period of silence. A loud POP would occur, and then Anki would crash at that exact moment.

    So I researched it and apparently intel HDA soundcards have a power save feature which is turned on by default. After some tomfoolery I figured out how to shut it off and Anki hasn't crashed yet. Keeping my fingers crossed.

  7. 7 Posted by Soren Bjornstad on 15 Dec, 2014 08:48 PM

    Soren Bjornstad's Avatar

    All right, let us know how it goes.

  8. 8 Posted by jim on 18 Dec, 2014 02:14 AM

    jim's Avatar

    Program received signal SIGSEGV, Segmentation fault. 0xb75e72bc in ?? () from /usr/lib/python2.7/site-packages/sip.so

    This occurred at the exact moment that I muted my soundcard

  9. 9 Posted by jim on 18 Dec, 2014 02:20 AM

    jim's Avatar

    I'm guessing this is a library that anki relies on. Strange.

  10. Support Staff 10 Posted by Damien Elmes on 18 Dec, 2014 12:42 PM

    Damien Elmes's Avatar

    As this appears to be a bug in your system libraries rather than Anki, I'm afraid there's not much we can do to help.

  11. 11 Posted by jim on 20 Dec, 2014 05:55 PM

    jim's Avatar

    Well, I have come to terms that Anki on Linux is a no go. I have not been able to stabilize it on 3 distributions. Arch, Manjaro, and Lubuntu. As much as I love the idea Linux, it seems that I am stuck with Windows, OSX, or Wine as my choices. That or I swap out all my hardware and cross my fingers. Ugh. Or compile PyQt myself.

    So, Anki for Windows and OSX are packaged with the required libraries, and on Linux it uses whatever version of PyQt is installed, even if it's not known to be stable with Anki. If I got that wrong, let me know.

    That really puts my faith and or interest in Linux on hold. Or maybe in interpreted languages. I am not sure which. All I know is... I feel irritated with both. I would really like to get Anki running smoothly on Linux, but I have no idea how.

  12. 12 Posted by Soren Bjornstad on 21 Dec, 2014 08:41 PM

    Soren Bjornstad's Avatar

    Hi Jimbo,

    I have tried Anki on several distributions and probably a good seven installations, including Arch and Mint, and have only had issues with PyQt on one of them, which turned out to be caused by having several versions of Anki installed and was easily resolved by searching for all Anki and PyQt files and making sure they were properly deleted before reinstalling. So I don’t think this is a general problem with Linux, although as you note, while Anki can require a certain version of PyQt as a dependency if it’s packaged, it is stuck depending on the version that is installed on your system; that’s just the way Linux works. (It very rarely actually causes problems, in my experience, and Windows can also have these problems when installers automatically overwrite files needed by other applications with different versions.)

    If your problem is on Arch Linux, how about you try asking on the Arch forums? Most distro forums are quite helpful and may be able to figure out the issue for you.

    Compiling PyQt yourself also probably won’t be a huge deal, if that’s what it comes down to – most package managers even have commands you can use to automatically install all the dependencies for a package that you need to compile yourself.

  13. 13 Posted by jim on 21 Dec, 2014 09:53 PM

    jim's Avatar

    Have you tried leaving Anki open for an extended period of time?

    On Manjaro and Arch I was getting crashes a couple times while studying, typically with altering my soundcard, as I said. However, I had yet to experience that on Lubuntu.

    Yet, on Lubuntu, I decided to leave my computer on with Anki open all night as a test. I turned off all power management, so the computer didn't go into standby. Anki was the only (gui) application open. And, when I woke up, Anki had disappeared, yet my profile had the collection.anki2-shm and wal files still "open".

  14. 14 Posted by Soren Bjornstad on 22 Dec, 2014 03:44 PM

    Soren Bjornstad's Avatar

    I do occasionally find that Anki closes by itself – not very often, though. I should try to run it in gdb for a while and figure out what’s causing that.

  15. 15 Posted by jim on 28 Dec, 2014 12:42 AM

    jim's Avatar

    You had a chance to do this yet Soren? If not, maybe put a sticky up to run Anki overnight. Or not. Whatever suits you.

  16. 16 Posted by Soren Bjornstad on 28 Dec, 2014 07:25 PM

    Soren Bjornstad's Avatar

    Thanks for the reminder – I’ll take a look.

  17. 17 Posted by Soren Bjornstad on 04 Jan, 2015 03:20 PM

    Soren Bjornstad's Avatar

    I finally had it running in gdb when it crashed (while I took a break
    from studying), and got a backtrace:

    ...
    QPainter::end: Painter ended with 2 saved states
    
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff556b73e in ?? () from /usr/lib/python2.7/dist-packages/sip.so
    (gdb) bt
    #0  0x00007ffff556b73e in ?? () from /usr/lib/python2.7/dist-packages/sip.so
    #1  0x00007ffff23afce9 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
    #2  0x00007ffff13db56f in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #3  0x00007ffff23a50ab in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
    #4  0x00007ffff138be2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #5  0x00007ffff13924a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #6  0x00007ffff23b6186 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
    #7  0x00007ffff2f444dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #8  0x00007ffff13df862 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #9  0x00007ffff1405dd5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #10 0x00007ffff142db02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #11 0x00007ffff2b07e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #12 0x00007ffff2b08048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #13 0x00007ffff2b080ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #14 0x00007ffff2f717a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #15 0x00007ffff142dbb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
    #16 0x00007ffff2f430af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #17 0x00007ffff2f433a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #18 0x00007ffff2f48b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #19 0x00007ffff23721f0 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
    #20 0x000000000052c6d5 in PyEval_EvalFrameEx ()
    #21 0x000000000052cf32 in PyEval_EvalFrameEx ()
    #22 0x000000000052cf32 in PyEval_EvalFrameEx ()
    #23 0x000000000055c594 in PyEval_EvalCodeEx ()
    #24 0x00000000005b7392 in PyEval_EvalCode ()
    #25 0x0000000000469663 in ?? ()
    #26 0x00000000004699e3 in PyRun_FileExFlags ()
    #27 0x0000000000469f1c in PyRun_SimpleFileExFlags ()
    #28 0x000000000046ab81 in Py_Main ()
    #29 0x00007ffff7614ec5 in __libc_start_main (main=0x46ac3f <main>, argc=2, argv=0x7fffffffe0d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
          stack_end=0x7fffffffe0c8) at libc-start.c:287
    #30 0x000000000057497e in _start ()
    

    I had thought this occurred at random times, but after you said
    something about it happening when you muted audio, I noticed that this
    time I had been adjusting my music, and it is also a sip problem.

    Not sure if there’s anything Anki can do about this, but it does seem
    odd that changing the system audio output would make Anki crash when
    Anki is not even playing audio at the time.

  18. Support Staff 18 Posted by Damien Elmes on 05 Jan, 2015 01:17 AM

    Damien Elmes's Avatar

    X11 is probably sending the app an event that PyQt is not handling correctly.

  19. 19 Posted by Casey Jones on 05 Jan, 2015 05:12 PM

    Casey Jones's Avatar

    Wow, sorry I hadn''t noticed this thread before posting mine:
    https://anki.tenderapp.com/discussions/ankidesktop/11260-segmentati...
    Same issue, some more traces under my issue. Funny nobody posted about this before. I've been having this problem quite a while and had thought I was all alone...

  20. 20 Posted by Casey Jones on 06 Jan, 2015 10:23 AM

    Casey Jones's Avatar

    I had double-posted my own issue because my markdown wasn't parsed the first time, but unluckily for me, Soren, you deleted my second, corrected one, which I'd linked to just above. In order to keep everything in one place, I'll post my collection of backtraces (+2 new ones) once again here in this issue:

    Anki has been unexpectedly segfaulting for me under Arch Linux several times a day for many months. The problem seems related to keyboard events while anki is waiting for sound to finish playing. It often crashes when I'm adjusting my volume or brightness, or trying to paste some text.

    Program received signal SIGSEGV, Segmentation fault.
    0xb76f42dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #0 0xb76f42dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5eccd1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb52f9fb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5ecda1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb529e88a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb52a56e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb60081eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb68ad23a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb529cc17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb52ff029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb5327441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5350cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb65569c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb6556ce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb6556db6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb68def49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5350d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb68abbcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb68abf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb68b1c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb529c9a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #0 0xb76f42dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5eccd1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb52f9fb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5ecda1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb529e88a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb52a56e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb60081eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb68ad23a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb529cc17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb52ff029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb5327441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5350cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb65569c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb6556ce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb6556db6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb68def49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5350d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb68abbcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb68abf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb68b1c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb529c9a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb60064b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb18d6 in PyRun_StringFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7e94f1a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7e964b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #33 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #34 0xb7e964b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #35 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #36 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #37 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #38 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #39 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #40 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #41 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #42 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xab89ab40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<string>", line 1 in <module>
      File "/usr/lib/python2.7/bdb.py", line 400 in run
      File "/usr/lib/python2.7/pdb.py", line 1238 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #0 0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5ed3d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb5300fb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5ed4a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb52a588a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb52ac6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb600f1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb68b423a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb52a3c17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb5306029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb532e441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5357cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb655d9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb655dce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb655ddb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb68e5f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5357d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb68b2bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb68b2f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb68b8c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb52a39a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb600d4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xab873b40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #0 0xb7fdcbac in __kernel_vsyscall ()
    #1 0xb7dc0566 in raise () from /usr/lib/libpthread.so.0
    #2 0xb7fc5c45 in ?? () from /usr/lib/python2.7/site-packages/faulthandler.so
    #3 <signal handler called>
    #4 0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #5 0xb5ed1d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #6 0xb52fefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #7 0xb5ed2a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #8 0xb52a388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #9 0xb52aa6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #10 0xb600d1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #11 0xb68b223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #12 0xb52a1c17 in ?? () from /usr/lib/libQtGui.so.4
    #13 0xb5304029 in ?? () from /usr/lib/libQtGui.so.4
    #14 0xb532c441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #15 0xb5355cc1 in ?? () from /usr/lib/libQtGui.so.4
    #16 0xb655b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #17 0xb655bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #18 0xb655bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #19 0xb68e3fde in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #20 0xb5355d96 in ?? () from /usr/lib/libQtGui.so.4
    #21 0xb68b5eda in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #22 0xb6b60f8e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #23 0xb7e37b4b in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e964b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7e21a75 in function_call () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7e09af7 in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #33 0xb7df9d24 in call_function_tail () from /usr/lib/libpython2.7.so.1.0
    #34 0xb7df9dbb in PyObject_CallFunction () from /usr/lib/libpython2.7.so.1.0
    #35 0xb73c0bcf in ?? () from /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
    #36 0xb73237ef in ?? () from /usr/lib/libsqlite3.so.0
    #37 0xb732c2c6 in sqlite3_step () from /usr/lib/libsqlite3.so.0
    #38 0xb73c62db in pysqlite_step () from /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
    #39 0xb73c471a in _pysqlite_query_execute ()
       from /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
    #40 0xb73c4ceb in pysqlite_cursor_execute ()
       from /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
    #41 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #42 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #43 0xb7e8fe6c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
    #44 0xb7df9bee in PyObject_CallObject () from /usr/lib/libpython2.7.so.1.0
    #45 0xb73c06bf in pysqlite_connection_execute ()
       from /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
    #46 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #47 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #48 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #49 0xb7e21b53 in function_call () from /usr/lib/libpython2.7.so.1.0
    #50 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #51 0xb7e92e6f in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #52 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #53 0xb7e964b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #54 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #55 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #56 0xb7e21a75 in function_call () from /usr/lib/libpython2.7.so.1.0
    #57 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #58 0xb7e09af7 in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
    #59 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #60 0xb7e8fe6c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
    #61 0xb77ad0a4 in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #62 0xb6bb121e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #63 0xb6bb1582 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #64 0xb6bb21e4 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #65 0xb68b92da in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) ()
       from /usr/lib/libQtCore.so.4
    #66 0xb68c833d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
       from /usr/lib/libQtCore.so.4
    #67 0xb529c339 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
    #68 0xb529e11e in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
    #69 0xb5742223 in ?? () from /usr/lib/libQtGui.so.4
    #70 0xb5747561 in ?? () from /usr/lib/libQtGui.so.4
    #71 0xb574b5ea in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
    #72 0xb60d5e4a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #73 0xb52fe779 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #74 0xb574bb52 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #75 0xb60d48ca in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #76 0xb52a388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #77 0xb52ac404 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #78 0xb600d1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #79 0xb68b223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #80 0xb52a9e21 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
    #81 0xb532d252 in ?? () from /usr/lib/libQtGui.so.4
    #82 0xb532bba5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #83 0xb5355cc1 in ?? () from /usr/lib/libQtGui.so.4
    #84 0xb655b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #85 0xb655bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #86 0xb655bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #87 0xb68e3f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #88 0xb5355d96 in ?? () from /usr/lib/libQtGui.so.4
    #89 0xb68b0bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #84 0xb655b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #85 0xb655bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #86 0xb655bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #87 0xb68e3f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #88 0xb5355d96 in ?? () from /usr/lib/libQtGui.so.4
    #89 0xb68b0bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    ---Type <return> to continue, or q <return> to quit---
    #90 0xb68b0f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #91 0xb68b6c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #92 0xb52a19a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #93 0xb600b4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #94 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #95 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #96 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #97 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #98 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #99 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #100 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #101 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #102 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #103 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #104 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #105 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa47eb40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/progress.py", line 127 in update
      File "/usr/share/anki/aqt/progress.py", line 146 in _maybeShow
      File "/usr/share/anki/aqt/progress.py", line 54 in _dbProgress
      File "/usr/share/anki/anki/db.py", line 39 in execute
      File "/usr/share/anki/anki/db.py", line 87 in list
      File "/usr/share/anki/anki/collection.py", line 714 in fixIntegrity
      File "/usr/share/anki/aqt/main.py", line 915 in onCheckDB
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb77a714c in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #0 0xb77a714c in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb77a731e in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #2 0xb5f1cd1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #3 0xb5349fb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #4 0xb5f1da1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #5 0xb52ee88a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #6 0xb52f56e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #7 0xb60581eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #8 0xb693d23a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #9 0xb52ecc17 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb534f029 in ?? () from /usr/lib/libQtGui.so.4
    #11 0xb5377441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #12 0xb53a0cc1 in ?? () from /usr/lib/libQtGui.so.4
    #13 0xb65e69c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #14 0xb65e6ce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #15 0xb65e6db6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #16 0xb696ef49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #17 0xb53a0d96 in ?? () from /usr/lib/libQtGui.so.4
    #18 0xb693bbcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb693bf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #20 0xb6941c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #21 0xb52ec9a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #22 0xb60564b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #23 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #33 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #34 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa80eb40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5ed1d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb52fefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5ed2a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb52a388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb52aa6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb600d1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb68b223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb52a1c17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb5304029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb532c441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5355cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb655b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb655bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb655bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb68e3f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5355d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb68b0bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb68b0f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb68b6c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb52a19a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb600b4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa8bcb40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb77a62dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5ed1d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb52fefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5ed2a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb52a388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb52aa6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb600d1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb68b223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb52a1c17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb5304029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb532c441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5355cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb655b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb655bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb655bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb68e3f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5355d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb68b0bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb68b0f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb68b6c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb52a19a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb600b4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb2c1d in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb2e4b in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3560 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa8a7b40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "<stdin>", line 1 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb78572dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #0 0xb78572dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5f81d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb53aefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5f82a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb5351c17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb53b4029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb53dc441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5405cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb660b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb660bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb660bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb6993f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5405d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb6960bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb6960f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb6966c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb53519a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb60bb4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb1c3f in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb3023 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3587 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa5dbb40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "/usr/bin/anki", line 8 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb78572dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1 0xb5f81d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2 0xb53aefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3 0xb5f82a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4 0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5 0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6 0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7 0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8 0xb5351c17 in ?? () from /usr/lib/libQtGui.so.4
    #9 0xb53b4029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb53dc441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5405cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb660b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb660bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb660bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb6993f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5405d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb6960bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb6960f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb588567e in QDialog::exec() () from /usr/lib/libQtGui.so.4
    #20 0xb5f81079 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #21 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #22 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e21a75 in function_call () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e09af7 in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7df9c4d in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7e8fe6c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
    #29 0xb785e0a4 in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #30 0xb6c6121e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #31 0xb6c61582 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #32 0xb6c621e4 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
    #33 0xb69692da in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) ()
       from /usr/lib/libQtCore.so.4
    #34 0xb697833d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
       from /usr/lib/libQtCore.so.4
    #35 0xb5a56582 in QShortcut::activated() () from /usr/lib/libQtGui.so.4
    #36 0xb5389e3f in QShortcut::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #37 0xb61de4da in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #38 0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #39 0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #40 0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #41 0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #42 0xb538c169 in ?? () from /usr/lib/libQtGui.so.4
    #43 0xb538c305 in ?? () from /usr/lib/libQtGui.so.4
    #44 0xb535c0f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #45 0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #46 0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #47 0xb5351c17 in ?? () from /usr/lib/libQtGui.so.4
    #48 0xb5402d9d in ?? () from /usr/lib/libQtGui.so.4
    #49 0xb5403297 in ?? () from /usr/lib/libQtGui.so.4
    #50 0xb53db8ea in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #51 0xacbb12a0 in processEvent (this=0xcbcb1b0)
        at /var/abs/local/yaourtbuild/yaourt-tmp-casey/aur-fcitx-git/src/fcitx-build/src/frontend/qt/../../../../fcitx/src/frontend/qt/qfcitxinputcontext.h:75
    #52 ProcessKeyWatcher::qt_static_metacall (_o=0xcbcb1b0, _id=0, _a=<optimized out>,
        _c=<optimized out>)
        at /var/abs/local/yaourtbuild/yaourt-tmp-casey/aur-fcitx-git/src/fcitx-build/src/frontend/qt/moc_qfcitxinputcontext.cxx:48
    #53 0xb697445a in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
    #54 0xb697c919 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
    #55 0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #56 0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #57 0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #58 0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #59 0xb6965931 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
    #60 0xb6965e85 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
    #61 0xb6993df3 in ?? () from /usr/lib/libQtCore.so.4
    #62 0xb660b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #63 0xb660bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #64 0xb660bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #65 0xb6993f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #66 0xb5405d96 in ?? () from /usr/lib/libQtGui.so.4
    #67 0xb6960bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #68 0xb6960f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #69 0xb6966c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #70 0xb53519a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #71 0xb60bb4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #72 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #73 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #74 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #75 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #76 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #77 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #78 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #79 0xb7eb1c3f in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
    #80 0xb7eb3023 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #81 0xb7eb3587 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #82 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #83 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa72bb40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/editor.py", line 613 in onHtmlEdit
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "/usr/bin/anki", line 8 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb78572dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1  0xb5f81d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2  0xb53aefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3  0xb5f82a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4  0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5  0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6  0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7  0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8  0xb5351c17 in ?? () from /usr/lib/libQtGui.so.4
    #9  0xb53b4029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb53dc441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5405cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb660b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb660bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb660bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb6993f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5405d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb6960bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb6960f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb6966c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb53519a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb60bb4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb1c3f in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb3023 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3587 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xa99c5b40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "/usr/bin/anki", line 8 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb78572dc in ?? () from /usr/lib/python2.7/site-packages/sip.so
    #1  0xb5f81d1e in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #2  0xb53aefb8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #3  0xb5f82a1a in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #4  0xb535388a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
       from /usr/lib/libQtGui.so.4
    #5  0xb535a6e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #6  0xb60bd1eb in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #7  0xb696223a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
       from /usr/lib/libQtCore.so.4
    #8  0xb5351c17 in ?? () from /usr/lib/libQtGui.so.4
    #9  0xb53b4029 in ?? () from /usr/lib/libQtGui.so.4
    #10 0xb53dc441 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    #11 0xb5405cc1 in ?? () from /usr/lib/libQtGui.so.4
    #12 0xb660b9c4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #13 0xb660bce9 in ?? () from /usr/lib/libglib-2.0.so.0
    #14 0xb660bdb6 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #15 0xb6993f49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #16 0xb5405d96 in ?? () from /usr/lib/libQtGui.so.4
    #17 0xb6960bcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #18 0xb6960f5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
       from /usr/lib/libQtCore.so.4
    #19 0xb6966c06 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #20 0xb53519a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
    #21 0xb60bb4b9 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
    #22 0xb7e37aee in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
    #23 0xb7e95a7a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #24 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #25 0xb7e965b0 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
    #26 0xb7e97582 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
    #27 0xb7e9768e in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #28 0xb7eb0889 in run_mod () from /usr/lib/libpython2.7.so.1.0
    #29 0xb7eb1c3f in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
    #30 0xb7eb3023 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #31 0xb7eb3587 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
    #32 0xb7ec50a5 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #33 0x08048587 in main ()
    
    Fatal Python error: Segmentation fault
    
    Thread 0xaa9b6b40 (most recent call first):
      File "/usr/lib/python2.7/threading.py", line 340 in wait
      File "/usr/lib/python2.7/threading.py", line 621 in wait
      File "/usr/share/anki/anki/sound.py", line 90 in run
      File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
    
    Current thread 0xb7ba0700 (most recent call first):
      File "/usr/share/anki/aqt/__init__.py", line 257 in _run
      File "/usr/share/anki/aqt/__init__.py", line 194 in run
      File "/usr/bin/anki", line 8 in <module>
    
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fdcbac in __kernel_vsyscall ()
    
  21. 21 Posted by jim on 06 Jan, 2015 06:51 PM

    jim's Avatar

    Yeah, definitely a sound and/or keyboard thing. Thanks for posting Casey.

    I tried using Wine with Anki and it crashed as while, I might add. In fact, Wine crashed multiple times doing a variety of things, so I just gave up on it.

    Your best bet might be to use VirtualBox alone with something like Windows 7 =/

    In my case, I switched back to Windows. It's actually not so bad. I am spending much less time tweaking things, at least. :P

  22. 22 Posted by Casey Jones on 06 Jan, 2015 08:04 PM

    Casey Jones's Avatar

    Never! [-: I like that I can use Anki on windows in case I happen to be on it, but I'm not going to change my primary operating system just to use it.

    Anyway, here's a kludge you can try. Comment out line 90 in "/usr/share/anki/anki/sound.py", by inserting the pound/hash/number (#) symbol at the beginning:

    # mplayerEvt.wait()
    

    This is working fine for me so far. For those of you who know the codebase, is there anything this will break?

  23. 23 Posted by Soren Bjornstad on 07 Jan, 2015 01:18 AM

    Soren Bjornstad's Avatar

    Also, Damien, if there isn’t really a good fix for this right now, would it be possible to make a simple add-on that would increase the save frequency? I wouldn’t really mind it crashing that much if I didn’t lose up to five minutes of work every time.

  24. 24 Posted by all3fox on 07 Jan, 2015 08:49 PM

    all3fox's Avatar

    Hello all, confirming that Anki sometimes crushes for me on Arch Linux.

    It keeps happening under one condition and one condition only: *sometimes* when I change my language layout with "Ctrl + Space" while the keyboard is focused on some input field in the card, the program freezes for a second or two and then crashes.

    I would love to investigate but I keep hearing rumors you are about to roll a complete overhaul of Anki with a new major version so I am reluctant to be digging into the potentially soon-to-become-old codebase.

  25. 25 Posted by jim on 08 Jan, 2015 10:25 PM

    jim's Avatar

    I watched an interview from DebConf 2014 with Linus where he is askedabout the problem of libraries being updated and breaking packages. He did talk about Docker being a possible solution for this, where packages come with the correct library versions and are I guess sandboxed from the system libraries, like how it is with Anki on Windows and OSX.

    Here is the link: http://youtu.be/1Mg5_gxNXTo?t=25m48s

  26. 26 Posted by jim on 08 Jan, 2015 10:27 PM

    jim's Avatar

    His response is "some day" which is fair enough

  27. Support Staff 27 Posted by Damien Elmes on 09 Jan, 2015 10:47 PM

    Damien Elmes's Avatar

    Soren: does the fix described in 22 help in your case? No objections to increasing the save frequency in an add-on - do you think you could tackle that? Just need to override collection.py:autosave()

    all3: the stable branch will be around for some time yet, but that sounds like a bug in Qt or PyQt, and may be quite hard to get to the bottom of.

  28. 28 Posted by Casey Jones on 10 Jan, 2015 01:15 AM

    Casey Jones's Avatar

    update from my end:

    I did seem to go a lot longer without crashing after commenting out line 90 (mplayerEvt.wait()), but eventually it just crashed on the next line (91: mplayerEvt.clear()) instead, and commenting that out as well caused even more frequent crashes at line 95 -- all the same sip.so segfault.

    I'm trying a new tack now. First I compiled the latest sip.so from the official mercurial repo and tested using it, but segfaults persisted. Now I've downgraded from the latest (4.16.5) to an older version I was lucky enough to have found I still had a package of (4.16.3), from September. So far, so good, after about six hours, a couple of standbys (which I had forgotten to mention had also occasionally been triggering segfaults), and a hundred or so reviews -- but I'll check back in again soon with a final verdict.

    If it is indeed a sip.so regression, the proper channel seems to be the PyQT mailing list:
    http://www.riverbankcomputing.com/mailman/listinfo/pyqt
    It will probably start affecting more and more linux distributions as they push out newer versions of SIP.

    @Damian, if that is the case, I would really appreciate if you could help me report the bug to the PyQT people. Whenever you can find the time, of course. I've perused most of the code in anki/sound.py now, but my understanding is only superficial, since I've never done any threaded programming before on my own. I think you would do a much better job at explaining what is actually happening, or should be happening, at the point when it's crashing. For my part, I would provide any information I could to help them reproduce the bug, and could test patches.

  29. 29 Posted by Casey Jones on 10 Jan, 2015 02:11 AM

    Casey Jones's Avatar

    Well, no dice with 4.16.3, I guess. -: I'm missing a package of 4.16.2, but do have one of 4.16.1. Just downgraded to it and got past the card which had consistently (thrice) caused crashes for me with 4.16.3...

  30. 30 Posted by jim on 10 Jan, 2015 02:53 AM

    jim's Avatar

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac