Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Chromium SIGTRAPs while creating new root window #146

Closed
tiagovignatti opened this issue Nov 29, 2013 · 6 comments
Closed

Chromium SIGTRAPs while creating new root window #146

tiagovignatti opened this issue Nov 29, 2013 · 6 comments
Labels
Milestone

Comments

@tiagovignatti
Copy link
Contributor

open chrome and play around clicking with right-button to open/close menus in the address bar, wrench menu and in the Web content area. It's difficult to reproduce.

the command I've used to get the bt bellow was: gdb --args ./chrome --no-sandbox --single-process

@tiagovignatti
Copy link
Contributor Author

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffe3892700 (LWP 20855)]
base::debug::(anonymous namespace)::DebugBreak () at ../../base/debug/debugger_posix.cc:244
244 }
(gdb) bt
#0 base::debug::(anonymous namespace)::DebugBreak () at ../../base/debug/debugger_posix.cc:244
#1 0x0000555556c862a0 in base::debug::BreakDebugger () at ../../base/debug/debugger_posix.cc:257
#2 0x0000555556cc511b in logging::LogMessage::~LogMessage (this=0x7fffe388f370, __in_chrg=) at ../../base/logging.cc:651
#3 0x0000555556d32da9 in base::ThreadRestrictions::AssertIOAllowed () at ../../base/threading/thread_restrictions.cc:38
#4 0x0000555556d227ca in base::PlatformThread::Join (thread_handle=...) at ../../base/threading/platform_thread_posix.cc:227
#5 0x0000555556d2d71c in base::Thread::Stop (this=0x53256f674a0) at ../../base/threading/thread.cc:135
#6 0x000055555b495140 in content::InProcessUtilityThread::~InProcessUtilityThread (this=0x53256f674a0, __in_chrg=)
at ../../content/utility/in_process_utility_thread.cc:21
#7 0x000055555b49519e in content::InProcessUtilityThread::~InProcessUtilityThread (this=0x53256f674a0, __in_chrg=)
at ../../content/utility/in_process_utility_thread.cc:22
#8 0x00005555560d996c in base::DefaultDeleterbase::Thread::operator() (this=0x53255bda760, ptr=0x53256f674a0) at ../../base/memory/scoped_ptr.h:137
#9 0x00005555560d7036 in base::internal::scoped_ptr_impl<base::Thread, base::DefaultDeleterbase::Thread >::~scoped_ptr_impl (this=0x53255bda760, __in_chrg=)
at ../../base/memory/scoped_ptr.h:220
#10 0x00005555560d6478 in scoped_ptr<base::Thread, base::DefaultDeleterbase::Thread >::~scoped_ptr (this=0x53255bda760, __in_chrg=) at ../../base/memory/scoped_ptr.h:310
#11 0x000055555a5d0d0c in content::UtilityProcessHostImpl::~UtilityProcessHostImpl (this=0x53255bda6e0, __in_chrg=)
at ../../content/browser/utility_process_host_impl.cc:84
#12 0x000055555a5d0dd2 in content::UtilityProcessHostImpl::~UtilityProcessHostImpl (this=0x53255bda6e0, __in_chrg=)
at ../../content/browser/utility_process_host_impl.cc:88
#13 0x000055555a34e354 in content::BrowserChildProcessHostImpl::OnChildDisconnected (this=0x532552a90b0) at ../../content/browser/browser_child_process_host_impl.cc:309
#14 0x000055555782e240 in content::ChildProcessHostImpl::OnChannelError (this=0x53255f109a0) at ../../content/common/child_process_host_impl.cc:284
#15 0x00005555573ca8d7 in IPC::Channel::ChannelImpl::ClosePipeOnError (this=0x53255f4d020) at ../../ipc/ipc_channel_posix.cc:729
#16 0x00005555573ca554 in IPC::Channel::ChannelImpl::OnFileCanReadWithoutBlocking (this=0x53255f4d020, fd=113) at ../../ipc/ipc_channel_posix.cc:673
#17 0x0000555556c745b6 in base::MessagePumpLibevent::FileDescriptorWatcher::OnFileCanReadWithoutBlocking (this=0x53255f4e070, fd=113, pump=0x5325205cd20)
at ../../base/message_loop/message_pump_libevent.cc:99
#18 0x0000555556c75d87 in base::MessagePumpLibevent::OnLibeventNotification (fd=113, flags=2, context=0x53255f4e070) at ../../base/message_loop/message_pump_libevent.cc:356
#19 0x0000555556d6930c in event_process_active (base=0x53252076e20) at ../../third_party/libevent/event.c:385
#20 0x0000555556d69636 in event_base_loop (base=0x53252076e20, flags=1) at ../../third_party/libevent/event.c:525
#21 0x0000555556c75551 in base::MessagePumpLibevent::Run (this=0x5325205cd20, delegate=0x5325207f8e0) at ../../base/message_loop/message_pump_libevent.cc:269
#22 0x0000555556ccf4a3 in base::MessageLoop::RunInternal (this=0x5325207f8e0) at ../../base/message_loop/message_loop.cc:461
#23 0x0000555556ccf35c in base::MessageLoop::RunHandler (this=0x5325207f8e0) at ../../base/message_loop/message_loop.cc:433
#24 0x0000555556d01350 in base::RunLoop::Run (this=0x7fffe3891630) at ../../base/run_loop.cc:47
#25 0x0000555556cceb42 in base::MessageLoop::Run (this=0x5325207f8e0) at ../../base/message_loop/message_loop.cc:321
#26 0x0000555556d2d9ce in base::Thread::Run (this=0x5325205a1d0, message_loop=0x5325207f8e0) at ../../base/threading/thread.cc:172
#27 0x000055555a35f963 in content::BrowserThreadImpl::IOThreadRun (this=0x5325205a1d0, message_loop=0x5325207f8e0) at ../../content/browser/browser_thread_impl.cc:162
#28 0x000055555a35fb14 in content::BrowserThreadImpl::Run (this=0x5325205a1d0, message_loop=0x5325207f8e0) at ../../content/browser/browser_thread_impl.cc:188
#29 0x0000555556d2dc1e in base::Thread::ThreadMain (this=0x5325205a1d0) at ../../base/threading/thread.cc:225
#30 0x0000555556d22249 in base::(anonymous namespace)::ThreadFunc (params=0x7fffffffcca0) at ../../base/threading/platform_thread_posix.cc:80
#31 0x00007ffff53c7e9a in start_thread (arg=0x7fffe3892700) at pthread_create.c:308
#32 0x00007ffff42673fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#33 0x0000000000000000 in ?? ()
(gdb)

@kalyankondapally
Copy link
Contributor

I am unable to even start a debug session in single process mode, I hit 0x0000555556d32da9 in base::ThreadRestrictions::AssertIOAllowed () at ../../base/threading/thread_restrictions.cc:38 always even at start up. This is not related to root window creation but seems more of a thread issue.

@tiagovignatti
Copy link
Contributor Author

true. and in fact it seems only related with --single-process due the content::InProcessUtilityThread running path.

@kalyankondapally
Copy link
Contributor

hmm, I just noticed that gdb bt #(nos) are adding un-necessary noise to other bugs (referencing). Any good way to avoid this while including the bt ?

@kalyankondapally
Copy link
Contributor

@tiagovignatti I don't see this anymore. I would propose to close this.

@tiagovignatti
Copy link
Contributor Author

can't reproduce here anymore as well. I'm closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants