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

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

    <bug>
          <bug_id>28534</bug_id>
          
          <creation_ts>2013-02-10 21:25:36 +0400</creation_ts>
          <short_desc>сегфолт в libcurl-7.29.0 при старте e17</short_desc>
          <delta_ts>2013-02-12 11:15:51 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>curl</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>http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg50971.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27685</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>manowar</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>137741</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-02-10 21:25:36 +0400</bug_when>
    <thetext>При запуске e17 (0.17.0-alt5) начал сегфолтиться (он это обрабатывает и выбрасывает предупреждалку, если нажать кнопку &quot;recover&quot;, далее работает нормально);

$ dmesg | tail -2
[   14.708656] efreet_desktop_[2908]: segfault at 0 ip b6f2a2e9 sp bfc08460 error 6 in libcurl.so.4.3.0[b6ef9000+5e000]
[   15.155389] efreet_icon_cac[2907]: segfault at 0 ip b6f102e9 sp bfc8a140 error 6 in libcurl.so.4.3.0[b6edf000+5e000]
$ rpm -q e17 libcurl
e17-0.17.0-alt5
libcurl-7.29.0-alt1

Воспроизводится на http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/tmp/regular-e17_segfault-20130210-i586.iso (падает после прохождения квеста первоначальной настройки).

В апстриме ошибка уже известна, её предполагаемая причина -- изменение реализации между curl-7.28.1 и 7.29.0:
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg50971.html
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg50972.html

Патчей пока не видел.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137742</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-02-10 21:36:51 +0400</bug_when>
    <thetext>PS: пересборка e17 с текущим libcurl не помогает; если подобный сегфолт вылезет ещё где, в качестве крайней меры можно рассмотреть откат на curl-7.28.1 с приложением индивидуального патча для решённой в 7.29.0 проблемы безопасности: http://curl.haxx.se/curl-sasl.patch (http://curl.haxx.se/docs/adv_20130206.html).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137743</commentid>
    <comment_count>2</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2013-02-10 21:53:23 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; PS: пересборка e17 с текущим libcurl не помогает; если подобный сегфолт вылезет
&gt; ещё где, в качестве крайней меры можно рассмотреть откат на curl-7.28.1 с
&gt; приложением индивидуального патча для решённой в 7.29.0 проблемы безопасности:
&gt; http://curl.haxx.se/curl-sasl.patch
&gt; (http://curl.haxx.se/docs/adv_20130206.html).

2rider@: посмотри, не стоит ли это сделать, если новый curl собирался ради исправления этой баги. Все же работающий e17 важен.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137768</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2013-02-11 14:33:00 +0400</bug_when>
    <thetext>Откатывать libcurl - плохая идея. Надо чинить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137774</commentid>
    <comment_count>4</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2013-02-11 16:38:11 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Откатывать libcurl - плохая идея. Надо чинить.

Да, хотя в opensuse не стали повышать версию, а только лишь исправили CVE. И у них e17 работает.
А в rawhide, где повысили версию, нет e17.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137776</commentid>
    <comment_count>5</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2013-02-11 17:43:14 +0400</bug_when>
    <thetext>http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg50993.html

Bug in libcurl, not in EFL. Has been fixed upstream
https://github.com/bagder/curl/commit/da3fc1ee91de656a30f3a12de394bcba55119872

e17-&gt;curl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137783</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-02-11 23:13:48 +0400</bug_when>
    <thetext>curl-7.29.0-alt2 -&gt; sisyphus:

* Mon Feb 11 2013 Anton Farygin &lt;rider@altlinux&gt; 7.29.0-alt2
- Fix NULL pointer reference when closing an unused multi handle (closes: #28534)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137784</commentid>
    <comment_count>7</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2013-02-12 00:17:21 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; curl-7.29.0-alt2 -&gt; sisyphus:
&gt; 
&gt; * Mon Feb 11 2013 Anton Farygin &lt;rider@altlinux&gt; 7.29.0-alt2
&gt; - Fix NULL pointer reference when closing an unused multi handle (closes:
&gt; #28534)

Спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137786</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-02-12 11:15:51 +0400</bug_when>
    <thetext>Спасибо, теперь опять порядок.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>