Bug 115430

Summary: crash with gentoo patched gcc 4.0.2
Product: [Applications] amarok Reporter: LuRan <hephooey_dev>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description LuRan 2005-10-31 16:52:41 UTC
Version:           svn snapshot (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.0.2 with gentoo patches
OS:                Linux

I just update my gcc to gcc-4.0.2-r2, recompiled kde, and amarok always crash with the following backtrack:

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1244100912 (LWP 6374)]
[KCrash handler]
#4  0x081b8140 in __gnu_cxx::__mt_alloc<PluginManager::StoreItem,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate ()
#5  0x081b864a in std::vector<PluginManager::StoreItem,
std::allocator<PluginManager::StoreItem> >::_M_insert_aux ()
#6  0x081b6ef1 in PluginManager::createFromService ()
#7  0x0811d31a in EngineController::loadEngine ()
#8  0x0811dff5 in EngineController::loadEngine ()
#9  0x0808b695 in App::applySettings ()
#10 0x0808e118 in App::App ()
#11 0x0821ec34 in main ()

I'm pretty sure it is because some change in gcc, because I had a similar problem with arts, and the code of arts have not been touched for months, but since other part of kde works well, I think maybe it should be considered as a amarok bug, this bug also connect to the visibility flags, without them everything is fine.

BTW, I'm not a expert of gcc, but I suspect that the problem maybe because a patch included in gentoo's patchset which introduced visibility in the libstdc++ header files

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664
Comment 1 Maksim Orlovich 2005-10-31 17:02:09 UTC
other way around

*** This bug has been marked as a duplicate of 111115 ***