Ticket #1142 (closed defect: worksforme)

Opened 1 year ago

Last modified 4 months ago

Segmentation fault with proxy.debug = \"enable\"

Reported by: rhinofly Assigned to: jan
Priority: normal Milestone: 1.4.17
Component: core Version: 1.4.13
Severity: normal Keywords: Segmentation fault proxy.debug
Cc: Blocking:
Need Feedback: 0

Description

Segmentation fault with proxy.debug = \"enable\"

            $HTTP["url"] =~ "^/(truelove|sso)(.*)" {
            		proxy.debug = "enable"
                    proxy.server  = ( "/" =>
                            (
                        ("host" => "172.17.18.20","port" => 9980), #
                        #("host" => "172.17.18.21","port" => 9980), #
                            )
                    )
            }
            

if no proxy.debug = \"enable\",every thing is ok.

Attachments

proxy_bug.txt (30.7 kB) - added by rhinofly on 04/24/2007 10:02:00 AM.
strace log
a.cpp~ (13.0 kB) - added by anonymous on 03/06/2008 09:53:29 PM.

Change History

04/24/2007 10:02:00 AM changed by rhinofly

  • attachment proxy_bug.txt added.

strace log

(in reply to: ↑ description ) 04/25/2007 06:35:35 AM changed by snailfly

Replying to rhinofly:

Segmentation fault with proxy.debug = \"enable\" {{{ $HTTPurl? =~ "/(truelove|sso)(.*)" { proxy.debug = "enable" proxy.server = ( "/" => ( ("host" => "172.17.18.20","port" => 9980), # #("host" => "172.17.18.21","port" => 9980), # ) ) } }}} if no proxy.debug = \"enable\",every thing is ok.

Sorry,I found that proxy.debug = 1 will be ok,may be some check should be done in configure parser.

08/17/2007 10:11:36 PM changed by jan

  • status changed from new to closed.
  • resolution set to worksforme.
  • pending changed.

Instead of a segfault I get:

(configfile-glue.c.91) got a string but expected a short: proxy.debug enable

which is the expected behaviour.

03/06/2008 09:53:29 PM changed by anonymous

  • attachment a.cpp~ added.

03/06/2008 09:56:07 PM changed by anonymous

could you delete that file I sent

03/06/2008 10:02:43 PM changed by anonymous

Could you delete the file I attch? because I just want to ask you about debug thing. I attatch the file by mistake.


Add/Change #1142 (Segmentation fault with proxy.debug = \"enable\")




Change Properties
Action