Bug 401801

Summary: Install krecipes fails
Product: [Applications] krecipes Reporter: Rob <frenchy002>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED MOVED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rob 2018-12-05 21:52:03 UTC
Application: krecipes (2.2-git)
KDE Platform Version: 4.14.38 (Compiled from sources)
Qt Version: 4.8.7
Operating System: Linux 4.18.0-12-generic x86_64
Distribution: Ubuntu 18.10

-- Information about the crash:
- What I was doing when the application crashed:

trying to install with postgresql . The install fails with either msql or postgresql. Sam kind of error. Unable to install.

The crash can be reproduced every time.

-- Backtrace:
Application: Krecipes (krecipes), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f6a4fd04600 in QSqlDatabase::~QSqlDatabase() () at /usr/lib/x86_64-linux-gnu/libQtSql.so.4
#7  0x00005571bce7a68a in QSqlRecipeDB::~QSqlRecipeDB() (this=0x5571be0463d0, __in_chrg=<optimized out>) at /home/zurago/krecipes/src/backends/qsqlrecipedb.cpp:68
#8  0x00005571bce49fb3 in PSqlRecipeDB::~PSqlRecipeDB() (this=0x5571be0463d0, __in_chrg=<optimized out>) at /home/zurago/krecipes/src/backends/PostgreSQL/psqlrecipedb.cpp:28
#9  0x00005571bce49fb3 in PSqlRecipeDB::~PSqlRecipeDB() (this=0x5571be0463d0, __in_chrg=<optimized out>) at /home/zurago/krecipes/src/backends/PostgreSQL/psqlrecipedb.cpp:29
#10 0x00005571bcd967b5 in KrecipesView::initializeData(QString const&, QString const&, QString const&, QString const&, int) (this=this@entry=0x5571bdb90540, host=..., dbName=..., user=..., pass=..., port=0) at /home/zurago/krecipes/src/krecipesview.cpp:1050
#11 0x00005571bcd974a0 in KrecipesView::wizard(bool) (this=this@entry=0x5571bdb90540, force=force@entry=true) at /home/zurago/krecipes/src/krecipesview.cpp:950
#12 0x00005571bcd98bc6 in KrecipesView::questionRerunWizard(QString const&, QString const&, RecipeDB::Error) (this=this@entry=0x5571bdb90540, message=..., errormsg=..., error=error@entry=RecipeDB::NoDriverFound) at /home/zurago/krecipes/src/krecipesview.cpp:382
#13 0x00005571bcd99fde in KrecipesView::initDatabase() (this=this@entry=0x5571bdb90540) at /usr/include/qt4/QtCore/qatomic_x86_64.h:122
#14 0x00005571bcd9a48a in KrecipesView::KrecipesView(QWidget*) (this=0x5571bdb90540, parent=<optimized out>) at /home/zurago/krecipes/src/krecipesview.cpp:82
#15 0x00005571bcd8e7f3 in Krecipes::Krecipes() (this=0x5571bdb8dec0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/zurago/krecipes/src/krecipes.cpp:77
#16 0x00005571bcd8a39d in main(int, char**) (argc=5, argv=0x7ffecda3e9d8) at /home/zurago/krecipes/src/main.cpp:89
[Inferior 1 (process 7093) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2018-12-05 21:56:31 UTC
Already reported as bug 401771.