Bug 372653 - korgac crash on startup (korgac version 5.3.3 )
Summary: korgac crash on startup (korgac version 5.3.3 )
Status: RESOLVED UPSTREAM
Alias: None
Product: korgac
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-19 06:39 UTC by blambin
Modified: 2016-12-07 12:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blambin 2016-11-19 06:39:58 UTC
bug log : 

-----------------------------------------------

Application: kwin_x11 (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f428587e840 (LWP 797))]

Thread 5 (Thread 0x7f424dc76700 (LWP 877)):
#0  0x00007f427e55e10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f42818b4ac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f42818b4b09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f427e558454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f42852c67df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f4261444700 (LWP 874)):
#0  0x00007f42852bd551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f428296dac9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f428296f3b8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f428291c23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f428273f0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f4282743d78 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f427e558454 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f42852c67df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f4262445700 (LWP 864)):
#0  0x00007f42852bd551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f428296dac9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f428296f3b8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f428291c23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f428273f0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f427d2b62d5 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f4282743d78 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f427e558454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f42852c67df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f4269567700 (LWP 834)):
[KCrash Handler]
#6  0x00007f428294d9cf in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () at /usr/lib/libQt5Core.so.5
#7  0x00007f427c494530 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f427c480f62 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f4282743d78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f427e558454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f42852c67df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f428587e840 (LWP 797)):
#0  0x00007f427e55e10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f4282744c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f428274391e in QThread::wait(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f427c480cc6 in  () at /usr/lib/libQt5DBus.so.5
#4  0x00007f427c480d59 in  () at /usr/lib/libQt5DBus.so.5
#5  0x00007f4285213990 in __run_exit_handlers () at /usr/lib/libc.so.6
#6  0x00007f42852139ea in  () at /usr/lib/libc.so.6
#7  0x00007f426bcc4ba3 in  () at /usr/lib/libQt5XcbQpa.so.5
#8  0x00007f428294a4b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#9  0x00007f42835fde0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f4283605581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f428291dde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f428292056d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f4285583a26 in  () at /usr/lib/libkdeinit5_kwin_x11.so
#14 0x00007f4282949659 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#15 0x00007f4283f3160b in KSelectionOwner::filterEvent(void*) () at /usr/lib/libKF5WindowSystem.so.5
#16 0x00007f428291b37f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f426bcc3c14 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#18 0x00007f426bcc48a5 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#19 0x00007f428294a4b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f42835fde0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f4283605581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f428291dde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f428292056d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f428296f1fa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f426bd3b0dd in  () at /usr/lib/libQt5XcbQpa.so.5
#26 0x00007f428291c23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007f428292473c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#28 0x00007f4285585495 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#29 0x00007f42851fe291 in __libc_start_main () at /usr/lib/libc.so.6
#30 0x000000000040069a in _start ()


----------------------------------------------------------------------

