chromium crash on startup. On console: xxx@xxx ~ $ chromium [21368:21395:96837380997:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [21368:21395:96837392939:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [21368:21402:96837477051:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [21368:21402:96837503545:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [21368:21386:96837569219:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. third_party/tcmalloc/chromium/src/tcmalloc.cc:414] Attempt to free invalid pointer: 0x9df27c1 Аварийный останов xxx@xxx ~ $ Reproducible: Always Steps to Reproduce: 1. emerge =www-client/chromium-13.0.772.0 2. ./chromium 3. Actual Results: chromium crash. Expected Results: running browser.
Created attachment 274597 [details] emerge --info www-client/chromium
It doesn't happen on my system. Could you run this under gdb and get a stack trace?
xxx@xxx ~ $ chromium-browser -g [8191:8218:176156750162:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [8191:8218:176156761555:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [8191:8219:176156891107:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [8191:8217:176157006288:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. third_party/tcmalloc/chromium/src/tcmalloc.cc:414] Attempt to free invalid pointer: 0x9df27c1 Аварийный останов xxx@xxx ~ $ gdb chromium GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... "/usr/bin/chromium": not in executable format: Формат файла не распознан (gdb) How can I start browser under gdb?
(In reply to comment #3) > "/usr/bin/chromium": not in executable format: Формат файла не распознан > (gdb) > How can I start browser under gdb? /usr/bin/chromium is a shell script. Run /usr/lib/chromium-browser/chrome under gdb, that should work.
xxx@xxx ~ $ gdb GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>. (gdb) run /usr/lib/chromium-browser/chrom Starting program: /usr/lib/chromium-browser/chrom No executable file specified. Use the "file" or "exec-file" command. (gdb) file /usr/lib/chromium-browser/chrom /usr/lib/chromium-browser/chrom: No such file or directory. (gdb) exec-file /usr/lib/chromium-browser/chrom /usr/lib/chromium-browser/chrom: No such file or directory. (gdb) quit xxx@xxx ~ $ ls -l /usr/lib/chromium-browser/ итого 40404 -rwxr-xr-x 1 root root 35545360 Май 25 12:55 chrome -rw-r--r-- 1 root root 2763152 Май 25 12:55 chrome.pak -rws--x--x 1 root root 13656 Май 25 12:55 chrome_sandbox -rwxr-xr-x 1 root root 680 Май 25 12:55 chromium-launcher.sh lrwxrwxrwx 1 root root 25 Май 25 12:55 libavcodec.so.52 -> /usr/lib/libavcodec.so.52 lrwxrwxrwx 1 root root 26 Май 25 12:55 libavformat.so.52 -> /usr/lib/libavformat.so.52 lrwxrwxrwx 1 root root 24 Май 25 12:55 libavutil.so.50 -> /usr/lib/libavutil.so.50 drwxr-xr-x 2 root root 1352 Май 25 12:55 locales drwxr-xr-x 3 root root 80 Май 24 20:43 resources -rw-r--r-- 1 root root 2997039 Май 25 12:55 resources.pak xxx@xxx ~ $
(In reply to comment #4) > /usr/bin/chromium is a shell script. Run /usr/lib/chromium-browser/chrome under > gdb, that should work. I think you made a typo, it's "chrome", not "chrom" (and the directory listing shows that).
xxx@xxx ~ $ gdb GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>. (gdb) run /usr/lib/chromium-browser/chrome Starting program: /usr/lib/chromium-browser/chrome No executable file specified. Use the "file" or "exec-file" command. (gdb) file /usr/lib/chromium-browser/chrome Reading symbols from /usr/lib/chromium-browser/chrome...(no debugging symbols found)...done. (gdb) run /usr/lib/chromium-browser/chrome Starting program: /usr/lib/chromium-browser/chrome /usr/lib/chromium-browser/chrome [Thread debugging using libthread_db enabled] [New Thread 0xb51aab70 (LWP 24814)] [New Thread 0xb49a9b70 (LWP 24815)] [New Thread 0xb3be5b70 (LWP 24816)] [New Thread 0xb33e4b70 (LWP 24817)] [New Thread 0xb2be3b70 (LWP 24818)] [New Thread 0xb23e2b70 (LWP 24819)] [New Thread 0xb13e0b70 (LWP 24821)] [New Thread 0xb1be1b70 (LWP 24820)] [New Thread 0xb0bdfb70 (LWP 24822)] [New Thread 0xb03deb70 (LWP 24823)] [New Thread 0xb03bdb70 (LWP 24824)] [New Thread 0xafbbcb70 (LWP 24827)] [New Thread 0xaf3bbb70 (LWP 24828)] [New Thread 0xaebbab70 (LWP 24829)] [Thread 0xaebbab70 (LWP 24829) exited] [New Thread 0xaebbab70 (LWP 24830)] [New Thread 0xae1c7b70 (LWP 24831)] [New Thread 0xae1a5b70 (LWP 24832)] [New Thread 0xaa121b70 (LWP 24837)] [Thread 0xaa121b70 (LWP 24837) exited] [New Thread 0xaa121b70 (LWP 24839)] [New Thread 0xa9920b70 (LWP 24843)] [24806:24823:187545628600:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [24806:24823:187545631857:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [New Thread 0xa7e98b70 (LWP 24847)] [24806:24823:187545788602:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [24806:24832:187545969490:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [New Thread 0xa7f14b70 (LWP 24850)] [New Thread 0xa7697b70 (LWP 24852)] [Thread 0xa7697b70 (LWP 24852) exited] [New Thread 0xa7ef3b70 (LWP 24857)] [New Thread 0xa7ed2b70 (LWP 24858)] [New Thread 0xa7697b70 (LWP 24861)] [Thread 0xa7697b70 (LWP 24861) exited] [New Thread 0xa835eb70 (LWP 24863)] [Thread 0xae1a5b70 (LWP 24832) exited] [Thread 0xae1c7b70 (LWP 24831) exited] [New Thread 0xa7697b70 (LWP 24865)] [Thread 0xa7f14b70 (LWP 24850) exited] [Thread 0xa835eb70 (LWP 24863) exited] [New Thread 0xa6e96b70 (LWP 24882)] [Thread 0xa6e96b70 (LWP 24882) exited] third_party/tcmalloc/chromium/src/tcmalloc.cc:414] Attempt to free invalid pointer: 0x9df27c1 Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall () (gdb)
Browser run, but crush after open 'preferences'.
Please run gdb again and issue "bt" command to print the backtrace.
xxx@xxx ~ $ gdb GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>. (gdb) file /usr/lib/chromium-browser/chrome Reading symbols from /usr/lib/chromium-browser/chrome...(no debugging symbols found)...done. (gdb) run /usr/lib/chromium-browser/chrome Starting program: /usr/lib/chromium-browser/chrome /usr/lib/chromium-browser/chrome [Thread debugging using libthread_db enabled] [New Thread 0xb51aab70 (LWP 30881)] [New Thread 0xb49a9b70 (LWP 30882)] [New Thread 0xb3be5b70 (LWP 30883)] [New Thread 0xb33e4b70 (LWP 30884)] [New Thread 0xb2be3b70 (LWP 30885)] [New Thread 0xb23e2b70 (LWP 30886)] [New Thread 0xb13e0b70 (LWP 30888)] [New Thread 0xb1be1b70 (LWP 30887)] [New Thread 0xb0bdfb70 (LWP 30889)] [New Thread 0xb03deb70 (LWP 30890)] [New Thread 0xb03bdb70 (LWP 30893)] [New Thread 0xafbbcb70 (LWP 30894)] [New Thread 0xaf3bbb70 (LWP 30895)] [New Thread 0xaebbab70 (LWP 30896)] [Thread 0xaebbab70 (LWP 30896) exited] [New Thread 0xaebbab70 (LWP 30897)] [New Thread 0xae1c7b70 (LWP 30898)] [New Thread 0xae181b70 (LWP 30899)] [New Thread 0xaa11db70 (LWP 30904)] [Thread 0xaa11db70 (LWP 30904) exited] [New Thread 0xaa11db70 (LWP 30906)] [New Thread 0xa991cb70 (LWP 30910)] [30873:30898:198395040606:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [30873:30898:198395043642:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [New Thread 0xa7e94b70 (LWP 30913)] [30873:30898:198395211328:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [30873:30890:198395348391:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. [New Thread 0xa7693b70 (LWP 30920)] [Thread 0xa7693b70 (LWP 30920) exited] third_party/tcmalloc/chromium/src/tcmalloc.cc:414] Attempt to free invalid pointer: 0x9df27c1 Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall () (gdb) bt #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb59c0f3a in raise () from /lib/libc.so.6 #2 0xb59c244c in abort () from /lib/libc.so.6 #3 0x087fb9d6 in ?? () #4 0x087fba7f in ?? () #5 0x087f4b15 in ?? () #6 0xb62744be in g_free () from /usr/lib/libglib-2.0.so.0 #7 0xb5bfb5f4 in gnome_keyring_attribute_list_free () from /usr/lib/libgnome-keyring.so.0 #8 0xb5bf9f9b in gnome_keyring_find_itemsv () from /usr/lib/libgnome-keyring.so.0 #9 0x0853e75b in ?? () #10 0x0853dacc in ?? () #11 0x08852ef5 in ?? () #12 0x0885347e in ?? () #13 0x0885703c in ?? () #14 0x0885743a in ?? () #15 0x08886a8f in ?? () #16 0x08886b0e in ?? () #17 0x08853981 in ?? () #18 0x08853a56 in ?? () #19 0x0808453d in ?? () #20 0x08075351 in ?? () #21 0x0807613b in ?? () #22 0xb59addd3 in __libc_start_main () from /lib/libc.so.6 #23 0x08074611 in ?? () (gdb) quit A debugging session is active. Inferior 1 [process 30873] will be killed. Quit anyway? (y or n) y xxx@xxx ~ $ Browser crash after open 'preferences' again.
Please add "-ggdb3" to CFLAGS and CXXFLAGS, and "splitdebug" to FEATURES (all in /etc/make.conf), and re-emerge chromium. Then please get the backtrace again. It should contain more info. Does the problem occur with USE="-gnome-keyring"?
Emerge failed with debug flags. Browser work fine with USE="-gnome-keyring".
(In reply to comment #12) > Emerge failed with debug flags. Could you post the error? I guess it ran out of memory - could you try increasing swap? > Browser work fine with USE="-gnome-keyring". Ah, that's a very important clue. I'll rebuild with USE="gnome-keyring" and see what happens.
Error were occur with ld (I don't save any files)... I've more space for build chromium. Before compiling I change: xxx xxx # cat /etc/fstab | grep /var/tmp tmpfs /var/tmp tmpfs defaults 0 0 (~1Gb free) xxx xxx # to: # mount -o bind /home/ /var/tmp/ (~ 200Gb free) p.s. I'm using: gnome-base/gnome-keyring-3.0.2-r300 USE="caps pam -debug -doc -test" from gnome overlay (system build with gnome 3).
(In reply to comment #14) > Error were occur with ld (I don't save any files)... I've more space for build > chromium. Before compiling I change: ld can fail because of lack of disk space, but it may also fail because lack of virtual memory (RAM + swap). Make sure you have both plenty of disk space and plenty of swap. > p.s. I'm using: > gnome-base/gnome-keyring-3.0.2-r300 USE="caps pam -debug -doc -test" > from gnome overlay (system build with gnome 3). That's a possible cause. I can't reproduce with gnome-base/gnome-keyring-2.32.1 from the main portage tree. Could you compile chromium with -ggdb3 and get a full stack trace? If that's an issue with gnome-3, I think we can submit that report upstream (http://crbug.com) so that it can be fixed before we get gnome-3 in Gentoo. Please post any upstream bug URLs here for reference.
Created attachment 275065 [details] Full back trace.
(In reply to comment #16) > Created attachment 275065 [details] > Full back trace. Sorry, there is no backtrace there. You forgot to run "bt". Also, please do not compress the file unless it's really needed. Could you try again?
(In reply to comment #17) > (In reply to comment #16) > > Created attachment 275065 [details] > > Full back trace. > > Sorry, there is no backtrace there. You forgot to run "bt". Also, please do not > compress the file unless it's really needed. Could you try again? I could not try again, because I've update to new version of: gnome-base/gnome-keyring-3.0.2-r300 -> gnome-base/gnome-keyring-3.0.3-r300 gnome-base/libgnome-keyring-3.0.2 -> gnome-base/libgnome-keyring-3.0.3 and browser work.
(In reply to comment #18) > I could not try again, because I've update to new version of: > gnome-base/gnome-keyring-3.0.2-r300 -> gnome-base/gnome-keyring-3.0.3-r300 > gnome-base/libgnome-keyring-3.0.2 -> gnome-base/libgnome-keyring-3.0.3 > and browser work. Closing then. Thank you for reporting back.