Comment #7 on issue 23580 by ramosian.glider: RenderViewTest.ImeComposition  
hangs on valgrind
http://code.google.com/p/chromium/issues/detail?id=23580

This hang is also observed under tcmalloc's heap leak checker on Linux.
I've tried executing:

   $ HEAPCHECK=normal out/Debug/unit_tests --gtest_filter=*ImeComposition

and attaching gdb to this process.
It turned to be stuck inside recvmsg():

0x00007f06d1c68a8b in recvmsg () from /lib/libpthread.so.0
(gdb) bt
#0  0x00007f06d1c68a8b in recvmsg () from /lib/libpthread.so.0
#1  0x00000000019eb304 in base::RecvMsg (fd=17, buf=0x7fffdd815110,  
length=512,
fds=0x7fffdd814ff0) at base/unix_domain_socket_posix.cc:64
#2  0x00000000019eb870 in base::SendRecvMsg (fd=5, reply=0x7fffdd815110
"\341\062\271\320\006\177", max_reply_len=512, result_fd=0x0, request=...)  
at
base/unix_domain_socket_posix.cc:117
#3  0x000000000152e144 in  
renderer_sandbox_support::getFontFamilyForCharacters
(utf16=0x7fffdd815680, num_utf16=1) at
chrome/renderer/renderer_sandbox_support_linux.cc:26
#4  0x00000000014fab48 in
RendererWebKitClientImpl::SandboxSupport::getFontFamilyForCharacters
(this=0x7f06cd39f228, characters=0x7fffdd815680, num_characters=1) at
chrome/renderer/renderer_webkitclient_impl.cc:279
#5  0x00000000015ad776 in  
WebCore::ChromiumBridge::getFontFamilyForCharacters
(characters=0x7fffdd815680, numCharacters=1) at  
webkit/api/src/ChromiumBridge.cpp:296
#6  0x000000000242997a in WebCore::FontCache::getFontDataForCharacters
(this=0x7f06cdf62fa8, font=..., characters=0x7fffdd815680, length=1) at
third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp:61
#7  0x00000000020dc775 in WebCore::Font::glyphDataForCharacter  
(this=0x7f06cd3cf100,
c=20320, mirror=false, forceSmallCaps=false) at
third_party/WebKit/WebCore/platform/graphics/FontFastPath.cpp:151
#8  0x00000000020f0aa9 in WebCore::WidthIterator::advance  
(this=0x7fffdd815820,
offset=1, glyphBuffer=0x0) at
third_party/WebKit/WebCore/platform/graphics/WidthIterator.cpp:116
#9  0x00000000020dba7f in WebCore::Font::floatWidthForSimpleText
(this=0x7f06cd3cf100, run=..., glyphBuffer=0x0, fallbackFonts=0x0) at
third_party/WebKit/WebCore/platform/graphics/FontFastPath.cpp:327
#10 0x00000000020ce979 in WebCore::Font::floatWidth (this=0x7f06cd3cf100,  
run=...,
fallbackFonts=0x0) at  
third_party/WebKit/WebCore/platform/graphics/Font.cpp:198
#11 0x00000000020b3c9d in WebCore::Font::width (this=0x7f06cd3cf100,  
run=...,
fallbackFonts=0x0) at third_party/WebKit/WebCore/platform/graphics/Font.h:81
#12 0x00000000021865ce in textWidth (text=0x7f06cd407f98, from=0, len=1,  
font=...,
xPos=0, isFixedPitch=false, collapseWhiteSpace=true) at
third_party/WebKit/WebCore/rendering/RenderBlockLineLayout.cpp:1582
#13 0x000000000218ac8a in WebCore::RenderBlock::findNextLineBreak
(this=0x7f06cd3df2b8, resolver=..., firstLine=true,  
islineemp...@0x7fffdd816166,
previouslinebrokeclean...@0x7fffdd81616a, clear=0x7fffdd8160f4)
     at third_party/WebKit/WebCore/rendering/RenderBlockLineLayout.cpp:1871
