Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

dcheck failure on static_rewriter test #832

@GoogleCodeExporter

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions