I'm getting a strange error where the validator is seg faulting before even
reaching the custom validation code (init_result, compare_result and
cleanup_result). It seems to not be reading the workunit and/or result
information from the database correctly, putting in some test code:
[tdesell@Volunteer bin]$ ./wildlife_validator --credit_from_wu --app wildlife
-d 3
2013-05-31 15:19:01.4581 Starting validator, debug level 3
2013-05-31 15:19:01.4800 [debug] wu.id: 6197
2013-05-31 15:19:01.4800 [debug] items[0].res.name:
'plover_motion_1_14544_1369969424_1', id: 14841
2013-05-31 15:19:01.4800 [debug] items[1].res.name:
'otion_1_14544_1369969424_0', id: 0
Segmentation fault (core dumped)
It's not grabbing the data for the second result correctly. I'm using a recent
pull from github.
Checking the entries in the database, everything seems fine. Any ideas what
might be going wrong? As far as I can tell, the validator is not even
reaching any code I've written.
Here's the workunit and results in question:
mysql> select * from workunit where id = 6197;
+------+-------------+-------+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+----------------+-----------------+------------------+----------------+---------------+--------------------+------------------+-----------------+-------------+------------+-------------------+------------------+----------+--------+------------+-----------------+-------------------+-------------------+---------------------+----------------------------+----------+------------
---------+---------------------+------------+--------------------+----------------+
| id | create_time | appid | name | xml_doc
| batch | rsc_fpops_est |
rsc_fpops_bound | rsc_memory_bound | rsc_disk_bound | need_validate |
canonical_resultid | canonical_credit | transition_time | delay_bound |
error_mask | file_delete_state | assimilate_state | hr_class | opaque |
min_quorum | target_nresults | max_error_results | max_total_results |
max_success_results | result_template_file | priority | mod_time
| rsc_bandwidth_bound | fileset_id | transitioner_flags |
app_version_id |
+------+-------------+-------+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+----------------+-----------------+------------------+----------------+---------------+--------------------+------------------+-----------------+-------------+------------+-------------------+------------------+----------+--------+------------+-----------------+-------------------+-------------------+---------------------+----------------------------+----------+------------
---------+---------------------+------------+--------------------+----------------+
| 6197 | 1369969424 | 7 | plover_motion_1_14544_1369969424 | <file_info>
<name>CH00_20120726_073847MN.mp4</name>
<url>http://wildlife.und.edu/video/wildlife/watermarked/missouri_river_project/piping_plover/N334/7-27-2012_N334/CH00_20120726_073847MN.mp4</url>
<md5_cksum>c1b85d8c1667c3746e76f503d363ba8e</md5_cksum>
<nbytes>393563007</nbytes>
</file_info>
<workunit>
<command_line>
video.mp4
</command_line>
<file_ref>
<file_name>CH00_20120726_073847MN.mp4</file_name>
<open_name>video.mp4</open_name>
</file_ref>
<credit>59.078</credit><tag>plover_motion_1</tag>
</workunit> | 0 | 14769375000000 | 1.4769375e+15 | 10000000 |
100000000 | 1 | 0 | 0 |
1370856344 | 86400 | 0 | 0 | 0 |
0 | 0 | 2 | 2 | 5 |
7 | 2 | templates/wildlife_out.xml | 0 |
2013-05-31 04:25:44 | 0 | 0 | 0 |
0 |
+------+-------------+-------+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+----------------+-----------------+------------------+----------------+---------------+--------------------+------------------+-----------------+-------------+------------+-------------------+------------------+----------+--------+------------+-----------------+-------------------+-------------------+---------------------+----------------------------+----------+------------
---------+---------------------+------------+--------------------+----------------+
1 row in set (0.00 sec)
And here are the two results:
mysql> select * from result where workunitid = 6197;
+-------+-------------+------------+--------------+---------+--------------+--------+--------+-----------------+------------+---------------+------------------------------------+----------+--------------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+-------------------+----------------+----------------+----------------+--------+-----------+-----------------+-------+-------------+--------+----------+---------------------+--------------+------------------+----------------+-----------------+
| id | create_time | workunitid | server_state | outcome | client_state |
hostid | userid | report_deadline | sent_time | received_time | name
| cpu_time | xml_doc_in | xml_doc_out | stderr_out
| batch | file_delete_state | validate_state |
claimed_credit | granted_credit | opaque | random | app_version_num | appid
| exit_status | teamid | priority | mod_time | elapsed_time |
flops_estimate | app_version_id | runtime_outlier |
+-------+-------------+------------+--------------+---------+--------------+--------+--------+-----------------+------------+---------------+------------------------------------+----------+--------------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+-------------------+----------------+----------------+----------------+--------+-----------+-----------------+-------+-------------+--------+----------+---------------------+--------------+------------------+----------------+-----------------+
| 14840 | 1369969427 | 6197 | 5 | 1 | 5 |
470 | 98 | 1370069884 | 1369983484 | 1369988751 |
plover_motion_1_14544_1369969424_0 | 3170.989 | <result>
</result> | |
<core_client_version>7.0.65</core_client_version>
<![CDATA[
<stderr_txt>
Video File Name:
../../projects/volunteer.cs.und.edu_wildlife/CH00_20120726_073847MN.mp4
Frames Per Second: 10
Frame Count: 78760
Frame Width: 704
Frame Height: 480
Average Range: 50
Number of Frames in Three Minutes: 1800
Number of Slices: 44
Number of Frames in Average: 101
Unsuccessful checkpoint read
Starting from beginning of video
Starting at Frame: 0
boinc_time_to_checkpoint encountered, checkpointing
<video_name>../../projects/volunteer.cs.und.edu_wildlife/CH00_20120726_073847MN.mp4</video_name>
<slice_time>180</slice_time>
<slice_probabilities>
0.0066
0.0073
0.0079
0.0066
0.0070
0.0070
0.0075
0.0074
0.0067
0.0075
0.0118
0.0128
0.0115
0.0095
0.0096
0.0115
0.0119
0.0096
0.0111
0.0088
0.0075
0.0074
0.0112
0.0109
0.0105
0.0096
0.0065
0.0069
0.0071
0.0061
0.0064
0.0061
0.0062
0.0061
0.0061
0.0066
0.0082
0.0071
0.0063
0.0068
0.0067
0.0066
0.0060
0.0041
</slice_probabilities>
01:25:44 (32981): called boinc_finish
</stderr_txt>
]]>
| 0 | 0 | 0 | 0 |
0 | 0 | 882993749 | 10 | 7 | 0 | 23 |
0 | 2013-05-31 03:25:51 | 3206.929927 | 3215694186.33595 | 15 |
0 |
| 14841 | 1369969427 | 6197 | 5 | 1 | 5 |
464 | 12 | 1370062869 | 1369976469 | 1369992339 |
plover_motion_1_14544_1369969424_1 | 6173.537 | <result>
</result> | |
<core_client_version>7.0.8</core_client_version>
<![CDATA[
<stderr_txt>
Video File Name:
../../projects/volunteer.cs.und.edu_wildlife/CH00_20120726_073847MN.mp4
Frames Per Second: 10
Frame Count: 78760
Frame Width: 704
Frame Height: 480
Average Range: 50
Number of Frames in Three Minutes: 1800
Number of Slices: 44
Number of Frames in Average: 101
Unsuccessful checkpoint read
Starting from beginning of video
Starting at Frame: 0
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
boinc_time_to_checkpoint encountered, checkpointing
<video_name>../../projects/volunteer.cs.und.edu_wildlife/CH00_20120726_073847MN.mp4</video_name>
<slice_time>180</slice_time>
<slice_probabilities>
0.0066
0.0073
0.0079
0.0066
0.0070
0.0070
0.0075
0.0074
0.0067
0.0075
0.0119
0.0128
0.0115
0.0095
0.0096
0.0116
0.0119
0.0096
0.0111
0.0088
0.0075
0.0074
0.0112
0.0109
0.0105
0.0096
0.0065
0.0069
0.0071
0.0061
0.0064
0.0061
0.0062
0.0061
0.0061
0.0066
0.0082
0.0071
0.0063
0.0068
0.0067
0.0066
0.0060
0.0041
</slice_probabilities>
11:25:12 (20544): called boinc_finish
</stderr_txt>
]]>
| 0 | 0 | 0 | 0 | 0
| 0 | 347935707 | 11 | 7 | 0 | 5 |
0 | 2013-05-31 04:25:39 | 6173.537 | 2772064446.83701 | 17 |
0 |
+-------+-------------+------------+--------------+---------+--------------+--------+--------+-----------------+------------+---------------+------------------------------------+----------+--------------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+-------------------+----------------+----------------+----------------+--------+-----------+-----------------+-------+-------------+--------+----------+---------------------+--------------+------------------+----------------+-----------------+
2 rows in set (0.00 sec)
---------------------------------------------------------------------------
Travis Desell, Assistant Professor
University of North Dakota - Dept. of Computer Science
[email protected] - cell: 518-867-1054
Streibel Hall Room 220 - office: 701-777-3477
3950 Campus Road Stop 9015
Grand Forks, North Dakota 58202-9015
Homepage ( http://people.cs.und.edu/~tdesell/ )
MilkyWay@Home ( http://milkyway.cs.rpi.edu/ )
DNA@Home ( http://volunteer.cs.und.edu/dna )
Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ )
----------------------------------------------------------------------------
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.