Launchpad has imported 11 comments from the remote bug at http://bugzilla.audacityteam.org/show_bug.cgi?id=274.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-01-23T11:54:43+00:00 Benjamin Drung wrote: When exporting a file to WMA (version 2), audacity crashes at the end of the file. I can reproduce it with different sound files and on Ubuntu 10.10 (maverick) and Ubuntu 11.04 (natty). You can use Cellule from Silence [1] as test case. This is probably not a FFmpeg bug, but a bug in audacity. More information can be found in Launchpad (including stacktrace): https://launchpad.net/bugs/695648 [1] http://www.jamendo.com/en/download/track/5339 Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/6 ------------------------------------------------------------------------ On 2011-02-06T22:18:26+00:00 Gale wrote: The crashes seem to occur with any 1.3.12 Beta/1.3.13 alpha build of Audacity and any compatible version of FFmpeg. This seems to be an Audacity-on-Linux bug to do with the standard export mechanism (using FFmpeg at the command line either from a terminal and from Audacity's command line encoder works fine). @Benjamin: We also have issues with incorrect AAC exports and AAC import crashes (but this may be crashing of Audacity's own faulty AAC exports). It's known that there is a problem with Audacity's interaction with the native FFmpeg AAC . encoder. IIRC, LRN said this would be hard to fix. I believe the older proprietary AAC encoder does not have this problem. Does the Ubuntu-distributed FFmpeg use the native FFmpeg AAC encoder or the older one? To use the older encoder I understand you have to compile FFmpeg with --disable-encoder=aac. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/7 ------------------------------------------------------------------------ On 2011-02-07T05:42:04+00:00 Benjamin Drung wrote: --disable-encoder=aac is only set on ia64. You can check that by looking at debian/confflags in the FFmpeg source package or on git [1,2]. [1] http://git.debian.org/?p=pkg-multimedia/ffmpeg.git;a=shortlog;h=refs/heads/ubuntu [2] http://git.debian.org/?p=pkg-multimedia/ffmpeg.git;a=blob;f=debian/confflags;h=da57f23aa2d3330b436121eb37a481b544928099;hb=012f3392c047e6917b9908b35b17623d0ec546c7 Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/8 ------------------------------------------------------------------------ On 2011-02-07T10:18:28+00:00 Gale wrote: (In reply to comment #2) > --disable-encoder=aac is only set on ia64 Sorry if it is a silly question, but what does that mean in practice for a basic Linux user who will not compile FFmpeg themseleves? Does it mean that a user installing Ubuntu or Debian on ia64 will be using the old aac encoder, otherwise the native ffmpeg aac encoder? In other words when I export AAC from Audacity on a i386 machine pointing to the Ubuntu-distributed FFmpeg, I am using the native FFmpeg encoder? Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/9 ------------------------------------------------------------------------ On 2011-02-07T10:33:03+00:00 Benjamin Drung wrote: Yes, a user installing Ubuntu or Debian on ia64 will be using the old aac encoder, otherwise the native ffmpeg aac encoder. Therefore most users (which tend to either use i386 or amd64) will use the native FFmpeg encoder. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/10 ------------------------------------------------------------------------ On 2011-03-08T00:21:34+00:00 Leland-audacityteam wrote: Created an attachment (id=107) A possible fix for the crash Benjamin, Can you try applying the attached patch and see if it fixes the crash? Incidentally, the same crash happens on OSX when using a current FFmpeg version. Thanks, Leland Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/11 ------------------------------------------------------------------------ On 2011-03-08T08:08:07+00:00 Benjamin Drung wrote: After a two hours (yes, hours!) export of the test case (see Description), it didn't crashed at the end. So yes, your patch fixes this bug. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/12 ------------------------------------------------------------------------ On 2011-03-08T23:12:51+00:00 Leland-audacityteam wrote: (In reply to comment #6) Geez, how large was the file? Is this a case where you were talking about exports taking forever? Leland Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/13 ------------------------------------------------------------------------ On 2011-03-09T04:01:54+00:00 Gale wrote: (In reply to comment #7) > Geez, how large was the file? Is this a case where you were talking about > exports taking forever? It's only a 3 min 40 secs file. Which FFmpeg were you using, Benjamin? I'll try Leland's patch later with the Ubuntu-distributed FFmpeg which is > 0.5, but definitely there is no speed issue exporting WMA in the Ubuntu packaged Audacity 1.3.12 - just a crash at the end. There *is* an issue with slow AAC exports but as I understand it, only if you use FFmpeg's native encoder. That does not play nicely with Audacity: http://manual.audacityteam.org/m/index.php?title=FAQ:Installation_and_Plug-Ins#2009 but I don't have enough details to document it ATM. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/14 ------------------------------------------------------------------------ On 2011-03-09T05:43:19+00:00 Benjamin Drung wrote: I am using FFmpeg 4:0.6-2ubuntu6 shipped by Ubuntu 10.10 (maverick). I tested the patch with the audacity Ubuntu package 1.3.12-14ubuntu1 (which includes the patch from bug #233) and the WMA export took 11 seconds. All exports took between 6 and 11 seconds and the resulting export were ok, except the AAC export: The AAC export took around two minutes and the resulting file was too small and couldn't be play-backed. Then I tested trunk with the patch from bug #233: All exports were very slow (MP3 > 1 min, FLAC > 2 min) and the resulting files contained silence. There must be a regression, but that's unrelated to this bug report. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/15 ------------------------------------------------------------------------ On 2011-03-09T06:11:57+00:00 Benjamin Drung wrote: I open bug #311 dealing with the slow export. Reply at: https://bugs.launchpad.net/audacity/+bug/695648/comments/16 ** Changed in: audacity Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/695648 Title: audacity crashed with SIGSEGV in memcpy() on WMA export -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs