Thread: segmentation fault
Status: Alpha
Brought to you by:
coroberti
From: Brocha S. <br...@ca...> - 2010-01-20 13:23:46
|
CURL-LOADER VERSION: 0.50, September 21, 2009 HW DETAILS: CPU/S and memory are must: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz Mem: 3056880k total LINUX DISTRIBUTION and KERNEL (uname -r): 2.6.31-16-generic GCC VERSION (gcc -v): gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) COMPILATION AND MAKING OPTIONS (if defaults changed): defaults COMMAND-LINE: ./curl-loader -f conf/streamMedia.conf CONFIGURATION-FILE (The most common source of problems): ########### GENERAL SECTION ################################ BATCH_NAME= stream-media CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM INTERFACE =eth0 NETMASK=255.255.255.0 IP_ADDR_MIN= 192.168.11.104 IP_ADDR_MAX= 192.168.11.104 CYCLES_NUM= 1 URLS_NUM= 1 ########### URL SECTION #################################### URL=http://localhost/load/main.php URL_SHORT_NAME="play-event" REQUEST_TYPE=POST FORM_USAGE_TYPE= RECORDS_FROM_FILE FORM_STRING= "ws_name=PlayEvent&ws_action=Create&descriptor-media_id=%s&credentials-session_id=%s&credentials-consumer_id=%s&credentials-device_id=%s&descriptor-consumer_id=%s&descriptor-media_kind=track&descriptor-device_id=%s×tamp=1&descriptor-playing_source_type=stream&descriptor-complete_play=1&descriptor-duration=0" FORM_RECORDS_FILE_MAX_NUM=1 FORM_RECORDS_FILE= ./conf/streamMedia.input TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 2000 The contents of streamMedia.input is: 12375647,200a9faa5c561bb39c240b4b249b6c9c,1408,1239244735,1408,1239244735, DOES THE PROBLEM AFFECT: EXECUTION DESCRIPTION: When running this test i get a segmentation fault. there are no errors, explanations etc. (I have tried it without the trailing comma in the input file, with adding other lines in the input file, with increasing cycles.) Thanks, Brocha |
From: Robert I. <cor...@gm...> - 2010-01-20 13:54:12
|
Hi, Thanks for the PRF. On Wed, Jan 20, 2010 at 3:23 PM, Brocha Strous <br...@ca...>wrote: > COMMAND-LINE: > > ./curl-loader -f conf/streamMedia.conf > Normally, people, are running it with some verbosity options. > > > CONFIGURATION-FILE (The most common source of problems): > > ########### GENERAL SECTION ################################ > > BATCH_NAME= stream-media > CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM > INTERFACE =eth0 > NETMASK=255.255.255.0 > IP_ADDR_MIN= 192.168.11.104 > IP_ADDR_MAX= 192.168.11.104 > CYCLES_NUM= 1 > URLS_NUM= 1 > > ########### URL SECTION #################################### > > URL=http://localhost/load/main.php > URL_SHORT_NAME="play-event" > REQUEST_TYPE=POST > FORM_USAGE_TYPE= RECORDS_FROM_FILE > FORM_STRING= > > "ws_name=PlayEvent&ws_action=Create&descriptor-media_id=%s&credentials-session_id=%s&credentials-consumer_id=%s&credentials-device_id=%s&descriptor-consumer_id=%s&descriptor-media_kind=track&descriptor-device_id=%s×tamp=1&descriptor-playing_source_type=stream&descriptor-complete_play=1&descriptor-duration=0" > FORM_RECORDS_FILE_MAX_NUM=1 > FORM_RECORDS_FILE= ./conf/streamMedia.input > TIMER_URL_COMPLETION = 5000 > TIMER_AFTER_URL_SLEEP = 2000 > > The contents of streamMedia.input is: > > 12375647,200a9faa5c561bb39c240b4b249b6c9c,1408,1239244735,1408,1239244735, > Please, explain: 1. what you are willing to do; 2. which example config file was taken as initial; My feeling, that you missed some example files. > DOES THE PROBLEM AFFECT: > > EXECUTION > > > DESCRIPTION: > > > When running this test i get a segmentation fault. there are no errors, > explanations etc. (I have tried it without the trailing comma in the > input file, with adding other lines in the input file, with increasing > cycles.) > > Unless it will be clear, what you are doing ... -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Brocha S. <br...@ca...> - 2010-01-21 07:55:05
|
> > Normally, people, are running it with some verbosity options. > > > Adding the -v switch produces the following output: found form_str ws_name=PlayEvent&ws_action=Create&descriptor-media_id=%s&credentials-session_id=%s&credentials-consumer_id=%s&credentials-device_id=%s&descriptor-consumer_id=%s&descriptor-media_kind=track&descriptor-device_id=%s×tamp=1&descriptor-playing_source_type=stream&descriptor-complete_play=1&descriptor-duration=0 load_form_records_file - processing form records file string "12375647,200a9faa5c561bb39c240b4b249b6c9c,1408,1239244735,1408,1239244735,foo The configuration has been post-validated successfully. add_secondary_ip_addrs - setting secondary IP 192.168.11.104 rtnl_talk(): RTNETLINK answers: File exists add_secondary_ip_addrs - note: probably, the IP-address "192.168.11.104/24" already exists. main - added IP-addresses to the loading network interface. RUNNING LOAD Segmentation fault > Please, explain: > 1. what you are willing to do; I am trying to run a simple POST request which has 6 variables that need to be replaced from the input file. > 2. which example config file was taken as initial; > I used post-form-tokens-fr-file.conf and random_file_records.conf as examples. (I tried doing the configuration without the random and with and it didn't help). The simplest form of the configuration i tried which is exactly like post-form-tokens-fr-file.conf except with different data and different post string is: URL=http://localhost/load/main.php URL_SHORT_NAME="play-event" REQUEST_TYPE=POST FORM_USAGE_TYPE= RECORDS_FROM_FILE FORM_STRING= ws_name=PlayEvent&ws_action=Create&descriptor-media_id=%s&credentials-session_id=%s&credentials-consumer_id=%s&credentials-device_id=%s&descriptor-consumer_id=%s&descriptor-media_kind=track&descriptor-device_id=%s×tamp=1&descriptor-playing_source_type=stream&descriptor-complete_play=1&descriptor-duration=0 FORM_RECORDS_FILE= ./conf/streamMedia.input TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 2000 Could it be that there is some limitation on the length of the post string that i am exceeding? (My string is a bit long) Or maybe the length of each individual data input value? Thanks, Brocha > My feeling, that you missed some example files. > > > DOES THE PROBLEM AFFECT: > > EXECUTION > > > DESCRIPTION: > > > When running this test i get a segmentation fault. there are no > errors, > explanations etc. (I have tried it without the trailing comma in the > input file, with adding other lines in the input file, with increasing > cycles.) > > Unless it will be clear, what you are doing ... > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com <http://www.ghotit.com> > Assistive technology that understands you > ...................................................................... > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |
From: Robert I. <cor...@gm...> - 2010-01-21 08:17:43
|
Hi Brocha, On Thu, Jan 21, 2010 at 9:54 AM, Brocha Strous <br...@ca...>wrote: > > I am trying to run a simple POST request which has 6 variables that need > to be replaced from the input file. > Got it. > > > 2. which example config file was taken as initial; > > > I used post-form-tokens-fr-file.conf and random_file_records.conf as > examples. > Good. Please, pay attention, that you cannot make a POST without getting the form, therefore, the first is GET as in the example is required: # GET-part URL= http://10.30.6.42:8888/vax/root/Admin URL_SHORT_NAME="Login-GET" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 4000 TIMER_AFTER_URL_SLEEP =0 # POST-part URL="" URL_SHORT_NAME="Login-POST" URL_USE_CURRENT= 1 REQUEST_TYPE=POST FORM_USAGE_TYPE= RECORDS_FROM_FILE FORM_STRING= username=%s&password=%s #means credentials from file FORM_RECORDS_FILE= ./conf-examples/credentials.cred # Path relative to curl-loader location > URL=http://localhost/load/main.php > URL_SHORT_NAME="play-event" > REQUEST_TYPE=POST > FORM_USAGE_TYPE= RECORDS_FROM_FILE > FORM_STRING= > > ws_name=PlayEvent&ws_action=Create&descriptor-media_id=%s&credentials-session_id=%s&credentials-consumer_id=%s&credentials-device_id=%s&descriptor-consumer_id=%s&descriptor-media_kind=track&descriptor-device_id=%s×tamp=1&descriptor-playing_source_type=stream&descriptor-complete_play=1&descriptor-duration=0 > FORM_RECORDS_FILE= ./conf/streamMedia.input > TIMER_URL_COMPLETION = 5000 > TIMER_AFTER_URL_SLEEP = 2000 > > Could it be that there is some limitation on the length of the post > string that i am exceeding? (My string is a bit long) Or maybe the > length of each individual data input value? > It might be the case, however: 1. Please, make the first Get; 2. Make a capture using some sniffer like wireshark and see in the capture, if you are getting the POST-form by Get and that it contains all the required fields to add. You might be consulted at this point by somebody with experience in HTTP, HTML, etc. 3. Start with 2-3 initial parameters, you may not receive OK, but some response you may get. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |