Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

dcheck failure on static_rewriter test #832

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments
Closed

dcheck failure on static_rewriter test #832

GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I encountered this when I followed the "Building PSOL From Source" instructions 
at this step
$ cd ~/mod_pagespeed/src/net/instaweb/automatic
$ make CXXFLAGS="-DSERF_HTTPS_FETCHING=0" \
       BUILDTYPE=Debug \
       AR.host="$PWD/../../../build/wrappers/ar.sh" \
       AR.target="$PWD/../../../build/wrappers/ar.sh" \
       all

In more detail, it failed when 
$(MAKE) examples (in Makefile)
with following cmd
static_rewriter --rewriters=collapse_whitespace 
/home/xxx/mod_pagespeed/src/install/mod_pagespeed_example 
/home/xxx/mod_pagespeed/src/net/instaweb/automatic collapse_whitespace.html

Following the backtrace, I found this
StaticRewriter::StaticRewriter(*)
    server_context_(file_rewriter_.CreateServerContext())
        ......
              rewrite_options->ComputeSignature()                     //frozen_ will be set true         
    gflags_.SetOptions(&file_rewriter_,server_context_->global_options())
        RewriteOptions::set_option(*)
            RewriteOptions::Modify()
                         DCHECK(!frozen_)                                     //it failed here 


any help will be appreciated

Original issue reported on code.google.com by jmara...@google.com on 14 Nov 2013 at 2:38

@GoogleCodeExporter
Copy link
Author

Fixed in revision 3630

Original comment by jmara...@google.com on 14 Nov 2013 at 4:04

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by jefftk@google.com on 2 Jan 2014 at 5:38

  • Added labels: Milestone-v31

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

No branches or pull requests

1 participant