Closed Bug 1524827 Opened 7 years ago Closed 7 years ago

Intermittent GECKO(1684) | SUMMARY: AddressSanitizer: heap-use-after-free z:\build\build\src\dom\plugins\ipc\PluginInstanceParent.cpp:143 in mozilla::plugins::PluginInstanceParent::~PluginInstanceParent(void)

Categories

(Core Graveyard :: Plug-ins, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1515297

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

#[markdown(off)]
Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=225718425&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/NtoqfXlLQWWqoE4TALCXVg/runs/0/artifacts/public/logs/live_backing.log

05:13:56 INFO - TEST-START | widget/tests/test_plugin_input_event.html
05:13:56 INFO - GECKO(1684) | [NPAPI 7556, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 332
05:13:56 INFO - GECKO(1684) | [3760, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 332
05:13:56 INFO - GECKO(1684) | ###!!! [Parent][MessageChannel] Error: (msgtype=0x67000A,name=PPluginModule::Msg_PPluginInstanceConstructor) Closed channel: cannot send/recv
05:13:56 INFO - GECKO(1684) | ###!!! [Parent][MessageChannel::Call] Error: (msgtype=0x67000C,name=PPluginModule::Msg_SyncNPP_New) Closed channel: cannot send/recv
05:13:56 INFO - GECKO(1684) | =================================================================
05:13:56 ERROR - GECKO(1684) | ==3760==ERROR: AddressSanitizer: heap-use-after-free on address 0x12072f417360 at pc 0x7ffbd9334b84 bp 0x00766b5fd090 sp 0x00766b5fd0d8
05:13:56 INFO - GECKO(1684) | WRITE of size 8 at 0x12072f417360 thread T0
05:13:56 INFO - GECKO(1684) | #0 0x7ffbd9334b83 in mozilla::plugins::PluginInstanceParent::~PluginInstanceParent(void) z:\build\build\src\dom\plugins\ipc\PluginInstanceParent.cpp:143
05:13:56 INFO - GECKO(1684) | #1 0x7ffbd936ad1f in mozilla::plugins::PluginInstanceParent::`scalar deleting destructor'(unsigned int) z:\build\build\src\dom\plugins\ipc\PluginInstanceParent.cpp:142
05:13:56 INFO - GECKO(1684) | #2 0x7ffbd935de63 in mozilla::plugins::PluginModuleParent::DeallocPPluginInstanceParent(class mozilla::plugins::PPluginInstanceParent *) z:\build\build\src\dom\plugins\ipc\PluginModuleParent.cpp:1435
05:13:56 INFO - GECKO(1684) | #3 0x7ffbd16a89bb in mozilla::plugins::PPluginModuleParent::DeallocSubtree(void) z:\build\build\src\obj-firefox\ipc\ipdl\PPluginModuleParent.cpp:1471
05:13:56 INFO - GECKO(1684) | #4 0x7ffbd16a8141 in mozilla::plugins::PPluginModuleParent::OnChannelClose(void) z:\build\build\src\obj-firefox\ipc\ipdl\PPluginModuleParent.cpp:1416
05:13:56 INFO - GECKO(1684) | #5 0x7ffbd9361a50 in mozilla::plugins::PluginModuleParent::NP_Shutdown(short *) z:\build\build\src\dom\plugins\ipc\PluginModuleParent.cpp:1900
05:13:56 INFO - GECKO(1684) | #6 0x7ffbd9248a07 in nsNPAPIPlugin::Shutdown(void) z:\build\build\src\dom\plugins\base\nsNPAPIPlugin.cpp:293
05:13:56 INFO - GECKO(1684) | #7 0x7ffbd92ddcfd in nsPluginTag::TryUnloadPlugin(bool) z:\build\build\src\dom\plugins\base\nsPluginTags.cpp:638
05:13:56 INFO - GECKO(1684) | #8 0x7ffbd92827bd in nsPluginHost::Notify(class nsITimer *) z:\build\build\src\dom\plugins\base\nsPluginHost.cpp:3511
05:13:56 INFO - GECKO(1684) | #9 0x7ffbcffbab49 in nsTimerImpl::Fire(int) z:\build\build\src\xpcom\threads\nsTimerImpl.cpp:562
05:13:56 INFO - GECKO(1684) | #10 0x7ffbcffba005 in nsTimerEvent::Run(void) z:\build\build\src\xpcom\threads\TimerThread.cpp:260
05:13:56 INFO - GECKO(1684) | #11 0x7ffbcffd0ccd in nsThread::ProcessNextEvent(bool,bool *) z:\build\build\src\xpcom\threads\nsThread.cpp:1162
05:13:56 INFO - GECKO(1684) | #12 0x7ffbcffd82f8 in NS_ProcessNextEvent(class nsIThread *,bool) z:\build\build\src\xpcom\threads\nsThreadUtils.cpp:474
05:13:56 INFO - GECKO(1684) | #13 0x7ffbd10aa10f in mozilla::ipc::MessagePump::Run(class base::MessagePump::Delegate *) z:\build\build\src\ipc\glue\MessagePump.cpp:88
05:13:56 INFO - GECKO(1684) | #14 0x7ffbd10069ee in MessageLoop::RunHandler(void) z:\build\build\src\ipc\chromium\src\base\message_loop.cc:308
05:13:56 INFO - GECKO(1684) | #15 0x7ffbd1006785 in MessageLoop::Run(void) z:\build\build\src\ipc\chromium\src\base\message_loop.cc:290
05:13:56 INFO - GECKO(1684) | #16 0x7ffbda0df18a in nsBaseAppShell::Run(void) z:\build\build\src\widget\nsBaseAppShell.cpp:137
05:13:56 INFO - GECKO(1684) | #17 0x7ffbda26d3c8 in nsAppShell::Run(void) z:\build\build\src\widget\windows\nsAppShell.cpp:411
05:13:56 INFO - GECKO(1684) | #18 0x7ffbde7f9d8e in nsAppStartup::Run(void) z:\build\build\src\toolkit\components\startup\nsAppStartup.cpp:271
05:13:56 INFO - GECKO(1684) | #19 0x7ffbdeacfe28 in XREMain::XRE_mainRun(void) z:\build\build\src\toolkit\xre\nsAppRunner.cpp:4699
05:13:56 INFO - GECKO(1684) | #20 0x7ffbdead4591 in XREMain::XRE_main(int,char * * const,struct mozilla::BootstrapConfig const &) z:\build\build\src\toolkit\xre\nsAppRunner.cpp:4837
05:13:56 INFO - GECKO(1684) | #21 0x7ffbdead65b6 in XRE_main(int,char * * const,struct mozilla::BootstrapConfig const &) z:\build\build\src\toolkit\xre\nsAppRunner.cpp:4921
05:13:56 INFO - GECKO(1684) | #22 0x7ff644bb1d6b (Z:\task_1549168840\build\application\firefox\firefox.exe+0x140001d6b)
05:13:56 INFO - GECKO(1684) | #23 0x7ff644bb14b3 (Z:\task_1549168840\build\application\firefox\firefox.exe+0x1400014b3)
05:13:56 INFO - GECKO(1684) | #24 0x7ff644c9499b (Z:\task_1549168840\build\application\firefox\firefox.exe+0x1400e499b)
05:13:56 INFO - GECKO(1684) | #25 0x7ffc13022773 (C:\Windows\System32\KERNEL32.DLL+0x180012773)
05:13:56 INFO - GECKO(1684) | #26 0x7ffc133b0d50 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50)
05:13:56 INFO - GECKO(1684) | 0x12072f417360 is located 32 bytes inside of 184-byte region [0x12072f417340,0x12072f4173f8)

05:13:56 INFO - GECKO(1684) | SUMMARY: AddressSanitizer: heap-use-after-free z:\build\build\src\dom\plugins\ipc\PluginInstanceParent.cpp:143 in mozilla::plugins::PluginInstanceParent::~PluginInstanceParent(void)
05:13:56 INFO - GECKO(1684) | Shadow bytes around the buggy address:
05:13:56 INFO - GECKO(1684) | 0x042815002e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
05:13:56 INFO - GECKO(1684) | 0x042815002e20: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
05:13:56 INFO - GECKO(1684) | 0x042815002e30: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
05:13:56 INFO - GECKO(1684) | 0x042815002e40: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
05:13:56 INFO - GECKO(1684) | 0x042815002e50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
05:13:56 INFO - GECKO(1684) | =>0x042815002e60: fa fa fa fa fa fa fa fa fd fd fd fd[fd]fd fd fd
05:13:56 INFO - GECKO(1684) | 0x042815002e70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
05:13:56 INFO - GECKO(1684) | 0x042815002e80: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
05:13:56 INFO - GECKO(1684) | 0x042815002e90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
05:13:56 INFO - GECKO(1684) | 0x042815002ea0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
05:13:56 INFO - GECKO(1684) | 0x042815002eb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
05:13:56 INFO - GECKO(1684) | Shadow byte legend (one shadow byte represents 8 application bytes):
05:13:56 INFO - GECKO(1684) | Addressable: 00
05:13:56 INFO - GECKO(1684) | Partially addressable: 01 02 03 04 05 06 07
05:13:56 INFO - GECKO(1684) | Heap left redzone: fa
05:13:56 INFO - GECKO(1684) | Freed heap region: fd
05:13:56 INFO - GECKO(1684) | Stack left redzone: f1
05:13:56 INFO - GECKO(1684) | Stack mid redzone: f2
05:13:56 INFO - GECKO(1684) | Stack right redzone: f3
05:13:56 INFO - GECKO(1684) | Stack after return: f5
05:13:56 INFO - GECKO(1684) | Stack use after scope: f8
05:13:56 INFO - GECKO(1684) | Global redzone: f9
05:13:56 INFO - GECKO(1684) | Global init order: f6
05:13:56 INFO - GECKO(1684) | Poisoned by user: f7
05:13:56 INFO - GECKO(1684) | Container overflow: fc
05:13:56 INFO - GECKO(1684) | Array cookie: ac
05:13:56 INFO - GECKO(1684) | Intra object redzone: bb
05:13:56 INFO - GECKO(1684) | ASan internal: fe
05:13:56 INFO - GECKO(1684) | Left alloca redzone: ca
05:13:56 INFO - GECKO(1684) | Right alloca redzone: cb
05:13:56 INFO - GECKO(1684) | Shadow gap: cc
05:13:56 INFO - GECKO(1684) | ==3760==ABORTING
05:13:56 INFO - TEST-INFO | Main app process: exit 1
05:13:56 INFO - Buffered messages logged at 05:13:56
05:13:56 INFO - must wait for load
05:13:56 INFO - Buffered messages finished
05:13:56 ERROR - TEST-UNEXPECTED-FAIL | widget/tests/test_plugin_input_event.html | application terminated with exit code 1
05:13:56 INFO - runtests.py | Application ran for: 0:01:08.329000

Group: dom-core-security
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.