Open GoogleCodeExporter opened 9 years ago
Anupama: Thanks for trying out mod_pagespeed. Will it be possible for you to
temporarily disable the Varnish-cache-integration (by deleting the
"ModPagespeedModifyCachingHeaders off" line and removing all the
ModPagespeedDownstreamCache* directives from your config), and tell us if
re-enabling ModPagespeedCreateSharedMemoryMetadataCache continues to cause
Apache crashes?
Original comment by jmara...@google.com
on 22 Jul 2013 at 2:36
Hans:
Thanks for the quick reply and your help.
I disabled (commented out) the directives you mentioned.
But again:
[Mon Jul 15 18:12:55 2013] [notice] child pid 7889 exit signal Segmentation
fault (11)
Re-enabling ModPagespeedCreateSharedMemoryMetadataCache continues to cause
Apache crashes.
By the way I have to keep this line disabled, commented out:
ModPagespeedDownstreamCacheRewritingThresholdPercentage 95
When I enable it, I receive a syntax error while (re)starting Apache:
/etc/init.d/apache2 reload
Syntax error on line 44 of /etc/apache2/mods-enabled/pagespeed.conf:
Invalid command 'ModPagespeedDownstreamCacheRewritingThresholdPercentage',
perhaps misspelled or defined by a module not included in the server
configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!
Original comment by jmara...@google.com
on 22 Jul 2013 at 2:36
Maks:
FWIW: turning on 'ModPagespeedInstallCrashHandler on' might offer some
insight on what's going wrong, as it will
cause us to try to get a stack trace when crash occurs; though I am
not certain I'll be able to figure it out
from release binaries. Also, are there any messages mentioning shared
memory in the log?
Original comment by jmara...@google.com
on 22 Jul 2013 at 2:37
Maks:
Thanks for the backtrace. Finally managed to decode it:
[Mon Jul 15 20:08:11 2013] [alert] [@21547] CRASH with signal:11 at Backtrace:
/usr/lib/apache2/modules/mod_pagespeed.so(+0xe231a)
base::debug::StackTrace::StackTrace() + 26 in section .text of
/tmp/libmod_pagespeed.so
/usr/lib/apache2/modules/mod_pagespeed.so(+0x1a3683)
net_instaweb::StackTraceString() + 51 in section .text of
/tmp/libmod_pagespeed.so
/usr/lib/apache2/modules/mod_pagespeed.so(+0xc079e)
signal_handler + 46 in section .text of /tmp/libmod_pagespeed.so
/lib/libc.so.6(+0x35f0c32230)
/usr/lib/libapr-1.so.0(+0x35f281da70)
/usr/lib/libapr-1.so.0(apr_allocator_alloc+0x23)
/usr/lib/libaprutil-1.so.0(apr_bucket_alloc+0x8c)
/usr/lib/libaprutil-1.so.0(+0xbd74)
/usr/lib/libaprutil-1.so.0(apr_brigade_split_line+0xc7)
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b3b15)
get_server_line + 37 in section .text of /tmp/libmod_pagespeed.so
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b3ca1)
sendv_and_get_server_line_with_timeout + 129 in section .text of
/tmp/libmod_pagespeed.so
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b5a80)
apr_memcache2_getp + 272 in section .text of /tmp/libmod_pagespeed.so
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b1017)
net_instaweb::AprMemCache::Get(std::string const&,
net_instaweb::CacheInterface::Callback*)
src/net/instaweb/system/apr_mem_cache.cc:199
/usr/lib/apache2/modules/mod_pagespeed.so(+0x2973b7)
net_instaweb::RewriteContext::OutputCacheCallback::IsFilesystemMetadataCacheCurrent(net_instaweb::CacheInterface*,
std::string const&, net_instaweb::InputInfo const&, long)
src/net/instaweb/rewriter/rewrite_context.cc:299
/usr/lib/apache2/modules/mod_pagespeed.so(+0x298452)
net_instaweb::RewriteContext::OutputCacheCallback::IsCachedResultValid(net_instaweb::CachedResult*,
bool*, std::vector<net_instaweb::InputInfo*,
std::allocator<net_instaweb::InputInfo*> >*)
src/net/instaweb/rewriter/rewrite_context.cc:441
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4e0e1d)
net_instaweb::WriteThroughCallback::ValidateCandidate(std::string
const&, net_instaweb::CacheInterface::KeyState)
src/net/instaweb/util/write_through_cache.cc:55
/usr/lib/apache2/modules/mod_pagespeed.so(+0x2fc1f1)
net_instaweb::DelegatingCacheCallback::ValidateCandidate(std::string
const&, net_instaweb::CacheInterface::KeyState)
src/net/instaweb/util/delegating_cache_callback.cc:46
/usr/lib/apache2/modules/mod_pagespeed.so(+0x31c05c)
net_instaweb::CacheInterface::ValidateAndReportResult(std::string
const&, net_instaweb::CacheInterface::KeyState,
net_instaweb::CacheInterface::Callback*)
src/pagespeed/kernel/base/cache_interface.cc:39
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4e587f)
net_instaweb::SharedMemCache<64ul>::GetFromEntry(std::string const&,
net_instaweb::SharedMemCacheData::Sector<64ul>*, int,
net_instaweb::CacheInterface::Callback*) + 351 in section .text of
/tmp/libmod_pagespeed.so
(inline? ~_Vector_base)
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4e59ed)
net_instaweb::SharedMemCache<64ul>::Get(std::string const&,
net_instaweb::CacheInterface::Callback*) + 301 in section .text of
/tmp/libmod_pagespeed.so
(inline? std::string::_M_rep)
/usr/lib/apache2/modules/mod_pagespeed.so(+0x30afe6)
net_instaweb::CacheStats::Get(std::string const&,
net_instaweb::CacheInterface::Callback*)
src/net/instaweb/util/cache_stats.cc:142
/usr/lib/apache2/modules/mod_pagespeed.so(+0x28b7c8)
net_instaweb::RewriteContext::Start()
src/net/instaweb/rewriter/rewrite_context.cc:1391
/usr/lib/apache2/modules/mod_pagespeed.so(+0x31caa2)
net_instaweb::Function::CallRun()
src/pagespeed/kernel/base/function.cc:52
/usr/lib/apache2/modules/mod_pagespeed.so(+0x33364c)
net_instaweb::QueuedWorkerPool::Run(net_instaweb::QueuedWorkerPool::Sequence*,
net_instaweb::QueuedWorker*)
src/pagespeed/kernel/thread/queued_worker_pool.cc:155
/usr/lib/apache2/modules/mod_pagespeed.so(+0x31caa2)
net_instaweb::Function::CallRun()
src/pagespeed/kernel/base/function.cc:52
/usr/lib/apache2/modules/mod_pagespeed.so(+0x33733c)
net_instaweb::Worker::WorkThread::Run()
src/pagespeed/kernel/thread/worker.cc:84
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b6c58)
net_instaweb::PthreadThreadImpl::InvokeRun(void*)
src/pagespeed/kernel/thread/pthread_thread_system.cc:124
/lib/libpthread.so.0(+0x35efe068ca)
/lib/libc.so.6(clone+0x6d) [0x7ffa1519eb6d]
Original comment by jmara...@google.com
on 22 Jul 2013 at 2:37
Maks:
And the C frames:
/usr/lib/libaprutil-1.so.0(apr_brigade_split_line+0xc7)
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b3b15)
get_server_line + 37 in section .text of /tmp/libmod_pagespeed.so
src/third_party/aprutil/apr_memcache2.c:679
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b3ca1)
sendv_and_get_server_line_with_timeout + 129 in section .text of
/tmp/libmod_pagespeed.so
src/third_party/aprutil/apr_memcache2.c:715
/usr/lib/apache2/modules/mod_pagespeed.so(+0x4b5a80)
apr_memcache2_getp + 272 in section .text of /tmp/libmod_pagespeed.so
src/third_party/aprutil/apr_memcache2.c:896
Original comment by jmara...@google.com
on 22 Jul 2013 at 2:37
I just installed the new binary release "1.6.29.5-r3346", it didn't fix it for
me.
Original comment by hanshe...@gmail.com
on 25 Jul 2013 at 9:12
Original issue reported on code.google.com by
jmara...@google.com
on 22 Jul 2013 at 2:35