| Segmentation fault just after launching with new Ubuntu font installed | |||||||||
| Reported by r2d2.art...@gmail.com, Aug 5 2010 | Back to list | ||||||||
Chrome Version : Chromium 6.0.480.0 Ubuntu 10.04 URLs (if applicable) : N/A Other browsers tested: N/A What steps will reproduce the problem? 1. Run chromium-browser from terminal What is the expected result? A segmentation fault occurs What happens instead? The browser should launch Please provide any additional information below. Attach a screenshot if possible. The browser just won't open. I've tried deleting my settings, but it just recreates the defaults and then crashes. However, it can be run from another user. Running a debug, here are the results: // $ gdb /usr/lib/chromium-browser/chromium-browser GNU gdb (GDB) 7.1-ubuntu 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 "i486-linux-gnu". Para las instrucciones de informe de errores, vea: <http://www.gnu.org/software/gdb/bugs/>... Leyendo símbolos desde /usr/lib/chromium-browser/chromium-browser...Leyendo símbolos desde /usr/lib/debug/usr/lib/chromium-browser/chromium-browser...hecho. hecho. (gdb) run Starting program: /usr/lib/chromium-browser/chromium-browser [Thread debugging using libthread_db enabled] [Nuevo Thread 0xb7e17b70 (LWP 12080)] [Nuevo Thread 0xb7616b70 (LWP 12081)] [Nuevo Thread 0xb6c12b70 (LWP 12082)] [Nuevo Thread 0xb6411b70 (LWP 12083)] [Nuevo Thread 0xb5c10b70 (LWP 12084)] [Nuevo Thread 0xb540fb70 (LWP 12085)] [Nuevo Thread 0xb4c0eb70 (LWP 12086)] [Nuevo Thread 0xb440db70 (LWP 12087)] [Nuevo Thread 0xb3c0cb70 (LWP 12088)] [Nuevo Thread 0xb3bebb70 (LWP 12089)] [Nuevo Thread 0xb33eab70 (LWP 12090)] [Nuevo Thread 0xb2bd5b70 (LWP 12091)] [Thread 0xb2bd5b70 (LWP 12091) terminado] Attempting to load the system libmoon [Nuevo Thread 0xb2bd5b70 (LWP 12094)] [Thread 0xb2bd5b70 (LWP 12094) terminado] [Nuevo Thread 0xb2bd5b70 (LWP 12098)] [Nuevo Thread 0x431fb70 (LWP 12099)] Program received signal SIGSEGV, Segmentation fault. sk_atomic_inc (addr=0x4) at third_party/skia/src/ports/SkThread_pthread.cpp:12 12 third_party/skia/src/ports/SkThread_pthread.cpp: No existe el archivo o directorio. in third_party/skia/src/ports/SkThread_pthread.cpp (gdb) // (some of the strings are in Spanish, sorry about that) No matter if I reinstall it, it won't open from my user.
Comment 1
by
thestig@chromium.org,
Aug 5 2010
,
Aug 5 2010
Here's the backtrace:
(gdb) backtrace
#0 sk_atomic_inc (addr=0x4)
at third_party/skia/src/ports/SkThread_pthread.cpp:12
#1 0x0880a21c in SkRefCnt::ref (this=0xbfffdd6c, tf=0x0, font_family=...,
font_size=8, style=1) at ./third_party/skia/include/core/SkRefCnt.h:50
#2 Font (this=0xbfffdd6c, tf=0x0, font_family=..., font_size=8, style=1)
at gfx/font_skia.cc:78
#3 0x0880a2c3 in gfx::Font::DeriveFont (this=0xaad7440, size_delta=0, style=1)
at gfx/font_skia.cc:165
#4 0x0870efe0 in ResourceBundle::LoadFontsIfNecessary (this=0xa7f8770)
at app/resource_bundle.cc:175
#5 0x0870f73a in ResourceBundle::GetFont (this=0xa7f8770,
style=ResourceBundle::BaseFont) at app/resource_bundle.cc:193
#6 0x083e4d74 in TabRendererGtk::InitResources ()
at chrome/browser/gtk/tabs/tab_renderer_gtk.cc:1079
#7 0x083e62df in TabRendererGtk::GetMinimumUnselectedSize ()
at chrome/browser/gtk/tabs/tab_renderer_gtk.cc:421
#8 0x083e6972 in TabRendererGtk::GetStandardSize ()
at chrome/browser/gtk/tabs/tab_renderer_gtk.cc:440
#9 0x08143565 in TabStripGtk (this=0xaaaf120, model=0xa8087bc,
window=0xaac7dd0) at chrome/browser/gtk/tabs/tab_strip_gtk.cc:694
#10 0x080ff406 in BrowserWindowGtk::InitWidgets (this=0xaac7dd0)
at chrome/browser/gtk/browser_window_gtk.cc:1545
#11 0x08102ae8 in BrowserWindowGtk (this=0xaac7dd0, browser=0xa808780)
at chrome/browser/gtk/browser_window_gtk.cc:375
#12 0x083c7e14 in BrowserWindow::CreateBrowserWindow (browser=0xa808780)
at chrome/browser/gtk/browser_window_factory_gtk.cc:12
#13 0x0830d39f in Browser::CreateBrowserWindow (this=0xa808780)
at chrome/browser/browser.cc:351
#14 0x0830ef84 in Browser::Create (profile=0xa7fe100)
at chrome/browser/browser.cc:298
#15 0x08320d0d in BrowserInit::LaunchWithProfile::OpenTabsInBrowser (
this=0xbfffe32c, browser=0x0, process_startup=true, tabs=...)
at chrome/browser/browser_init.cc:742
#16 0x0832100f in BrowserInit::LaunchWithProfile::OpenURLsInBrowser (
this=0xbfffe32c, browser=0x0, process_startup=true, urls=...)
at chrome/browser/browser_init.cc:727
#17 0x0832172d in BrowserInit::LaunchWithProfile::ProcessLaunchURLs (
this=0xbfffe32c, process_startup=true, urls_to_open=...)
at chrome/browser/browser_init.cc:674
#18 0x0832210a in BrowserInit::LaunchWithProfile::Launch (this=0xbfffe32c,
profile=0xa7fe100, process_startup=false)
at chrome/browser/browser_init.cc:535
#19 0x08322ac4 in BrowserInit::LaunchBrowser (this=0xbfffe81c,
command_line=..., profile=0xa7fe100, cur_dir=..., process_startup=false,
return_code=0xbfffe850) at chrome/browser/browser_init.cc:399
#20 0x08322eed in BrowserInit::ProcessCmdLineImpl (command_line=...,
cur_dir=..., process_startup=true, profile=0xa7fe100,
return_code=0xbfffe850, browser_init=0xbfffe81c)
at chrome/browser/browser_init.cc:1051
#21 0x08074a01 in BrowserInit::Start (parameters=...)
at ./chrome/browser/browser_init.h:47
#22 BrowserMain (parameters=...) at chrome/browser/browser_main.cc:1324
#23 0x0806f9cb in ChromeMain (argc=1, argv=0xbffff494)
at chrome/app/chrome_dll_main.cc:899
#24 0x0806fb52 in main (argc=1, argv=0xbffff494)
at chrome/app/chrome_exe_main_gtk.cc:50
(gdb)
How do I find the revision number if I can't load the program?
,
Aug 5 2010
dpkg -l chromium-browser ? It looks like a font issue. SkTypeface::CreateFromName() is returning NULL. If it works for other users on the same computer, then you might have some custom settings in ~/.fonts.conf or ~/.fonts
,
Aug 6 2010
dpkg says I'm running chromium-browser 6.0.486.0~svn2 Let me check about the fonts; I recently installed a new font, but don't remeber which one...
,
Aug 6 2010
I wonder if there's anything we can do here. In CreateFont we try a fallback and if that doesn't work we force a crash with an error message telling you what font it failed to find.
,
Aug 7 2010
I found the problem, and it's not on chromium-browser. The guilty is the new UbuntuBeta font, which for some reason crashes Chromium. Thank you for your help.
,
Aug 7 2010
I found the problem, and it's not on chromium-browser. The guilty is the new UbuntuBeta font, which for some reason crashes Chromium. Thank you for your help.
,
Aug 7 2010
Probably need to fix this sooner rather than later.
,
Aug 9 2010
Is this because the Ubuntu font becomes the default, but doesn't include a bold version? I think that would trigger this. (To see, note that app/resource_bundle.cc:175 is in the call stack.)
,
Aug 10 2010
Correct, only Regular was available until yesterday (2010-08-09). Since then, Regular/Italic/Bold/BoldItalic are available. So it's probably down to Chromium making the presumption that a bold variant is available and not checking before attempting to use it.
,
Aug 27 2010
Also reported here: https://bugs.launchpad.net/bugs/623868
,
Sep 13 2010
could we do something to prevent the crash? ubuntu 10.10 is in beta freeze and i'm still getting several crash reports a day for this.
,
Sep 13 2010
I thought that this would go away when the bold version of the font was included. If not, then I'd probably need the font package in question to fix it.
,
Sep 13 2010
I don't have it myself, but apparently, a lot of people have it, maybe it's an old copy but anyway, a crash loading a random font is not good. I'll try to get of copy of those crashy fonts (yet i think they were private at that point, not sure though)
,
Sep 13 2010
For other people's reference: https://wiki.ubuntu.com/Ubuntu_Font_Family#Howto fta: do you have contact information for any of the people reporting the crashes. Are they the same machines repeatedly? I wonder what version of the Font Family they are running. In theory there are ~1,000 accounts with access to the phased beta font packages so far and the updates via the PPA mean (again in theory) that there /shouldn't/ be stale/superseded versions floating around. Of course the people getting the crashes might not be getting the .ttf files via the PPA... Hmmm.
,
Sep 16 2010
I've tried installing several versions of this font and can't make anything crash. The code referenced in the bug report has changed around a fair bit also, so the crash may have been cleaned up during that.
,
Sep 16 2010
If you can't make it crash, then it should be marked as Fixed and not as WontFix
,
Sep 16 2010
@r2d2.art2005 I don't really disagree, but the description for "WontFix" includes "Cannot reproduce" so I picked that. I admit that "WontFix" is a bad name for this case.
,
Mar 19 2011
Chrome Version : Chromium 6.0.480.0 Ubuntu 10.04 URLs (if applicable) : N/A Other browsers tested: N/A What steps will reproduce the problem? 1. Run chromium-browser from terminal What is the expected result? A segmentation fault occurs What happens instead? The browser should launch Please provide any additional information below. Attach a screenshot if possible. The browser just won't open. I've tried deleting my settings, but it just recreates the defaults and then crashes. However, it can be run from another user. Running a debug, here are the results: // $ gdb /usr/lib/chromium-browser/chromium-browser GNU gdb (GDB) 7.1-ubuntu 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 "i486-linux-gnu". Para las instrucciones de informe de errores, vea: <http://www.gnu.org/software/gdb/bugs/>... Leyendo símbolos desde /usr/lib/chromium-browser/chromium-browser...Leyendo símbolos desde /usr/lib/debug/usr/lib/chromium-browser/chromium-browser...hecho. hecho. (gdb) run Starting program: /usr/lib/chromium-browser/chromium-browser [Thread debugging using libthread_db enabled] [Nuevo Thread 0xb7e17b70 (LWP 12080)] [Nuevo Thread 0xb7616b70 (LWP 12081)] [Nuevo Thread 0xb6c12b70 (LWP 12082)] [Nuevo Thread 0xb6411b70 (LWP 12083)] [Nuevo Thread 0xb5c10b70 (LWP 12084)] [Nuevo Thread 0xb540fb70 (LWP 12085)] [Nuevo Thread 0xb4c0eb70 (LWP 12086)] [Nuevo Thread 0xb440db70 (LWP 12087)] [Nuevo Thread 0xb3c0cb70 (LWP 12088)] [Nuevo Thread 0xb3bebb70 (LWP 12089)] [Nuevo Thread 0xb33eab70 (LWP 12090)] [Nuevo Thread 0xb2bd5b70 (LWP 12091)] [Thread 0xb2bd5b70 (LWP 12091) terminado] Attempting to load the system libmoon [Nuevo Thread 0xb2bd5b70 (LWP 12094)] [Thread 0xb2bd5b70 (LWP 12094) terminado] [Nuevo Thread 0xb2bd5b70 (LWP 12098)] [Nuevo Thread 0x431fb70 (LWP 12099)] Program received signal SIGSEGV, Segmentation fault. sk_atomic_inc (addr=0x4) at third_party/skia/src/ports/SkThread_pthread.cpp:12 12 third_party/skia/src/ports/SkThread_pthread.cpp: No existe el archivo o directorio. in third_party/skia/src/ports/SkThread_pthread.cpp (gdb) // (some of the strings are in Spanish, sorry about that) No matter if I reinstall it, it won't open from my user.
,
Oct 13 2012
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
,
Mar 10 2013
,
Mar 13 2013
|
|||||||||
| ► Sign in to add a comment | |||||||||