View Issue Details

IDProjectCategoryView StatusLast Update
0001597ardourbugspublic2007-04-16 16:47
Reporterkomsomolitan Assigned Tomtaht  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Summary0001597: Ardour hangs/runs really slow on export selection
DescriptionSelect a range in one stereo track and right click context menu Range:Export range, go with 44.1kHz 16bit shaped noise dither and put a valid local filesystem path and filename. On clicking export Ardour writes 44 bytes to exported file and big clock starts to run really slow or hangs. Can sometimes be canceled with Esc, sometimes not. Can be killed with kill -HUP.

Exporting region works OK.

No other problems with 2.0beta12 yet.

 
Additional InformationGentoo, kernel 2.6.16-rt29-tglx4 using real-time scheduling.

# ldd /usr/bin/ardour
        linux-gate.so.1 => (0xffffe000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb7f51000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7e9a000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7e40000)
        liblrdf.so.2 => /usr/lib/liblrdf.so.2 (0xb7e32000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7ceb000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7cb5000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7cb2000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7c8e000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7c86000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7c78000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b88000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7a77000)
        libz.so.1 => /lib/libz.so.1 (0xb7a66000)
        libm.so.6 => /lib/libm.so.6 (0xb7a42000)
        libraptor.so.1 => /usr/lib/libraptor.so.1 (0xb7a0b000)
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb79dd000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb79c0000)
        libjack.so.0 => /usr/lib/libjack.so.0 (0xb79a9000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6 (0xb78d0000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1 (0xb78c6000)
        libc.so.6 => /lib/libc.so.6 (0xb77a5000)
        libdl.so.2 => /lib/libdl.so.2 (0xb77a1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb778a000)
        libFLAC.so.7 => /usr/lib/libFLAC.so.7 (0xb775a000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7757000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7752000)
        /lib/ld-linux.so.2 (0xb7f8a000)
TagsNo tags attached.

Activities

mtaht

2007-04-12 12:45

developer   ~0003796

Last edited: 2007-04-12 12:46

A bit more information would be helpful in resolving this issue.

Can you try this again with SVN head?

Can you provide a screenshot of the session in question?

Uploading a whole ardour session is generally too big for mantis, but if you could upload your *.ardour and *.history files from the session's directory that would be good.

2007-04-15 17:45

 

snapshot2.png (151,410 bytes)   
snapshot2.png (151,410 bytes)   

2007-04-15 17:45

 

snapshot3.png (152,897 bytes)   
snapshot3.png (152,897 bytes)   

2007-04-15 17:46

 

history.zip (7,353 bytes)

komsomolitan

2007-04-15 17:49

reporter   ~0003813

I uploaded a clean session's .history and .ardour, where I tried to do range->export. Also two screenshots two minutes apart, so you could appreciate the slowness of the export. This time I could cancel OK.

I will try the SVN head soon as I have the time. Hope this helps.

mtaht

2007-04-15 17:57

developer   ~0003814

So... it's not crashing, just hanging...

According to the rightmost portion of the screenshot, you are completely out of disk space. That would explain a lot about it stopping the export!

mtaht

2007-04-15 18:10

developer   ~0003815

Although it would be better to detect out of disk conditions more robustly
doing so has a bit of runtime cost.

Perhaps we could change the color of the disk message(s) to better alert the user in the next release.

komsomolitan

2007-04-15 18:28

reporter   ~0003816

Don't be hasty.

I quess you are guessing my "disk space problems" from the icon of RSIbreak, which is an app that reminds about keeping typing breaks and enforces them too. Nothing to do with my disk space, which is low-ish, but surely not the point.

/dev/hdi2 12G 9,3G 1,2G 90% /
udev 506M 668K 505M 1% /dev
/dev/hda2 30G 28G 947M 97% /home
/dev/hdi1 137G 121G 17G 89% /mnt/hdi1
/dev/hda1 157G 112G 45G 72% /mnt/hda1
shm 506M 0 506M 0% /dev/shm
/dev/hdb1 58G 50G 7,7G 87% /mnt/hdb


So let's not close this bug yet.

Furthermore, I never said it's a crash, but a hang. Please read the reports more carefully. Thank you for your work etc, but we poor users report bugs a bit more if we're not pooh-poohed away... If there is a more appropriate bug severity class than crash for this, by any means move it there. Mantis isn't what I work with. Ardour could be.

mtaht

2007-04-15 19:44

developer   ~0003817

Last edited: 2007-04-15 20:21

And I do apologize, I was too eager to close this bug as the march towards 2.0 continues.

The screenshot of ardour itself shows you have no disk space left. Ardour thinks you have no disk space.

I note that even though you may show disk space with df, that it is possible that you cannot write enough to do the export due to being out of inodes or due to quotas on your particular user.

as the user (not as root), try copying the ardour directory or at least a sizeable file around in that dir.

Other things to try - assuming the above works - turn off dithering - not needed for a 44.1khz export from a 44.1khz export.

Otherwise, 44.1khz is working for me (rc1+surfaces branch), and I'm low on ideas to try at the moment.

mtaht

2007-04-15 19:59

developer   ~0003818

or, startup ardour in a different directory (not home), like, for example, where you are trying to export to... then open the file...

komsomolitan

2007-04-16 10:12

reporter   ~0003819

Ok, seems it really is a strange diskspace issue.

When starting from /home/jussi and exporting to /home/jussi/Desktop it exported ok, but showed 24h+ one second and 00:00:00:00 the next, and again 24h+ the next... but exported ok. When I started ardour in the session dir, everything worked OK.

So, no bug, just slightly odd behavior (from my point of view). Close away. Thanks for your help.

mtaht

2007-04-16 16:47

developer   ~0003820

Aside from making space checking more robust in the future and looking into how the algorithm checks for space across multiple filesystems, this is issue is resolved for this tester.

Thank you for the feedback!

Issue History

Date Modified Username Field Change
2007-04-07 18:26 komsomolitan New Issue
2007-04-12 12:45 mtaht Note Added: 0003796
2007-04-12 12:46 mtaht Note Edited: 0003796
2007-04-15 17:45 komsomolitan File Added: snapshot2.png
2007-04-15 17:45 komsomolitan File Added: snapshot3.png
2007-04-15 17:46 komsomolitan File Added: history.zip
2007-04-15 17:49 komsomolitan Note Added: 0003813
2007-04-15 17:57 mtaht Note Added: 0003814
2007-04-15 18:10 mtaht Status new => resolved
2007-04-15 18:10 mtaht Fixed in Version => 2.0beta12
2007-04-15 18:10 mtaht Resolution open => no change required
2007-04-15 18:10 mtaht Assigned To => mtaht
2007-04-15 18:10 mtaht Note Added: 0003815
2007-04-15 18:28 komsomolitan Status resolved => feedback
2007-04-15 18:28 komsomolitan Resolution no change required => reopened
2007-04-15 18:28 komsomolitan Note Added: 0003816
2007-04-15 19:44 mtaht Note Added: 0003817
2007-04-15 19:45 mtaht Severity crash => major
2007-04-15 19:59 mtaht Note Added: 0003818
2007-04-15 20:21 mtaht Note Edited: 0003817
2007-04-16 10:12 komsomolitan Note Added: 0003819
2007-04-16 16:47 mtaht Status feedback => closed
2007-04-16 16:47 mtaht Note Added: 0003820
2007-04-16 16:47 mtaht Resolution reopened => no change required