You are here

strange Qtractor crash

Hello RNC,

first of all, congratulation for this incredible digital recording workstation that embed apparently everything we need to record songs !

At the beginning everything was OK : i was adding several tracks and clips. But when the number of clips and or tracks increase (13 tracks, Y clips) the qtractor always crash :
* when i move with horizontal or vertical scrollbar
* when i zoom in or out
* when i scroll inside the thumbview

it's really a pity because i need to work and finish with my song and i am blocked ...
I suppose it is the number of clips or something like that. It is related to the thread creation.

The bug apply both on 0.4.2 (official package of Ubuntu hardy LTS) and also on 0.4.3 i have compiled from the last SVN.

hereafter the log :

22:58:21.580 Logging started --- dim. nov. 29 22:58:21 2009 ---
In file image/qpixmap_x11.cpp, line 1156: Out of memory
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
0xb7fb5410 in __kernel_vsyscall ()
#0  0xb7fb5410 in __kernel_vsyscall ()
#1  0xb7a988eb in waitpid () from /lib/tls/i686/cmov/
#2  0x08069afd in ?? ()
#3  <signal handler called>
#4  0xb6fbd9bc in memcpy () from /lib/tls/i686/cmov/
#5  0xb75017e5 in QPixmap::fromImage () from /usr/lib/
#6  0xb75287ba in QPaintEngine::drawImage () from /usr/lib/
#7  0xb75b7049 in ?? () from /usr/lib/
#8  0xb7531e83 in ?? () from /usr/lib/
#9  0xb7533ebc in QPainter::drawRects () from /usr/lib/
#10 0x080872d8 in ?? ()
#11 0x08135696 in ?? ()
#12 0x08149a1a in ?? ()
#13 0x0814a110 in ?? ()
#14 0x0811ef97 in ?? ()
#15 0xb7814c65 in ?? () from /usr/lib/
#16 0xb78176da in QAbstractScrollArea::qt_metacall ()
   from /usr/lib/
#17 0x0821522f in ?? ()
#18 0x08215e9f in ?? ()
#19 0xb72c4c84 in QMetaObject::activate () from /usr/lib/
#20 0xb72c5852 in QMetaObject::activate () from /usr/lib/
#21 0xb7981bb3 in QAbstractSlider::valueChanged () from /usr/lib/
#22 0xb774ded5 in QAbstractSlider::setValue () from /usr/lib/
#23 0xb774df9b in QAbstractSlider::triggerAction ()
   from /usr/lib/
#24 0xb77e0c62 in ?? () from /usr/lib/
#25 0xb77e1db3 in QScrollBar::mousePressEvent () from /usr/lib/
#26 0xb749bfbd in QWidget::event () from /usr/lib/
#27 0xb774d694 in QAbstractSlider::event () from /usr/lib/
#28 0xb77e146e in QScrollBar::event () from /usr/lib/
#29 0xb745228d in QApplicationPrivate::notify_helper ()
   from /usr/lib/
#30 0xb74564f1 in QApplication::notify () from /usr/lib/
#31 0xb72b1bab in QCoreApplication::notifyInternal ()
   from /usr/lib/
#32 0xb74aeb4a in ?? () from /usr/lib/
#33 0xb74ae197 in QApplication::x11ProcessEvent () from /usr/lib/
#34 0xb74d3684 in ?? () from /usr/lib/
#35 0xb6d42cf6 in g_main_context_dispatch () from /usr/lib/
#36 0xb6d460b3 in ?? () from /usr/lib/
#37 0xb6d4666e in g_main_context_iteration () from /usr/lib/
#38 0xb72d5f12 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/
#39 0xb74d3475 in ?? () from /usr/lib/
#40 0xb72b0f42 in QEventLoop::processEvents () from /usr/lib/
#41 0xb72b104c in QEventLoop::exec () from /usr/lib/
#42 0xb72b381a in QCoreApplication::exec () from /usr/lib/
#43 0xb74516e7 in QApplication::exec () from /usr/lib/
#44 0x0806a26f in ?? ()
#45 0xb6f60450 in __libc_start_main () from /lib/tls/i686/cmov/
#46 0x080699d1 in ?? ()
23:18:15.433 Logging started --- dim. nov. 29 23:18:15 2009 ---
23:18:23.269 Save session: "/home/grandhuit/musique/qtractor/capitalBonheur/capitalBonheur1.qtr".
QThread::start: Thread creation error:

if you want i can make a link with all my demo song in order you could work on it to debug and provide (very soon ????) a patch ...

the project is capitalBonheur1.qtr

thank's a lot if you have a small time to look at this problem.


rncbc's picture

I see an "Out of memory" error up there. Maybe the source of all trouble, maybe just a secondary effect.

I'll try to look into your project. However I can only see this session file:
is it the right one?
[EDIT:] I guess it is not; the capitalB2.qtr session refers to audio files that I could not find up there.

[EDIT2:] The log above seems to show two consecutive sessions that fail in two different ways: the first actually crashes from the suspect OOM issue; the second gets stuck in some sort of processor thread creation blockade. I have a feeling your machine system is running out of resources, free memory being the obvious one. If all else fails, try whether a complete power-cycle (reboot) makes the evil go away :)


Hi Rui

now the ftp is OK :

the project is capitalBonheur1.qtr

your DAW is really incredible, i hope you will find this bug ... (it seems to be in QT thread ?)

is it important to have "unlimited" instead of @audio - memlock 400000 in /etc/security/limits.conf ?

i will try it and let you know
good luck !

rncbc's picture

OK. Got the session file (capitalBonheur1.qtr) and all the audio files (.wav) but one (batterie2.wav). I've managed to replace the latter with something of same length, I suppose (capitalBonheur1-batterie-1.wav). I guess that doesn't matter to the problem at hand. Let's step ahead... hmm, no problems on sight (and ear) and on first auditions/playback, besides the master output gain being set too low. Let's try scrolling and zooming like mad... well, just when I thought all was fine, it started crashing on extreme zoom-out levels :( Is that the same what you're experiencing ??

[UPDATE:] Re. zoom-out related crashes: possibly fixed on svn trunk (qtractor Please check it out ;)

Add new comment