Created
June 25, 2012 18:57
-
-
Save Overbryd/2990517 to your computer and use it in GitHub Desktop.
gdb output of a segfaulting httperf run on Mac OSX 10.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting program: /usr/local/bin/httperf --server server.internet.com --port 80 --method POST --uri /landing_page/ --rate 100 --num-conn 10000 --num-call 1 --timeout 5 | |
Reading symbols for shared libraries ++++.......................... done | |
httperf --timeout=5 --client=0/1 --server=server.internet.com --port=80 --uri=/landing_page/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --method=POST --num-conns=10000 --num-calls=1 | |
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE | |
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004 | |
0x0000000100004040 in ?? () | |
(gdb) bt | |
#0 0x0000000100004040 in ?? () | |
#1 0x0000000100003091 in ?? () | |
#2 0x0000000100001314 in ?? () |
Rerunning with an debug-enabled httperf (remove it, reinstall it using $ brew install httperf --enable-debug
) yielded no better results:
gdb --args /usr/local/bin/httperf --server server.internet.com --port 80 --method POST --uri /landing_page/ --rate 100 --num-conn 10000 --num-call 1 --timeout 5
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done
(gdb) run
Starting program: /usr/local/bin/httperf --server gx-develop.wooga.com --port 80 --method POST --uri /landing_page/ --rate 100 --num-conn 10000 --num-call 1 --timeout 5
Reading symbols for shared libraries ++++.......................... done
httperf --timeout=5 --client=0/1 --server=server.internet.com --port=80 --uri=/landing_page/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --method=POST --num-conns=10000 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
0x0000000100003e33 in ?? ()
(gdb) bt
#0 0x0000000100003e33 in ?? ()
#1 0x0000000100002c20 in ?? ()
#2 0x0000000100000e58 in ?? ()
(gdb)
Hi, Did you find a solution to this problem? I have the same issue with httperf installed via macports.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: I have installed httperf 0.9.0 via homebrew
$ brew install httperf