(This is mostly for Fabien but maybe others will find it useful.)

Fabien pointed out he's getting a couple of crashes when running our
unit tests on the Ubuntu builders.


===== #1 =====
The first is this:

[ RUN      ] StatsTableTest.VerifySlots
[24555:24555:0521/195809:17126693080:ERROR:/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/stats_table.cc(267)]
StatsTable did not initialize:Permission denied

StatsTable uses shared memory, and the builder apparently disallows
creating that.  I recommend disabling the test for your builder --
stats table is off by default in Chrome, so it's not important to test
it.

===== #2 =====
[ RUN      ] RenderViewTest.OnLoadAlternateHTMLText
Segmentation fault
---- crash logs ----
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x56477440 (LWP 24700)]
0x0880c544 in base::SharedMemory::LockOrUnlockCommon (this=0x0, function=1)
    at 
/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/shared_memory_posix.cc:289
289       while (lockf(mapped_file_, function, 0) < 0) {
#0  0x0880c544 in base::SharedMemory::LockOrUnlockCommon (this=0x0, function=1)
    at 
/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/shared_memory_posix.cc:289
#1  0x0880c799 in base::SharedMemory::Lock (this=0x0)
    at 
/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/shared_memory_posix.cc:307
#2  0x0880d82e in StatsTable::RegisterThread (this=0x9ca9eb8, na...@0xffb75bb4)
    at 
/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/shared_memory.h:195
#3  0x08a5947f in StatsCounter::GetPtr (this=0xffb75be8)
    at 
/build/buildd/chromium-browser-2.0.182.0~svn20090521r16618/build-tree/src/base/stats_counters.h:139
#4  0x08a59e03 in WebFrameImpl (this=0x9cc7500)

This is also stats table.  Despite what I wrote above, it appears
stats table is *enabled* for tests.

I wrote this:
  http://codereview.chromium.org/113725

But I'm unable to get the unit tests to pass locally, heh.  More
investigation is needed.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to