#14 0x000000000218d5e2 in WebCore::RenderBlock::layoutInlineChildren
(this=0x7f06cd3df2b8, relayoutChildren=false, repaintt...@0x7fffdd8162ac,
repaintbott...@0x7fffdd8162a8) at
third_party/WebKit/WebCore/rendering/RenderBlockLineLayout.cpp:959
#15 0x00000000021706d3 in WebCore::RenderBlock::layoutBlock  
(this=0x7f06cd3df2b8,
relayoutChildren=false) at  
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:719
#16 0x000000000217004f in WebCore::RenderBlock::layout  
(this=0x7f06cd3df2b8) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:645
#17 0x000000000216ef51 in WebCore::RenderBlock::layoutBlockChild
(this=0x7f06cd3df018, child=0x7f06cd3df2b8, marginInfo=...,
previousfloatbott...@0x7fffdd816504, maxfloatbott...@0x7fffdd816634)
     at third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1336
#18 0x000000000216ffe0 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7f06cd3df018, relayoutChildren=false,  
maxfloatbott...@0x7fffdd816634) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1279
#19 0x00000000021706ec in WebCore::RenderBlock::layoutBlock  
(this=0x7f06cd3df018,
relayoutChildren=false) at  
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:721
#20 0x000000000217004f in WebCore::RenderBlock::layout  
(this=0x7f06cd3df018) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:645
#21 0x000000000216ef51 in WebCore::RenderBlock::layoutBlockChild
(this=0x7f06cd3df1d8, child=0x7f06cd3df018, marginInfo=...,
previousfloatbott...@0x7fffdd816894, maxfloatbott...@0x7fffdd8169c4)
     at third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1336
#22 0x000000000216ffe0 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7f06cd3df1d8, relayoutChildren=false,  
maxfloatbott...@0x7fffdd8169c4) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1279
#23 0x00000000021706ec in WebCore::RenderBlock::layoutBlock  
(this=0x7f06cd3df1d8,
relayoutChildren=false) at  
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:721
#24 0x000000000217004f in WebCore::RenderBlock::layout  
(this=0x7f06cd3df1d8) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:645
#25 0x000000000216ef51 in WebCore::RenderBlock::layoutBlockChild
(this=0x7f06cdf07e18, child=0x7f06cd3df1d8, marginInfo=...,
previousfloatbott...@0x7fffdd816c24, maxfloatbott...@0x7fffdd816d54)
     at third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1336
