win32 0.8.2, 0.8.4: crashes (with decoded dumps)

3 views
Skip to first unread message

Oleg Verych

unread,
Jan 13, 2014, 6:14:28 PM1/13/14
to node-...@googlegroups.com
Hi. I'm very pleased to join this group! Thanks for all this good stuff!


There are many crashes with HTML5/ExtJS Application.

I've noticed, that sometimes cookies got corrupted (state of UI components gets saved there). After one crash nw.exe started to crash just after it runs. I've removed cookie storage files in c:\Users\$USER\AppData\Local\$APPNAME\cookie*

OK runs again. I've also switched off cookie usage in app. No fast crashes, but sometimes they are still there.

After i've seen here last crash reports, i've done some

The dumps in my win7are here: c:\Users\$USER\AppData\Local\Temp\*.dmp

I can trigger a crash with enabling of cookie usage in app:
    Ext.state.Manager.setProvider(new Ext.state.CookieProvider)

Here are some decoded dumps (the first one is fresh from few minutes ago):

Pattern is:
nw.exe!nwapi::Window::CookieChanged(content::ShellBrowserContext *,ChromeCookieDetails *) [window.cc : 615 + 0x30]

=*= babfd939-8196-468b-89a1-533883da29d1.dmp.txt =*=
Operating system: Windows NT
                  6.1.7601 Service Pack 1
CPU: x86
     AuthenticAMD family 20 model 2 stepping 0
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0xfffffffffffff1fa

