Summary: | www-client/chromium-115.0.5790.40 - Segmentation fault (core dumped) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kangie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=906911 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Leonid Kopylov
2023-06-26 16:31:46 UTC
unable to run gdb on it: $ gdb -q /usr/bin/chromium "/usr/bin/chromium": not in executable format: file format not recognized (In reply to Leonid Kopylov from comment #1) > unable to run gdb on it: > $ gdb -q /usr/bin/chromium > "/usr/bin/chromium": not in executable format: file format not recognized I normally edit the wrapper and add 'exec gdb --args ...' at the bottom of it, but maybe others have a better way.. if booting system with kernel 6.3.9 - chromium works fine I still unable to run gdb, please tell me what info required still issue with 6.4.1, though it launches from time to time, but next launch fails again You need to merge chromium with FEATURES=nostrip and execute chrome in gdb either with: gdb /usr/lib64/chromium-browser/chrome or gdb /usr/lib/chromium-browser/chrome (In reply to Stephan Hartmann from comment #6) > You need to merge chromium with FEATURES=nostrip and execute chrome in gdb > either with: > gdb /usr/lib64/chromium-browser/chrome > or > gdb /usr/lib/chromium-browser/chrome $ gdb -q /usr/lib64/chromium-browser/chrome Reading symbols from /usr/lib64/chromium-browser/chrome... (No debugging symbols found in /usr/lib64/chromium-browser/chrome) (gdb) run Starting program: /usr/lib64/chromium-browser/chrome [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". [Detaching after fork from child process 163263] [New Thread 0xfffff1ffe1c0 (LWP 163266)] [Detaching after fork from child process 163269] [Detaching after fork from child process 163270] [Detaching after fork from child process 163271] [New Thread 0xfffff17ee1c0 (LWP 163274)] [New Thread 0xfffff07fe1c0 (LWP 163275)] [New Thread 0xffffeffee1c0 (LWP 163276)] [New Thread 0xffffef7de1c0 (LWP 163277)] [New Thread 0xffffeefce1c0 (LWP 163278)] [New Thread 0xffffee7be1c0 (LWP 163279)] [New Thread 0xffffed79e1c0 (LWP 163281)] [New Thread 0xffffedfae1c0 (LWP 163280)] [New Thread 0xffffecf8e1c0 (LWP 163282)] [New Thread 0xffffec77e1c0 (LWP 163283)] [New Thread 0xffffe19dd1c0 (LWP 163284)] [Thread 0xffffe19dd1c0 (LWP 163284) exited] [New Thread 0xffffe19dd1c0 (LWP 163285)] [New Thread 0xffffe11cd1c0 (LWP 163286)] [New Thread 0xffffe09bd1c0 (LWP 163287)] [New Thread 0xffffe01ad1c0 (LWP 163288)] [New Thread 0xffffdf99d1c0 (LWP 163289)] [New Thread 0xffffdf18d1c0 (LWP 163290)] [Thread 0xffffdf18d1c0 (LWP 163290) exited] [New Thread 0xffffdf18d1c0 (LWP 163291)] [New Thread 0xffffde97d1c0 (LWP 163292)] [Thread 0xffffdf18d1c0 (LWP 163291) exited] [Thread 0xffffde97d1c0 (LWP 163292) exited] [New Thread 0xffffde97d1c0 (LWP 163296)] [New Thread 0xffffdf18d1c0 (LWP 163297)] Thread 1 "chrome" received signal SIGSEGV, Segmentation fault. 0x0000fffff5c53208 in strlen () from /usr/lib64/libc.so.6 Can you please type "bt" in the gdb shell and paste the output? (In reply to Stephan Hartmann from comment #8) > Can you please type "bt" in the gdb shell and paste the output? (gdb) bt #0 0x0000fffff5c53208 in strlen () at /usr/lib64/libc.so.6 #1 0x0000aaaab3c3cb08 in std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)> > >, bool> std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)> >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)> > > >::_M_emplace_unique<char const*&, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)> >(char const*&, base::RepeatingCallback<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, extensions::Extension const*, extensions::Feature::Context, GURL const&, extensions::Feature::Platform, int, bool, extensions::ContextData const&)>&&) () #2 0x0000aaaab3c3ca14 in controlled_frame::CreateAvailabilityCheckMap[abi:cxx11]() () #3 0x0000aaaab156d4c8 in BrowserProcessImpl::Init() () #4 0x0000aaaab1592bd8 in ChromeBrowserMainParts::PreCreateThreadsImpl() () #5 0x0000aaaab1593220 in ChromeBrowserMainParts::PreCreateThreads() () #6 0x0000aaaaaeaebccc in content::BrowserMainLoop::PreCreateThreads() () #7 0x0000aaaaaf2cd928 in content::StartupTaskRunner::RunAllTasksNow() () #8 0x0000aaaaaeaec4b8 in content::BrowserMainLoop::CreateStartupTasks() () #9 0x0000aaaaaeaefa04 in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams) () #10 0x0000aaaaaeae96cc in content::BrowserMain(content::MainFunctionParams) () #11 0x0000aaaab09e3910 in content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) () #12 0x0000aaaab09e4130 in content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) () #13 0x0000aaaab09e4774 in content::ContentMainRunnerImpl::Run() () #14 0x0000aaaab09e2624 in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) () #15 0x0000aaaab09e2964 in content::ContentMain(content::ContentMainParams) () #16 0x0000aaaaabf5722c in ChromeMain () #17 0x0000fffff5be69c0 in () at /usr/lib64/libc.so.6 #18 0x0000fffff5be6a98 in __libc_start_main () at /usr/lib64/libc.so.6 #19 0x0000aaaaabf57030 in _start () Thanks. It is basically bug #906911 again. Just forgot to apply the patch. (In reply to Stephan Hartmann from comment #10) > Thanks. It is basically bug #906911 again. Just forgot to apply the patch. it was built on my machine with gcc 13 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6eede6e9305383ce6322415c0bc3eed5e6751a4 commit e6eede6e9305383ce6322415c0bc3eed5e6751a4 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2023-07-02 14:23:55 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2023-07-02 14:24:31 +0000 www-client/chromium: apply UB fix to M115 too Closes: https://bugs.gentoo.org/909198 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> .../{chromium-115.0.5790.56.ebuild => chromium-115.0.5790.56-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) |