Bug 421121

Summary: libKF5MailCommon.so.5: undefined
Product: [Applications] kontact Reporter: SrKeiko <e.lrl>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: montel
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SrKeiko 2020-05-06 21:05:34 UTC
Application: kontact (5.14.40 (20.07.40))

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.3.0-51-generic x86_64
Windowing system: X11
Distribution: KDE neon Unstable Edition

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

when starting the application it shows this error 

Unable to upload part for Mail. Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so: (/usr/lib/x86_64-linux-gnu/libKF5MailCommon.so.5: undefined symbol: _ZN4KPIM9TagWidget16staticMetaObjectE)

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000070986 in  ()
#5  0x00007efe4916e0eb in Akonadi::AttributeFactory::registerAttribute<MailCommon::MDNStateAttribute>() () at /usr/include/KF5/AkonadiCore/attributefactory.h:63
#6  0x00007efe4916e0eb in (anonymous namespace)::dummyMDNStateAttribute () at ./src/mdn/mdnstateattribute.cpp:175
#7  0x00007efe4916e0eb in __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at ./src/mdn/mdnstateattribute.cpp:179
#8  0x00007efe4916e0eb in _GLOBAL__sub_I_mdnstateattribute.cpp(void) () at ./src/mdn/mdnstateattribute.cpp:180
#9  0x00007efee07b5733 in call_init (env=0x5647ce8ac670, argv=0x7ffe53274fb8, argc=1, l=<optimized out>) at dl-init.c:72
#10 0x00007efee07b5733 in _dl_init (main_map=main_map@entry=0x5647cee41c20, argc=1, argv=0x7ffe53274fb8, env=0x5647ce8ac670) at dl-init.c:119
#11 0x00007efee07ba1ff in dl_open_worker (a=a@entry=0x7ffe532742d0) at dl-open.c:522
#12 0x00007efedd18e2df in __GI__dl_catch_exception (exception=exception@entry=0x7ffe532742b0, operate=operate@entry=0x7efee07b9dc0 <dl_open_worker>, args=args@entry=0x7ffe532742d0) at dl-error-skeleton.c:196
#13 0x00007efee07b97ca in _dl_open (file=0x5647cee4d6a8 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so", mode=-2147479551, caller_dlopen=0x7efeddc56844 <QLibraryPrivate::load_sys()+1668>, nsid=<optimized out>, argc=1, argv=<optimized out>, env=0x5647ce8ac670) at dl-open.c:605
#14 0x00007efed72eff96 in dlopen_doit (a=a@entry=0x7ffe53274500) at dlopen.c:66
#15 0x00007efedd18e2df in __GI__dl_catch_exception (exception=exception@entry=0x7ffe532744a0, operate=operate@entry=0x7efed72eff40 <dlopen_doit>, args=args@entry=0x7ffe53274500) at dl-error-skeleton.c:196
#16 0x00007efedd18e36f in __GI__dl_catch_error (objname=objname@entry=0x5647ce4e7370, errstring=errstring@entry=0x5647ce4e7378, mallocedp=mallocedp@entry=0x5647ce4e7368, operate=operate@entry=0x7efed72eff40 <dlopen_doit>, args=args@entry=0x7ffe53274500) at dl-error-skeleton.c:215
#17 0x00007efed72f0735 in _dlerror_run (operate=operate@entry=0x7efed72eff40 <dlopen_doit>, args=args@entry=0x7ffe53274500) at dlerror.c:162
#18 0x00007efed72f0051 in __dlopen (file=<optimized out>, mode=mode@entry=4097) at dlopen.c:87
#19 0x00007efeddc56844 in QLibraryPrivate::load_sys() (this=0x5647ceedc510) at plugin/qlibrary_unix.cpp:238
#20 0x00007efeddc4f625 in QLibraryPrivate::load() (this=0x5647ceedc510) at plugin/qlibrary.cpp:579
#21 0x00007efeddc4fc71 in QLibraryPrivate::loadPlugin() (this=0x5647ceedc510) at plugin/qlibrary.cpp:636
#22 0x00007efeddc3e32d in QPluginLoader::load() (this=0x5647cec4b700) at plugin/qpluginloader.cpp:238
#23 0x00007efedf4f17ba in KPluginLoader::load() (this=this@entry=0x7ffe53274950) at ./src/lib/plugin/kpluginloader.cpp:173
#24 0x00007efedf4f18da in KPluginLoader::instance() (this=this@entry=0x7ffe53274950) at ./src/lib/plugin/kpluginloader.cpp:155
#25 0x00007efedf4f1927 in KPluginLoader::factory() (this=this@entry=0x7ffe53274950) at ./src/lib/plugin/kpluginloader.cpp:100
#26 0x00007efee0148da0 in KontactInterface::Core::createPart(char const*) (this=0x5647ce8cfe70, libname=0x5647cebb1a98 "kmailpart") at ./src/core.cpp:86
#27 0x00007efee014aaee in KontactInterface::Plugin::loadPart() (this=this@entry=0x5647cebb1c90) at ./src/plugin.cpp:145
#28 0x00007efe4a6f37b6 in KMailPlugin::createPart() (this=0x5647cebb1c90) at ./src/kontactplugin/kmail/kmail_plugin.cpp:180
#29 0x00007efee014bf4c in KontactInterface::Plugin::part() (this=0x5647cebb1c90) at ./src/plugin.cpp:156
#30 0x00007efee0375fac in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) (this=0x5647ce8cfe70, plugin=<optimized out>) at ./src/mainwindow.cpp:591
#31 0x00007efee0378677 in Kontact::MainWindow::initObject() (this=this@entry=0x5647ce8cfe70) at ./src/mainwindow.cpp:167
#32 0x00007efee0378e0a in Kontact::MainWindow::MainWindow() (this=0x5647ce8cfe70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/mainwindow.cpp:97
#33 0x00005647cccc228c in KontactApp::activate(QStringList const&, QString const&) (this=0x7ffe53274e60, args=..., workingDir=...) at ./src/main.cpp:133
#34 0x00007efee014eb8b in KontactInterface::PimUniqueApplication::start(QStringList const&) (arguments=...) at ./src/pimuniqueapplication.cpp:166
#35 0x00005647cccc13bc in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:212

Possible duplicates by query: bug 420669, bug 420184, bug 419882, bug 419572, bug 419035.

Reported using DrKonqi
Comment 1 Laurent Montel 2020-05-06 21:57:07 UTC
update all your package.
API in mailcommon was changed