Thread 0 (crashed)
 0  nw.exe!nwapi::DispatcherHost::SendEvent(nwapi::Base *,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,base::ListValue const &) [dispatcher_host.cc : 86 + 0x37]
    eip = 0x00d8d13c   esp = 0x0019f390   ebp = 0x0019f39c   ebx = 0x00000000
    esi = 0x0096b210   edi = 0x091db6e0   eax = 0x0a7167e0   ecx = 0x0096b214
    edx = 0xfffff1fa   efl = 0x00010206
    Found by: given as instruction pointer in context
 1  nw.exe!nwapi::Window::CookieChanged(content::ShellBrowserContext *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
    eip = 0x00da1ce5   esp = 0x0019f3a4   ebp = 0x0019f51c
    Found by: call frame info
 2  nw.exe!nwapi::Window::Observe(int,content::NotificationSource const &,content::NotificationDetails const &) [window.cc : 565 + 0xe]
    eip = 0x00da2314   esp = 0x0019f524   ebp = 0x0019f5e4
    Found by: call frame info
 3  nw.exe!content::NotificationServiceImpl::Notify(int,content::NotificationSource const &,content::NotificationDetails const &) [notification_service_impl.cc : 125 + 0xb7]
    eip = 0x01f81e91   esp = 0x0019f5ec   ebp = 0x0019f6cc
    Found by: call frame info
 4  nw.exe!content::`anonymous namespace'::NWCookieMonsterDelegate::OnCookieChangedAsyncHelper(net::CanonicalCookie const &,bool,net::CookieMonster::Delegate::ChangeCause) [shell_url_request_context_getter.cc : 112 + 0x26]
    eip = 0x00d96d82   esp = 0x0019f6d4   ebp = 0x0019f6f0
    Found by: call frame info
 5  nw.exe!base::internal::Invoker<4,base::internal::BindState<base::internal::RunnableAdapter<void ( content::`anonymous namespace'::NWCookieMonsterDelegate::*)(net::CanonicalCookie const &,bool,net::CookieMonster::Delegate::ChangeCause)>,void (content::`anonymous namespace'::NWCookieMonsterDelegate *,net::CanonicalCookie const &,bool,net::CookieMonster::Delegate::ChangeCause),void (content::`anonymous namespace'::NWCookieMonsterDelegate *,net::CanonicalCookie,bool,net::CookieMonster::Delegate::ChangeCause)>,void (content::`anonymous namespace'::NWCookieMonsterDelegate *,net::CanonicalCookie const &,bool,net::CookieMonster::Delegate::ChangeCause)>::Run(base::internal::BindStateBase *) [bind_internal.h : 1568 + 0x21]
    eip = 0x00d96e95   esp = 0x0019f6f8   ebp = 0x0019f708
    Found by: call frame info
 6  nw.exe!base::MessageLoop::RunTask(base::PendingTask const &) [message_loop.cc : 491 + 0x8]
    eip = 0x01073d64   esp = 0x0019f710   ebp = 0x0019f850
    Found by: call frame info
 7  nw.exe!base::MessageLoop::DoWork() [message_loop.cc : 617 + 0xa]
    eip = 0x010758ba   esp = 0x0019f858   ebp = 0x0019f8ec
    Found by: call frame info
 8  nw.exe!base::MessagePumpForUI::DoRunLoop() [message_pump_win.cc : 243 + 0x8]
    eip = 0x0109945c   esp = 0x0019f8f4   ebp = 0x0019f91c
    Found by: call frame info
 9  nw.exe!base::MessagePumpWin::Run(base::MessagePump::Delegate *) [message_pump_win.h : 48 + 0x3d]
    eip = 0x0109928e   esp = 0x0019f924   ebp = 0x0019f93c
    Found by: call frame info
10  nw.exe!base::MessageLoop::RunInternal() [message_loop.cc : 445 + 0xa]
    eip = 0x01074a2f   esp = 0x0019f944   ebp = 0x0019fa04
    Found by: call frame info
11  nw.exe!base::RunLoop::Run() [run_loop.cc : 45 + 0x6]
    eip = 0x01096eb3   esp = 0x0019fa0c   ebp = 0x0019faf8
    Found by: call frame info
12  nw.exe!content::BrowserMainLoop::MainMessageLoopRun() [browser_main_loop.cc : 964 + 0x7]
    eip = 0x01f9143b   esp = 0x0019fa14   ebp = 0x0019faf8
    Found by: stack scanning
13  nw.exe!content::BrowserMainLoop::RunMainMessageLoopParts() [browser_main_loop.cc : 673 + 0x6]
    eip = 0x01f914b6   esp = 0x0019fb00   ebp = 0x0019fbc4
    Found by: call frame info
14  nw.exe!content::BrowserMainRunnerImpl::Run() [browser_main_runner.cc : 113 + 0x7]
    eip = 0x01f45512   esp = 0x0019fb08   ebp = 0x0019fbc4
    Found by: stack scanning
15  nw.exe!ShellBrowserMain(content::MainFunctionParams const &) [shell_browser_main.cc : 45 + 0x4]
    eip = 0x00d66cc8   esp = 0x0019fbcc   ebp = 0x0019fbd4
    Found by: call frame info
16  nw.exe!content::ShellMainDelegate::RunProcess(std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,content::MainFunctionParams const &) [shell_main_delegate.cc : 183 + 0x8]
    eip = 0x00d6249c   esp = 0x0019fbdc   ebp = 0x0019fbe0
    Found by: call frame info
17  nw.exe!content::RunNamedProcessTypeMain(std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,content::MainFunctionParams const &,content::ContentMainDelegate *) [content_main_runner.cc : 431 + 0xb]
    eip = 0x01bbcd35   esp = 0x0019fbe8   ebp = 0x0019fcc0
    Found by: call frame info
18  nw.exe!content::ContentMainRunnerImpl::Run() [content_main_runner.cc : 763 + 0x20]
    eip = 0x01bbcf2d   esp = 0x0019fcc8   ebp = 0x0019fddc
    Found by: call frame info
19  nw.exe!content::ContentMain(HINSTANCE__ *,sandbox::SandboxInterfaceInfo *,content::ContentMainDelegate *) [content_main.cc : 35 + 0x4]
    eip = 0x01bbc7c0   esp = 0x0019fde4   ebp = 0x0019fdec
    Found by: call frame info
20  nw.exe!wWinMain [shell_main.cc : 40 + 0x10]
    eip = 0x00d61514   esp = 0x0019fdf4   ebp = 0x0019fe2c
    Found by: call frame info
21  nw.exe!__tmainCRTStartup [crt0.c : 275 + 0x1b]
    eip = 0x021deaa3   esp = 0x0019fe34   ebp = 0x0019febc
    Found by: call frame info
22  kernel32.dll + 0x13399
    eip = 0x76a2339a   esp = 0x0019fec4   ebp = 0x0019fec8
    Found by: call frame info
23  ntdll.dll + 0x39ef1
    eip = 0x77519ef2   esp = 0x0019fed0   ebp = 0x0019ff08
    Found by: previous frame's frame pointer
24  ntdll.dll + 0x39ec4
    eip = 0x77519ec5   esp = 0x0019ff10   ebp = 0x0019ff20
    Found by: previous frame's frame pointer

Thread 1
 0  ntdll.dll + 0x20c22
    eip = 0x77500c22   esp = 0x057df36c   ebp = 0x057df37c   ebx = 0x05ef2530
    esi = 0x05ef24f0   edi = 0x057df6ac   eax = 0x00000000   ecx = 0x00000000
    edx = 0x00000000   efl = 0x00000246
    Found by: given as instruction pointer in context

Thread 2
 0  ntdll.dll + 0x1f8b1
    eip = 0x774ff8b1   esp = 0x05a9fdd8   ebp = 0x05a9fe44   ebx = 0x00000000
    esi = 0x00000128   edi = 0x00000000   eax = 0x010a34e0   ecx = 0x00000000
    edx = 0x00000000   efl = 0x00000246
    Found by: given as instruction pointer in context
 1  kernel32.dll + 0x11193 
........
===============================================

=*= ecb3d9d4-b019-442a-a10d-7c2ab8fd9501.dmp.txt =*=
Operating system: Windows NT
                  6.1.7601 Service Pack 1
CPU: x86
     AuthenticAMD family 20 model 2 stepping 0
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_EXEC
Crash address: 0x9cb0a0

Thread 0 (crashed)
 0  0x9cb0a0
    eip = 0x009cb0a0   esp = 0x0019ec68   ebp = 0x0019ec78   ebx = 0x00000000
    esi = 0x009cb0a0   edi = 0x00a0e040   eax = 0x009cb0a0   ecx = 0x009cb0a4
    edx = 0x00a465a0   efl = 0x00010212
    Found by: given as instruction pointer in context
 1  nw.exe!nwapi::Window::CookieChanged(content::ShellBrowserContext *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
    eip = 0x01341ce5   esp = 0x0019ec80   ebp = 0x0019edf8
    Found by: previous frame's frame pointer
 2  nw.exe!nwapi::Window::Observe(int,content::NotificationSource const &,content::NotificationDetails const &) [window.cc : 565 + 0xe]
    eip = 0x01342314   esp = 0x0019ee00   ebp = 0x0019eec0
    Found by: call frame info 

=*= aa75fb81-3937-4fc9-8f9f-468dc7cf3b50.dmp.txt  =*=
Operating system: Windows NT
                  6.1.7601 Service Pack 1
CPU: x86
     AuthenticAMD family 20 model 2 stepping 0
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0xfffffffffb324342

Thread 0 (crashed)
 0  nw.exe!nwapi::DispatcherHost::SendEvent(nwapi::Base *,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,base::ListValue const &) [dispatcher_host.cc : 86 + 0x37]
    eip = 0x001fd13c   esp = 0x0291eea4   ebp = 0x0291eeb0   ebx = 0x00000000
    esi = 0x04cdb0c0   edi = 0x04d3e5a0   eax = 0x07252ca0   ecx = 0x04cdb0c4
    edx = 0xfb324342   efl = 0x00010202
    Found by: given as instruction pointer in context
 1  nw.exe!nwapi::Window::CookieChanged(content::ShellBrowserContext *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
    eip = 0x00211ce5   esp = 0x0291eeb8   ebp = 0x0291f030
    Found by: call frame info
 2  nw.exe!nwapi::Window::Observe(int,content::NotificationSource const &,content::NotificationDetails const &) [window.cc : 565 + 0xe]
    eip = 0x00212314   esp = 0x0291f038   ebp = 0x0291f0f8
    Found by: call frame info

Thanks!
-- 
sed 'sed && sh + olecom = love'  <<  ''
-o--=O`C
 #oo'L O
<___=E M

Roger

unread,
Jan 15, 2014, 8:57:47 AM1/15/14
to Oleg Verych, node-...@googlegroups.com
Thanks for the stack trace. Looks similar with
https://github.com/rogerwang/node-webkit/issues/1446

I'll fix it soon.

Roger

Oleg Verych <ole...@gmail.com> writes:

> Hi. I'm very pleased to join this group! Thanks for all this good stuff!
>
>
> There are many crashes with HTML5/ExtJS Application.
>
> I've noticed, that sometimes cookies got corrupted (state of UI components
> gets saved there). After one crash nw.exe started to crash just after it
> runs. I've removed cookie storage files in
> c:\Users\$USER\AppData\Local\$APPNAME\cookie*
>
> OK runs again. I've also switched off cookie usage in app. No fast crashes,
> but sometimes they are still there.
>
> After i've seen here last crash reports, i've done some
> https://github.com/rogerwang/node-webkit/wiki/Crash-dump
> http://www.chromium.org/developers/decoding-crash-dumps
> https://s3.amazonaws.com/node-webkit/v0.8.4/nw.exe.pdb.zip
>
> http://stackoverflow.com/questions/11302258/build-google-breakpad-stackwalk
>
> The dumps in my win7are here: c:\Users\$USER\AppData\Local\Temp\*.dmp
>
> I can trigger a crash with enabling of cookie usage in app:
> Ext.state.Manager.setProvider(new Ext.state.CookieProvider)
>
> Here are some decoded dumps (the first one is fresh from few minutes ago):
>
> Pattern is:
> nw.exe!*nwapi::Window::CookieChanged*(content::ShellBrowserContext
> *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
>
> *=*= babfd939-8196-468b-89a1-533883da29d1.dmp.txt =*=*
> Operating system: Windows NT
> 6.1.7601 Service Pack 1
> CPU: x86
> AuthenticAMD family 20 model 2 stepping 0
> 2 CPUs
>
> Crash reason: EXCEPTION_ACCESS_VIOLATION_READ
> Crash address: 0xfffffffffffff1fa
>
> Thread 0 (crashed)
> 0 nw.exe!nwapi::DispatcherHost::SendEvent(nwapi::Base
> *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
> const &,base::ListValue const &) [dispatcher_host.cc : 86 + 0x37]
> eip = 0x00d8d13c esp = 0x0019f390 ebp = 0x0019f39c ebx =
> 0x00000000
> esi = 0x0096b210 edi = 0x091db6e0 eax = 0x0a7167e0 ecx =
> 0x0096b214
> edx = 0xfffff1fa efl = 0x00010206
> Found by: given as instruction pointer in context
> 1 nw.exe!*nwapi::Window::CookieChanged*(content::ShellBrowserContext
> *=*= ecb3d9d4-b019-442a-a10d-7c2ab8fd9501.dmp.txt =*=*
> Operating system: Windows NT
> 6.1.7601 Service Pack 1
> CPU: x86
> AuthenticAMD family 20 model 2 stepping 0
> 2 CPUs
>
> Crash reason: EXCEPTION_ACCESS_VIOLATION_EXEC
> Crash address: 0x9cb0a0
>
> Thread 0 (crashed)
> 0 0x9cb0a0
> eip = 0x009cb0a0 esp = 0x0019ec68 ebp = 0x0019ec78 ebx =
> 0x00000000
> esi = 0x009cb0a0 edi = 0x00a0e040 eax = 0x009cb0a0 ecx =
> 0x009cb0a4
> edx = 0x00a465a0 efl = 0x00010212
> Found by: given as instruction pointer in context
> 1 nw.exe!*nwapi::Window::CookieChanged*(content::ShellBrowserContext
> *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
> eip = 0x01341ce5 esp = 0x0019ec80 ebp = 0x0019edf8
> Found by: previous frame's frame pointer
> 2 nw.exe!nwapi::Window::Observe(int,content::NotificationSource const
> &,content::NotificationDetails const &) [window.cc : 565 + 0xe]
> eip = 0x01342314 esp = 0x0019ee00 ebp = 0x0019eec0
> Found by: call frame info
>
> *=*= aa75fb81-3937-4fc9-8f9f-468dc7cf3b50.dmp.txt =*=*
> Operating system: Windows NT
> 6.1.7601 Service Pack 1
> CPU: x86
> AuthenticAMD family 20 model 2 stepping 0
> 2 CPUs
>
> Crash reason: EXCEPTION_ACCESS_VIOLATION_READ
> Crash address: 0xfffffffffb324342
>
> Thread 0 (crashed)
> 0 nw.exe!nwapi::DispatcherHost::SendEvent(nwapi::Base
> *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
> const &,base::ListValue const &) [dispatcher_host.cc : 86 + 0x37]
> eip = 0x001fd13c esp = 0x0291eea4 ebp = 0x0291eeb0 ebx =
> 0x00000000
> esi = 0x04cdb0c0 edi = 0x04d3e5a0 eax = 0x07252ca0 ecx =
> 0x04cdb0c4
> edx = 0xfb324342 efl = 0x00010202
> Found by: given as instruction pointer in context
> 1 nw.exe!*nwapi::Window::CookieChanged*(content::ShellBrowserContext
> *,ChromeCookieDetails *) [window.cc : 615 + 0x30]
> eip = 0x00211ce5 esp = 0x0291eeb8 ebp = 0x0291f030
> Found by: call frame info
> 2 nw.exe!nwapi::Window::Observe(int,content::NotificationSource const
> &,content::NotificationDetails const &) [window.cc : 565 + 0xe]
> eip = 0x00212314 esp = 0x0291f038 ebp = 0x0291f0f8
> Found by: call frame info
>
> Thanks!
> --
> sed 'sed && sh + olecom = love' << ''
> -o--=O`C
> #oo'L O
> <___=E M

--
Roger
Reply all
Reply to author
Forward
0 new messages