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

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

    <bug>
          <bug_id>25165</bug_id>
          
          <creation_ts>2011-02-28 11:08:35 +0300</creation_ts>
          <short_desc>Проблемы взаимодействия QT с KDE через KIO</short_desc>
          <delta_ts>2012-02-20 13:00:24 +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>kdebase-kio</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://bugs.kde.org/show_bug.cgi?id=234484</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="Roman Savochenko">rom_as</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118903</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2011-02-28 11:08:35 +0300</bug_when>
    <thetext>Имеется QT-программа, которая вызывает диалог сохранения файла.
При вызове диалога в консоли программы имеем:
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot; 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot; 
kfilemodule(14560)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl(&quot;file:///home/roman/нов ав отч.ods&quot;) 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot; 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot; 
kfilemodule(14560)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl(&quot;file:///home/roman/нов ав отч.ods&quot;) 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot; 
kfilemodule(14560): couldn&apos;t create slave: &quot;Unable to create io-slave:
klauncher said: Невідомий протокол «».
&quot;


При выходе программа падает с коркой:
#0  0xb4da1a56 in ?? () from /usr/lib/libQtDBus.so.4
#1  0xb4da1d94 in ?? () from /usr/lib/libQtDBus.so.4
#2  0xb68e87ee in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#3  0xb68f71ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#4  0xb68f7653 in QObject::destroyed(QObject*) () from /usr/lib/libQtCore.so.4
#5  0xb68f8aef in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#6  0xb5667d0a in KIO::Scheduler::~Scheduler() () from /usr/lib/libkio.so.5
#7  0xb5667d2e in KIO::Scheduler::~Scheduler() () from /usr/lib/libkio.so.5
#8  0xb566e672 in ?? () from /usr/lib/libkio.so.5
#9  0xb566a3d4 in ?? () from /usr/lib/libkio.so.5
#10 0xb55fecff in ?? () from /usr/lib/libkio.so.5
#11 0xb74559ef in ?? () from /lib/libc.so.6
#12 0xb7455a4f in exit () from /lib/libc.so.6
#13 0xb743ec9e in __libc_start_main () from /lib/libc.so.6
#14 0x08048c61 in _start () at ../sysdeps/i386/elf/start.S:119

В которой, как можно видеть, нет и следа самой программы.
Если выходить из программы без вызова диалогов сохранения файлов, то падения не наблюдается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122970</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-07-08 17:55:39 +0400</bug_when>
    <thetext>Пока что так http://bugs.kde.org/show_bug.cgi?id=234484</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122978</commentid>
    <comment_count>2</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2011-07-08 18:44:35 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Пока что так http://bugs.kde.org/show_bug.cgi?id=234484
Спасибо за ссылочку. Похоже в VLC использована похожая к моей программе концепция вызова QT. Попробую на ней получить свежий backtrace и лог valgrind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126534</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-10-25 18:10:23 +0400</bug_when>
    <thetext>http://bugs.kde.org/show_bug.cgi?id=234484
&quot;Fixed in Qt 4.8&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129090</commentid>
    <comment_count>4</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2012-02-20 13:00:24 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; http://bugs.kde.org/show_bug.cgi?id=234484
&gt; &quot;Fixed in Qt 4.8&quot;
Не Fixed!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>