Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 17192 by kzjeef: chrome crash while I use a chinese-named font
http://code.google.com/p/chromium/issues/detail?id=17192

Chrome Version       : 3.0.195.0 (21056)
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x:OK
          IE 7:
          IE 8:

system :
Ubuntu 9.04- the Jaunty Jackalope
Gnome  2.26.1
Language : Chinese.

What steps will reproduce the problem?
1. Install sudo apt-get install ttf-wqy-zenhei
2. Set your GNOME font to zenhei, (文泉驿正黑)
3. start chrome.


// I think it's also happened without other Chinese-named Font.
What is the expected result?


What happens instead?
  chrome crashed.

Please provide any additional information below. Attach a screenshot if
possible.


the log:

k...@t61: chrom $ ./src/sconsbuild/Debug/chrome
[575:575:13615371836:FATAL:/home/kzj/project/chrom/src/app/gfx/font_skia.cc(90)]
Check failed: tf. Could not find font: 文泉驿正黑
[575:575:13615371836:FATAL:/home/kzj/project/chrom/src/app/gfx/font_skia.cc(90)]
Check failed: tf. Could not find font: 文泉驿正黑
Backtrace:
        ./src/sconsbuild/Debug/chrome(_ZN10StackTraceC1Ev+0x32) [0x970dbf2]
        ./src/sconsbuild/Debug/chrome(_ZN7logging10LogMessageD1Ev+0x208)  
[0x97262c0]
        
./src/sconsbuild/Debug/chrome(_ZN3gfx4Font10CreateFontERKSbIwSt11char_traitsIwESaIwEEi+0x195)
  
[0x96fa73d]
        ./src/sconsbuild/Debug/chrome(_ZN3gfx4FontC1Ev+0x188) [0x96f9c14]
        
./src/sconsbuild/Debug/chrome(_ZN14ResourceBundle20LoadFontsIfNecessaryEv+0x4d) 
 
[0x9703521]
        
./src/sconsbuild/Debug/chrome(_ZN14ResourceBundle7GetFontENS_9FontStyleE+0x12)  
[0x9703766]
        ./src/sconsbuild/Debug/chrome(_ZN14TabRendererGtk13InitResourcesEv+0x3e)
[0x951f3d6]
        
./src/sconsbuild/Debug/chrome(_ZN14TabRendererGtk24GetMinimumUnselectedSizeEv+0xf)
  
[0x95208c7]
        
./src/sconsbuild/Debug/chrome(_ZN14TabRendererGtk15GetStandardSizeEv+0x14)
[0x9521160]
        ./src/sconsbuild/Debug/chrome(_ZN11TabStripGtkC1EP13TabStripModel+0x89)
[0x9526e85]
        
./src/sconsbuild/Debug/chrome(_ZN16BrowserWindowGtk11InitWidgetsEv+0x141)
[0x94fdb3f]
        ./src/sconsbuild/Debug/chrome(_ZN16BrowserWindowGtkC1EP7Browser+0x2e0)
[0x9500804]
        
./src/sconsbuild/Debug/chrome(_ZN13BrowserWindow19CreateBrowserWindowEP7Browser+0x24)
  
[0x94fc008]
        ./src/sconsbuild/Debug/chrome(_ZN7Browser19CreateBrowserWindowEv+0xa4)
[0x94830d6]
        ./src/sconsbuild/Debug/chrome(_ZN7Browser6CreateEP7Profile+0x3a)  
[0x9484968]
        
./src/sconsbuild/Debug/chrome(_ZN11BrowserInit17LaunchWithProfile17OpenURLsInBrowserEP7BrowserbRKSt6vectorI4GURLSaIS4_EE+0x19a)
  
[0x948f4e6]
        
./src/sconsbuild/Debug/chrome(_ZN11BrowserInit17LaunchWithProfile6LaunchEP7Profileb+0x569)
  
[0x9490121]
        ./src/sconsbuild/Debug/chrome [0x94906b7]
        
./src/sconsbuild/Debug/chrome(_ZN11BrowserInit18ProcessCmdLineImplERK11CommandLineRKSbIwSt11char_traitsIwESaIwEEbP7ProfilePiPS_+0xc8e)
  
[0x94915d8]
        
./src/sconsbuild/Debug/chrome(_ZN11BrowserInit5StartERK11CommandLineRKSbIwSt11char_traitsIwESaIwEEP7ProfilePi+0x35)
  
[0x926322f]
        
./src/sconsbuild/Debug/chrome(_Z11BrowserMainRK18MainFunctionParams+0x1ed5)  
[0x925f74a]
        ./src/sconsbuild/Debug/chrome(ChromeMain+0x76e) [0x92598ef]
        ./src/sconsbuild/Debug/chrome(main+0x2a) [0x925907e]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0x43a4c775]
        ./src/sconsbuild/Debug/chrome [0x9258fc1]



Gdb bt:
(gdb) r
Starting program: /home/kzj/project/chrom/src/sconsbuild/Debug/chrome
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ffc720 (LWP 9941)]
[New Thread 0xb7e33b90 (LWP 9945)]
[New Thread 0xb7408b90 (LWP 9946)]
[New Thread 0xb6c07b90 (LWP 9947)]
[New Thread 0xb6406b90 (LWP 9948)]
[New Thread 0xb5c05b90 (LWP 9949)]
[9941:9941:16763535893:FATAL:/home/kzj/project/chrom/src/app/gfx/font_skia.cc(90)]
Check failed: tf. Could not find font: 文泉驿正黑

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xb7ffc720 (LWP 9941)]
DebugUtil::BreakDebugger ()
     at /home/kzj/project/chrom/src/base/debug_util_posix.cc:116
