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

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

    <bug>
          <bug_id>34908</bug_id>
          
          <creation_ts>2018-05-15 12:15:57 +0300</creation_ts>
          <short_desc>Не запускается lordsawar, виснет при запуске</short_desc>
          <delta_ts>2018-05-16 12:06: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>libxml++2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksei Nikiforov">darktemplaralt</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171069</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksei Nikiforov">darktemplaralt</who>
    <bug_when>2018-05-15 12:15:57 +0300</bug_when>
    <thetext>Не запускается lordsawar, виснет при запуске.

При даунгрейде libxml++2 с версии 2.40.1-alt2 до версии 2.40.1-alt1 приложение вновь начинает нормально работать.

Если запустить приложение через gdb, то можно получить следующий backtrace:
(gdb) bt
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff0042a45 in __GI___pthread_mutex_lock (mutex=0x7ffff54f5d40 &lt;(anonymous namespace)::extra_parser_data_mutex&gt;) at ../nptl/pthread_mutex_lock.c:78
#2  0x00007ffff52e17b2 in __gthread_mutex_lock (__mutex=0x7ffff54f5d40 &lt;(anonymous namespace)::extra_parser_data_mutex&gt;) at /usr/include/c++/7/x86_64-alt-linux/bits/gthr-default.h:748
#3  lock (this=0x7ffff54f5d40 &lt;(anonymous namespace)::extra_parser_data_mutex&gt;) at /usr/include/c++/7/bits/std_mutex.h:103
#4  lock_guard (__m=..., this=&lt;synthetic pointer&gt;) at /usr/include/c++/7/bits/std_mutex.h:162
#5  xmlpp::Parser::check_for_validity_messages (this=0x7fffffffdb30) at parsers/parser.cc:232
#6  0x00007ffff52e0edf in xmlpp::Parser::check_for_exception (this=0x7fffffffdb30) at parsers/parser.cc:404
#7  0x00007ffff52e3bbb in xmlpp::SaxParser::parse_chunk_raw (this=0x7fffffffdb30, 
    contents=0x94a540 &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&gt;\n&lt;lordsawarrc version=\&quot;0.2.1\&quot;&gt;\n\t&lt;d_datapath&gt;/usr/share/lordsawar&lt;/d_datapath&gt;\n\t&lt;d_savepath&gt;/home/user/.lordsawar/&lt;/d_savepath&gt;\n\t&lt;d_lang&gt;ru_RU.UTF-8&lt;/d_lang&quot;..., bytes_count=&lt;optimized out&gt;) at parsers/saxparser.cc:317
#8  0x0000000000536f9a in XML_Helper::parseXML (this=this@entry=0x7fffffffdb30) at xmlhelper.cpp:552
#9  0x00000000004a4a7e in Configuration::loadConfigurationFile (this=this@entry=0x7fffffffdf58, fileName=...) at Configuration.cpp:107
#10 0x00000000004a58a6 in initialize_configuration () at Configuration.cpp:292
#11 0x0000000000428ddf in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at main.cpp:50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171077</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-05-15 13:50:59 +0300</bug_when>
    <thetext>libxml++2-2.40.1-alt3 -&gt; sisyphus:

Tue May 15 2018 Yuri N. Sedunov &lt;aris@altlinux&gt; 2.40.1-alt3
- reverted broken
  &quot;Replace (deprecated) Glib::Threads::Mutex with std::mutex.&quot;
  (ALT #34908)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171094</commentid>
    <comment_count>2</comment_count>
    <who name="Aleksei Nikiforov">darktemplaralt</who>
    <bug_when>2018-05-16 12:06:55 +0300</bug_when>
    <thetext>Проблема исправлена.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>