Bug 333368 - Artikulate crash
Summary: Artikulate crash
Status: RESOLVED NOT A BUG
Alias: None
Product: Artikulate
Classification: Applications
Component: general (show other bugs)
Version: 0.3.50
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Andreas Cord-Landwehr
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-13 10:05 UTC by Rahul Chowdhury
Modified: 2014-04-14 02:20 UTC (History)
0 users

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 Rahul Chowdhury 2014-04-13 10:05:17 UTC
Application: artikulate (0.3.50)
KDE Platform Version: 4.12.3 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.13.9-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
Downloaded the source code and tried to build and execute it.
- Unusual behavior I noticed:
The application crashed immediately.

-- Backtrace:
Application: Artikulate Pronunciation Trainer (artikulate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fad346e98c0 (LWP 11702))]

Thread 2 (Thread 0x7fad28429700 (LWP 13071)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000036a7d8f09b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x36a808df00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000036a7d8f0d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003691c07f33 in start_thread (arg=0x7fad28429700) at pthread_create.c:309
#4  0x00000036918f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fad346e98c0 (LWP 11702)):
[KCrash Handler]
#6  data (this=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../src/corelib/global/qglobal.h:2457
#8  d_func (this=<optimized out>) at kernel/qobject.h:115
#9  QObject::setProperty (this=0x0, name=0x440472 "viewMode", value=...) at kernel/qobject.cpp:3699
#10 0x0000000000418c6d in MainWindow::MainWindow (this=0x1e4c290, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/rahul/code/artikulate/src/mainwindow.cpp:111
#11 0x0000000000417707 in main (argc=1, argv=0x7fff32faa9b8) at /home/rahul/code/artikulate/src/main.cpp:54

Reported using DrKonqi
Comment 1 Andreas Cord-Landwehr 2014-04-13 10:22:00 UTC
Could you try again to start the application from the command line and also paste that output?
(Please check in kdebugdialog that debug output for Artikulate is activated).
Comment 2 Rahul Chowdhury 2014-04-13 11:05:03 UTC
(In reply to comment #1)
> Could you try again to start the application from the command line and also
> paste that output?
> (Please check in kdebugdialog that debug output for Artikulate is activated).

[rahul@localhost artikulate]$ ./install/bin/artikulate 
artikulate(23018): There is no subdirectory "skeletons" in directory  "."  cannot load skeletons. 
artikulate(23018): There is no subdirectory "courses" in directory  "."  cannot load courses. 
file:///home/rahul/code/artikulate/install/share/apps/artikulate/qml/Main.qml:34:5: Type Trainer unavailable 
         Trainer { 
         ^ 
file:///home/rahul/code/artikulate/install/share/apps/artikulate/qml/Trainer.qml:73:5: Type TrainerCourse unavailable 
         TrainerCourse { 
         ^ 
file:///home/rahul/code/artikulate/install/share/apps/artikulate/qml/TrainerCourse.qml:149:9: Type TrainerCourseStatistics unavailable 
             TrainerCourseStatistics { 
             ^ 
file:///home/rahul/code/artikulate/install/share/apps/artikulate/qml/TrainerCourseStatistics.qml:25:1: module "org.kde.charts" is not installed 
     import org.kde.charts 0.1 as Charts 
     ^ 
KCrash: Application 'artikulate' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/rahul/.kde/socket-localhost.localdomain/kdeinit4__0

[1]+  Stopped                 ./install/bin/artikulate
Comment 3 Andreas Cord-Landwehr 2014-04-13 12:20:14 UTC
You are missing a correct QML_IMPORT_PATH environment variable set for both Artikulate and kqtquickcharts. The following page explains how to set it: http://techbase.kde.org/Projects/Edu/Artikulate/BuildAndInstall
I will try to inject a more explaining error message in the next version, for the case when the QML engine crashes because of this error.