116     }
(gdb) bt
#0  DebugUtil::BreakDebugger ()
     at /home/kzj/project/chrom/src/base/debug_util_posix.cc:116
#1  0x097262b0 in ~LogMessage (this=0xbf959804)
     at /home/kzj/project/chrom/src/base/logging.cc:531
#2  0x096fa73d in gfx::Font::CreateFont (font_fami...@0xbf959b38,  
font_size=10)
     at /home/kzj/project/chrom/src/app/gfx/font_skia.cc:90
#3  0x096f9c14 in Font (this=0xc018208)
     at /home/kzj/project/chrom/src/app/gfx/font_gtk.cc:73
#4  0x09703521 in ResourceBundle::LoadFontsIfNecessary (this=0xb7500cf8)
     at /home/kzj/project/chrom/src/app/resource_bundle.cc:162
#5  0x09703766 in ResourceBundle::GetFont (this=0xb7500cf8,
     style=ResourceBundle::BaseFont)
     at /home/kzj/project/chrom/src/app/resource_bundle.cc:189
#6  0x0951f3d6 in TabRendererGtk::InitResources ()
     at
/home/kzj/project/chrom/src/chrome/browser/gtk/tabs/tab_renderer_gtk.cc:822
#7  0x095208c7 in TabRendererGtk::GetMinimumUnselectedSize ()
     at
/home/kzj/project/chrom/src/chrome/browser/gtk/tabs/tab_renderer_gtk.cc:297
#8  0x09521160 in TabRendererGtk::GetStandardSize ()
     at
/home/kzj/project/chrom/src/chrome/browser/gtk/tabs/tab_renderer_gtk.cc:316
#9  0x09526e85 in TabStripGtk (this=0xc017a08, model=0xb7513ce8)
---Type <return> to continue, or q <return> to quit---
     at  
/home/kzj/project/chrom/src/chrome/browser/gtk/tabs/tab_strip_gtk.cc:668
#10 0x094fdb3f in BrowserWindowGtk::InitWidgets (this=0xbfbe0e0)
     at
/home/kzj/project/chrom/src/chrome/browser/gtk/browser_window_gtk.cc:1090

#11 0x09500804 in BrowserWindowGtk (this=0xbfbe0e0, browser=0xb7513cb0)
     at  
/home/kzj/project/chrom/src/chrome/browser/gtk/browser_window_gtk.cc:399
#12 0x094fc008 in BrowserWindow::CreateBrowserWindow (browser=0xb7513cb0)
     at
/home/kzj/project/chrom/src/chrome/browser/gtk/browser_window_factory_gtk.cc:12
#13 0x094830d6 in Browser::CreateBrowserWindow (this=0xb7513cb0)
     at /home/kzj/project/chrom/src/chrome/browser/browser.cc:277
#14 0x09484968 in Browser::Create (profile=0xb7501fe8)
     at /home/kzj/project/chrom/src/chrome/browser/browser.cc:255
#15 0x0948f4e6 in BrowserInit::LaunchWithProfile::OpenURLsInBrowser (
     this=0xbf95a4ac, browser=0x0, process_startup=true, ur...@0xbf95a284)
     at /home/kzj/project/chrom/src/chrome/browser/browser_init.cc:563
#16 0x09490121 in BrowserInit::LaunchWithProfile::Launch (this=0xbf95a4ac,
     profile=0xb7501fe8, process_startup=true)
     at /home/kzj/project/chrom/src/chrome/browser/browser_init.cc:438
#17 0x094906b7 in LaunchBrowser (command_li...@0xbf84db8,  
profile=0xb7501fe8,
     cur_d...@0xbf95ac9c, process_startup=true, return_code=0xbf95aca0,
     browser_init=0xbf95ac7c)
     at /home/kzj/project/chrom/src/chrome/browser/browser_init.cc:335
---Type <return> to continue, or q <return> to quit---
#18 0x094915d8 in BrowserInit::ProcessCmdLineImpl (command_li...@0xbf84db8,
     cur_d...@0xbf95ac9c, process_startup=true, profile=0xb7501fe8,
     return_code=0xbf95aca0, browser_init=0xbf95ac7c)
     at /home/kzj/project/chrom/src/chrome/browser/browser_init.cc:821
#19 0x0926322f in BrowserInit::Start (this=0xbf95ac7c, cmd_li...@0xbf84db8,
     cur_d...@0xbf95ac9c, profile=0xb7501fe8, return_code=0xbf95aca0)
     at /home/kzj/project/chrom/src/chrome/browser/browser_init.h:39
#20 0x0925f74a in BrowserMain (paramete...@0xbf95b230)
     at /home/kzj/project/chrom/src/chrome/browser/browser_main.cc:761
#21 0x092598ef in ChromeMain (argc=1, argv=0xbf95b394)
     at /home/kzj/project/chrom/src/chrome/app/chrome_dll_main.cc:510
#22 0x0925907e in main (argc=1, argv=0xbf95b394)
     at /home/kzj/project/chrom/src/chrome/app/chrome_exe_main_gtk.cc:33
(gdb) exit




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to