#> PX_CONFIG_ORDER=envvar http_proxy="http://proxy:1234" gdb proxy
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
(gdb) run http://www.google.com
Starting program: /usr/local/bin/proxy http://www.google.com
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7282677 in strstr () from /lib64/libc.so.6
(gdb) bt full
#0 0x00007ffff7282677 in strstr () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7bd99b8 in px_strsplit (string=0x0, delimiter=0x7ffff7bdc2d4
",") at misc.c:169
tmp = 0x0
count = 1
strv = (char **) 0x603010
last = <value optimized out>
#2 0x00007ffff7bdaab9 in px_proxy_factory_get_proxies (self=0x603010,
url=<value optimized out>) at proxy_factory.c:256
response = (char **) 0x6038b0
confurl = 0x603fa0 "http://proxy:1234"
confign = 0x0
config = (pxConfigPlugin *) 0x6035f0
realurl = (pxURL *) 0x6039f0
ignores = <value optimized out>
#3 0x0000000000400e83 in main (argc=2, argv=<value optimized out>) at
proxy.c:115
i = 2
pf = <value optimized out>
(gdb) print strv[1]
No symbol "strv" in current context.
(gdb)
Original issue reported on code.google.com by dominiqu...@gmail.com on 16 Mar 2009 at 7:51
Original issue reported on code.google.com by
dominiqu...@gmail.com
on 16 Mar 2009 at 7:51