cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

cef2 access violation... #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cef2 svn download and chrome source download
2. with complie success
3. cefclient.exe started access violation 

in cefclient.cpp

(line:534)profile->AddBrowserListener(L"", g_client->GetBrowserListener());

why problem...

Original issue reported on code.google.com by under...@gmail.com on 2 Aug 2010 at 8:36

GoogleCodeExporter commented 9 years ago
This bug report does not provide enough information.

1. What operating system and version are you using?
2. What revision of Chromium are you using?
3. Provide a stack trace for the crash.

Original comment by magreenb...@gmail.com on 2 Aug 2010 at 1:27

GoogleCodeExporter commented 9 years ago
thank you, magreenblatt

1. What operating system and version are you using?
  -> Windows XP Professional Version 2002 (SP3)
2. What revision of Chromium are you using?
  -> Used Chromium revision is 46337 (cef2_create_projects.bat file in substance)
3. Provide a stack trace for the crash.
   a) Debug error message box
First-chance exception at 0x004058e5 in cefclient.exe: 0xC0000005: Access 
violation reading location 0x00000000.

   b) Call stack message
cefclient.exe!WndProc(HWND__ * hWnd=0x00010c08, unsigned int message=1, 
unsigned int wParam=0, long lParam=1308800)  Line 533 + 0x41 byte   C++

Original comment by under...@gmail.com on 3 Aug 2010 at 1:05

GoogleCodeExporter commented 9 years ago
Based on your stack trace it looks like CefCreateProfile() is returning NULL.  
Try stepping through that function and see if you can identify why.

Original comment by magreenb...@gmail.com on 4 Aug 2010 at 2:40

GoogleCodeExporter commented 9 years ago
thank you, magreenblatt

You say right. 

CefRefPtr<CefProfile> profile = CefCreateProfile(L"");
profile is always null.

But first input parameter is null of CefCreateProfile().
Input parameter is not null!!

please say comment....

Original comment by under...@gmail.com on 5 Aug 2010 at 12:10

GoogleCodeExporter commented 9 years ago
// Create a new CefProfile object or return the existing CefProfile object
// that uses the specified |user_profile| directory.  If |user_profile| is empty
// the default directory will be used.
/*--cef()--*/
CefRefPtr<CefProfile> CefCreateProfile(const std::wstring& user_profile);

user_profile is empty the default dir will be used...

default directory is where position??

please help me..

Original comment by under...@gmail.com on 5 Aug 2010 at 12:55

GoogleCodeExporter commented 9 years ago
I assume from your posting of issue 107 that the problem was user error.

Original comment by magreenb...@gmail.com on 9 Aug 2010 at 7:25