[blambin@arch-pc:~$ korgac -v
korgac 5.3.3 (QtWebEngine)
KCrash: Application 'korgac' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 korgac -v


-----------------------------------------------------------
[blambin@arch-pc:~$ archey 

               +                
               #                
              ###               
             #####              
             ######             
            ; #####;            User: blambin
           +##.#####            Hostname: arch-pc
          +##########           Distro: Arch Linux
         #############;         Kernel: 4.8.8-2-ARCH
        ###############+        Uptime: 0:24
       #######   #######        Window Manager: 
     .######;     ;###;`".      Desktop Environment: KDE
    .#######;     ;#####.       Shell: /bin/bash
    #########.   .########`     Terminal: xterm
   ######'           '######    Packages: 1247
  ;####                 ####;   CPU: Intel(R) Celeron(R) CPU P4600 @ 2.00GHz
  ##'                     '##   RAM: 1731 MB / 5771 MB 
 #'                         `#  Disk: 191GB / 262GB

[1]+  Exit 253                korgac -v
[blambin@arch-pc:~$
Comment 1 kchin80 2016-12-04 17:13:46 UTC
I have the same issue with korgac crashing during startup. I noticed that this is caused by fcitx.

===== QT_IM_MODULE=fcitx =====

[kenneth@ark2 ~]$ cat .xprofile
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

[kenneth@ark2 ~]$ korgac -v
korgac 5.3.3 (QtWebEngine)
KCrash: Application 'korgac' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Exit 253                korgac -v

[kenneth@ark2 ~]$ 

====== QT_IM_MODULE=xim =====

I tested using xim for korgac in Konsole and it works fine:

[kenneth@ark2 ~]$ export QT_IM_MODULE=xim
[kenneth@ark2 ~]$ korgac -v
korgac 5.3.3 (QtWebEngine)
[kenneth@ark2 ~]$ 

===== archey =====

               +                OS: Arch Linux x86_64
               #                Hostname: ark2
              ###               Kernel Release: 4.8.11-1-ARCH
             #####              Uptime: 1:14
             ######             WM: KWin
            ; #####;            DE: KDE
           +##.#####            Packages: 1096
          +##########           RAM: 1333 MB / 7871 MB
         #############;         Processor Type: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
        ###############+        $EDITOR: None
       #######   #######        Root: 11G / 40G (27%) (ext4)
     .######;     ;###;`".      
    .#######;     ;#####.       
    #########.   .########`     
   ######'           '######    
  ;####                 ####;   
  ##'                     '##   
 #'                         `#  

===== crash report =====

Application: korgac (korgac), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcd19370880 (LWP 11796))]

Thread 3 (Thread 0x7fccf1975700 (LWP 11798)):
[KCrash Handler]
#6  0x00007fcd13a779cf in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQt5Core.so.5
#7  0x00007fcd13ec1530 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007fcd13eadf62 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007fcd1386dd78 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007fcd0b3c8454 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007fcd12f6c7df in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fccf30ab700 (LWP 11797)):
#0  0x00007fcd12f6348d in poll () from /usr/lib/libc.so.6
#1  0x00007fcd0bedb8e0 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fcd0bedd679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fccf477e449 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fcd1386dd78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fcd0b3c8454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fcd12f6c7df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fcd19370880 (LWP 11796)):
#0  0x00007fcd0b3ce10f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fcd1386ec2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fcd1386d91e in QThread::wait(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fcd13eadcc6 in ?? () from /usr/lib/libQt5DBus.so.5
#4  0x00007fcd13eadd59 in ?? () from /usr/lib/libQt5DBus.so.5
#5  0x00007fcd12eb9990 in __run_exit_handlers () from /usr/lib/libc.so.6
#6  0x00007fcd12eb99ea in exit () from /usr/lib/libc.so.6
#7  0x00007fcd1387d3ee in QCommandLineParser::showVersion() () from /usr/lib/libQt5Core.so.5
#8  0x00007fcd1387e666 in QCommandLineParser::process(QStringList const&) () from /usr/lib/libQt5Core.so.5
#9  0x00007fcd1387e6cf in QCommandLineParser::process(QCoreApplication const&) () from /usr/lib/libQt5Core.so.5
#10 0x00000000004119db in ?? ()
#11 0x00007fcd12ea4291 in __libc_start_main () from /usr/lib/libc.so.6
#12 0x0000000000411c2a in _start ()
Comment 2 Sasasu 2016-12-07 01:12:37 UTC
Steps to reproduce the problem on archlinux:
1. install korganizer 16.08.3-1 and  fcitx 4.2.9.1-2 and fcitx-qt5 1.0.6-1
2. export QT_IM_MODULE=fcitx
3. korgac -v
4. Application 'korgac' crashing

log:
Application: korgac (korgac), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6b2dba7900 (LWP 16625))]

Thread 2 (Thread 0x7f6afedfb700 (LWP 16627)):
[KCrash Handler]
#6  0x00007f6b282df9cf in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQt5Core.so.5
#7  0x00007f6b28729530 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007f6b28715f62 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f6b280d5d78 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f6b1fc30454 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f6b277d47df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f6b2dba7900 (LWP 16625)):
#0  0x00007f6b1fc3610f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6b280d6c2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6b280d591e in QThread::wait(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007f6b28715cc6 in ?? () from /usr/lib/libQt5DBus.so.5
#4  0x00007f6b28715d59 in ?? () from /usr/lib/libQt5DBus.so.5
#5  0x00007f6b27721990 in __run_exit_handlers () from /usr/lib/libc.so.6
#6  0x00007f6b277219ea in exit () from /usr/lib/libc.so.6
#7  0x00007f6b280e53ee in QCommandLineParser::showVersion() () from /usr/lib/libQt5Core.so.5
#8  0x00007f6b280e6666 in QCommandLineParser::process(QStringList const&) () from /usr/lib/libQt5Core.so.5
#9  0x00007f6b280e66cf in QCommandLineParser::process(QCoreApplication const&) () from /usr/lib/libQt5Core.so.5
#10 0x00000000004119db in ?? ()
#11 0x00007f6b2770c291 in __libc_start_main () from /usr/lib/libc.so.6
#12 0x0000000000411c2a in _start ()
Comment 3 Sasasu 2016-12-07 01:28:16 UTC
korganizer 16.11.90-1 (korgac 5.3.90 beta1 in KDE-Unstable) have the same problem
Comment 4 Weng Xuetian 2016-12-07 02:20:54 UTC
As fcitx/kde developer I don't think this is caused by fcitx. I have hit many qt dbus bug since 5.6. There're several qt dbus bug may trigger it (e.g. https://bugreports.qt.io/browse/QTBUG-52988), but so far we use following patch upstream qt patch on chakra and I can't reproduce the problem here.

https://github.com/qt/qtbase/commit/494376f980e96339b6f1eff7c41336ca4d853065.patch
Comment 5 Sasasu 2016-12-07 12:11:34 UTC
Thanks
I use that patch to re-compile the Qt5-core, now there is not any problems.

here is the PKGBUILD
https://gist.github.com/Sasasu/a5d582c692a83f363877685359906aa4