<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>11880</bug_id>
          
          <creation_ts>2007-05-24 19:46:32 +0400</creation_ts>
          <short_desc>Анализатор спектра крушит программу</short_desc>
          <delta_ts>2007-12-25 11:13:55 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>audacity</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roman Savochenko">rom_as</reporter>
          <assigned_to name="Ivan A. Melnikov">iv</assigned_to>
          <cc>aris</cc>
    
    <cc>iv</cc>
    
    <cc>khedin</cc>
    
    <cc>mike</cc>
    
    <cc>mikhailnov</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50661</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-05-24 19:46:32 +0400</bug_when>
    <thetext>Branch 4.0
Наблюдалось на двух машинах.
Не отображает источников звука, да и не пишет вовсе. Если руками создать 
аудио-трек то писать начинает, в другом треке, и непрерывно выдаёт сообщения в 
консоль: PortAudio: write interrupted! На другой машине сообщает &amp;#171;Ошибка 
инициализации слоя ввода/вывода звука. Ошибка: Host error.&amp;#187;
На обоих машинах звук работает, на одной правда несколько криво.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51684</commentid>
    <comment_count>1</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-06-20 09:57:18 +0400</bug_when>
    <thetext>Branch 4.0: 15.06.2007
Звуковую систему уже видит. Однако открылись другие проблемы:
 - При вызове анализатора спектра валится с сообщением:
//------------------------------------------------------------------------//
[roman@roman roman]$ audacity
Expression &apos;SetApproximateSampleRate( pcm, hwParams, sr )&apos; failed 
in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 1124
Expression &apos;PaAlsaStreamComponent_InitialConfigure( &amp;self-&gt;capture, inParams, 
self-&gt;primeBuffers, hwParamsCapture, &amp;realSr )&apos; failed 
in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 1675
Expression &apos;PaAlsaStream_Configure( stream, inputParameters, outputParameters, 
sampleRate, framesPerBuffer, &amp;inputLatency, &amp;outputLatency, 
&amp;hostBufferSizeMode )&apos; failed in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 
1799
Expression &apos;SetApproximateSampleRate( pcm, hwParams, sr )&apos; failed 
in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 1124
Expression &apos;PaAlsaStreamComponent_InitialConfigure( &amp;self-&gt;capture, inParams, 
self-&gt;primeBuffers, hwParamsCapture, &amp;realSr )&apos; failed 
in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 1675
Expression &apos;PaAlsaStream_Configure( stream, inputParameters, outputParameters, 
sampleRate, framesPerBuffer, &amp;inputLatency, &amp;outputLatency, 
&amp;hostBufferSizeMode )&apos; failed in &apos;src/hostapi/alsa/pa_linux_alsa.c&apos;, line: 
1799

(audacity:3909): Gdk-CRITICAL **: gdk_drawable_get_image: assertion 
`GDK_IS_DRAWABLE (drawable)&apos; failed

(audacity:3909): Gdk-CRITICAL **: gdk_image_get_colormap: assertion 
`GDK_IS_IMAGE (image)&apos; failed

(audacity:3909): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)&apos; failed
The program &apos;audacity&apos; received an X Window System error.
This probably reflects a bug in the program.
The error was &apos;BadAlloc (insufficient resources for operation)&apos;.
  (Details: serial 180660 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
//----------------------------------------------------------------------//
 - Вызывает ошибку при тестировании производительности:
//----------------------------------------------------------------------//
Using 57260 blocks of 293 samples each, for a total of 32,0 MB.
Preparing...
Performing 100 edits...
Trial 0
Expected len 16777180, track len 10737278.
TEST FAILED!!!
//----------------------------------------------------------------------//</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54341</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-08-21 11:52:09 +0400</bug_when>
    <thetext>У меня оно по жизни без проблем писало.  Ты уверен, что звукочип вообще на это
способен?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54345</commentid>
    <comment_count>3</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-08-21 12:18:49 +0400</bug_when>
    <thetext>Писать он уже пишет.
Я о других проблемах, присутствующих на данный момент.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57125</commentid>
    <comment_count>4</comment_count>
    <who name="karpov">karpov</who>
    <bug_when>2007-10-30 11:59:10 +0300</bug_when>
    <thetext>Попробуйте свежую версию - 1.3.4-alt0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57127</commentid>
    <comment_count>5</comment_count>
    <who name="karpov">karpov</who>
    <bug_when>2007-10-30 12:01:12 +0300</bug_when>
    <thetext>*** Bug 13068 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57155</commentid>
    <comment_count>6</comment_count>
    <who name="Konstantin Uvarin (lodin)">khedin</who>
    <bug_when>2007-10-30 16:56:40 +0300</bug_when>
    <thetext>Собрал. Вроде чисто (правда, пришлось выкинуть libtwolame в силу отсутствия его 
в десктопе).

bash$ rpm -qa | grep wx
wxGTK2u-2.6.4-alt1
wxGTK2u-devel-2.6.4-alt1
wxGTK-common-0.4-alt1
bash$ rpm -qa | grep auda
audacity-1.3.4-alt0.1
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57156</commentid>
    <comment_count>7</comment_count>
    <who name="Konstantin Uvarin (lodin)">khedin</who>
    <bug_when>2007-10-30 17:02:33 +0300</bug_when>
    <thetext>Вот что я пронаблюдал: 

Анализатор спектра работает
Запись/проигрывание работает
Сегфолт на выходе исчез
Селф-тесты проходят на ура</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59643</commentid>
    <comment_count>8</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-12-17 12:48:43 +0300</bug_when>
    <thetext>(In reply to comment #7)
&gt; Вот что я пронаблюдал: 
&gt; 
&gt; Анализатор спектра работает
&gt; Запись/проигрывание работает
&gt; Сегфолт на выходе исчез
&gt; Селф-тесты проходят на ура
1.3.4 из сизифа действительно работает, не мешало-бы поместить его в ALT4.0 
branch.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59760</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-12-20 02:15:14 +0300</bug_when>
    <thetext>(In reply to comment #8)
&gt; 1.3.4 из сизифа действительно работает, не мешало-бы поместить его в ALT4.0 
&gt; branch.
Ну так повесь хотелку на перенос пакетов :) (с этой как блокером)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59971</commentid>
    <comment_count>10</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-12-25 11:13:40 +0300</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; 1.3.4 из сизифа действительно работает, не мешало-бы поместить его в ALT4.0 
&gt; &gt; branch.
&gt; Ну так повесь хотелку на перенос пакетов :) (с этой как блокером)
Куда повесить не понял, но в ALT4.0 branch оно уже попало. :)
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>