#26 0x000000000216ffe0 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7f06cdf07e18, relayoutChildren=false,  
maxfloatbott...@0x7fffdd816d54) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:1279
#27 0x00000000021706ec in WebCore::RenderBlock::layoutBlock  
(this=0x7f06cdf07e18,
relayoutChildren=false) at  
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:721
#28 0x000000000217004f in WebCore::RenderBlock::layout  
(this=0x7f06cdf07e18) at
third_party/WebKit/WebCore/rendering/RenderBlock.cpp:645
#29 0x0000000002222a1e in WebCore::RenderView::layout (this=0x7f06cdf07e18)  
at
third_party/WebKit/WebCore/rendering/RenderView.cpp:122
#30 0x0000000002085b37 in WebCore::FrameView::layout (this=0x7f06cd39f580,
allowSubtree=true) at third_party/WebKit/WebCore/page/FrameView.cpp:636
#31 0x0000000001e93b45 in WebCore::Document::updateLayout  
(this=0x7f06cdf92400) at
third_party/WebKit/WebCore/dom/Document.cpp:1357
#32 0x0000000001f4e06e in WebCore::VisibleSelection::toNormalizedRange
(this=0x7f06cdf7a7b0) at  
third_party/WebKit/WebCore/editing/VisibleSelection.cpp:144
#33 0x0000000001f1605c in enclosingDeletableElement (selection=...) at
third_party/WebKit/WebCore/editing/DeleteButtonController.cpp:148
#34 0x0000000001f16a0a in WebCore::DeleteButtonController::enable
(this=0x7f06cd3bb0c0) at
third_party/WebKit/WebCore/editing/DeleteButtonController.cpp:331
#35 0x0000000001f17b12 in WebCore::EditCommand::apply (this=0x7f06a8bf63c0)  
at
third_party/WebKit/WebCore/editing/EditCommand.cpp:92
#36 0x00000000023c4bf0 in  
WebCore::CompositeEditCommand::applyCommandToComposite
(this=0x7f06cdf6bc30, cmd=...) at
third_party/WebKit/WebCore/editing/CompositeEditCommand.cpp:99
#37 0x00000000023c4f1e in WebCore::CompositeEditCommand::replaceTextInNode
(this=0x7f06cdf6bc30, node=..., offset=0, count=5, replacementText=...) at
third_party/WebKit/WebCore/editing/CompositeEditCommand.cpp:335
#38 0x00000000023d58f2 in WebCore::InsertTextCommand::performTrivialReplace
(this=0x7f06cdf6bc30, text=..., selectInsertedText=true) at
third_party/WebKit/WebCore/editing/InsertTextCommand.cpp:92
#39 0x00000000023d5d03 in WebCore::InsertTextCommand::input  
(this=0x7f06cdf6bc30,
text=..., selectInsertedText=true) at
third_party/WebKit/WebCore/editing/InsertTextCommand.cpp:120
#40 0x0000000001f46f08 in  
WebCore::TypingCommand::insertTextRunWithoutNewlines
(this=0x7f06cdfa5b40, text=..., selectInsertedText=true) at
third_party/WebKit/WebCore/editing/TypingCommand.cpp:365
#41 0x0000000001f46fc8 in WebCore::TypingCommand::insertText  
(this=0x7f06cdfa5b40,
text=..., selectInsertedText=true) at
third_party/WebKit/WebCore/editing/TypingCommand.cpp:344
#42 0x0000000001f477ff in WebCore::TypingCommand::insertText
(document=0x7f06cdf92400, text=..., selectionForInsertion=...,
selectInsertedText=true, insertedTextIsComposition=true) at
third_party/WebKit/WebCore/editing/TypingCommand.cpp:166
#43 0x0000000001f47a8c in WebCore::TypingCommand::insertText
(document=0x7f06cdf92400, text=..., selectInsertedText=true,
insertedTextIsComposition=true) at
third_party/WebKit/WebCore/editing/TypingCommand.cpp:129
#44 0x0000000001f1a712 in WebCore::Editor::setComposition  
(this=0x7f06cdf7a8c8,
text=..., underlines=..., selectionStart=2, selectionEnd=2) at
third_party/WebKit/WebCore/editing/Editor.cpp:1409
#45 0x00000000015a41f6 in WebKit::WebViewImpl::handleCompositionEvent
(this=0x7f06cd3a1a00, command=WebKit::WebCompositionCommandSet,  
cursorPosition=2,
targetStart=0, targetEnd=2, imeString=...) at  
webkit/api/src/WebViewImpl.cpp:1013
#46 0x00000000014efc32 in RenderWidget::OnImeSetComposition  
(this=0x7f06cdf79000,
command=WebKit::WebCompositionCommandSet, cursor_position=2,  
target_start=-1,
target_end=-1, ime_string=...) at chrome/renderer/render_widget.cc:758
#47 0x0000000000ecee93 in RenderViewTest_ImeComposition_Test::TestBody
(this=0x7f06cd39f000) at chrome/renderer/render_view_unittest.cc:241
#48 0x000000000167f7f7 in testing::Test::Run (this=0x7f06cd39f000) at
testing/gtest/src/gtest.cc:2099
#49 0x0000000001682f68 in testing::internal::TestInfoImpl::Run  
(this=0x7f06cdf0e480)
at testing/gtest/src/gtest.cc:2318
#50 0x000000000168309e in testing::TestCase::Run (this=0x7f06cdec5300) at
testing/gtest/src/gtest.cc:2426
#51 0x0000000001683afd in testing::internal::UnitTestImpl::RunAllTests
(this=0x7f06cdf08000) at testing/gtest/src/gtest.cc:4026
#52 0x0000000001683c4d in testing::UnitTest::Run (this=0x4be65a0) at
testing/gtest/src/gtest.cc:3694
#53 0x00000000015414ef in TestSuite::Run (this=0x7fffdd817d10) at
./base/test/test_suite.h:95
#54 0x000000000153fd49 in main (argc=2, argv=0x7fffdd817ec8) at
chrome/test/unit/run_all_unittests.cc:8


--
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