Does anyone know what has changed in PROXY_INFO that causes segfaults
when boinc_get_init_data is called?  Did someone change the
init_data.xml format?  If so, is a segfault the best way to react if a
field is missing?  There was a time when the file wasn't required to
exists at all.

The first stack dump is if init_data.xml doesn't exist.

#0  0x029524ce in std::string::assign () from /usr/lib/libstdc++.so.6
#1  0x029525e4 in std::string::operator= () from /usr/lib/libstdc++.so.6
#2  0x08116a47 in PROXY_INFO::operator= (this=0x821ead4, new_...@0x8264cf4)
    at proxy_info.cpp:192
#3  0x0810e65f in APP_INIT_DATA::copy (this=0x821d600, a...@0x8263820)
    at app_ipc.cpp:102
#4  0x0810e7a4 in APP_INIT_DATA::operator= (this=0x821d600, a...@0x8263820)
    at app_ipc.cpp:70
#5  0x0810a595 in boinc_get_init_data (app_init_da...@0x821d600)
    at boinc_api.cpp:644
#6  0x0804d102 in main (argc=1, argv=0xbfecacb4) at main.cpp:259

The second is if it does...

#0  0x029524ce in std::string::assign () from /usr/lib/libstdc++.so.6
#1  0x029525e4 in std::string::operator= () from /usr/lib/libstdc++.so.6
#2  0x08116a47 in PROXY_INFO::operator= (this=0x821ead4, new_...@0x8264cf4)
    at proxy_info.cpp:192
#3  0x0810e65f in APP_INIT_DATA::copy (this=0x821d600, a...@0x8263820)
    at app_ipc.cpp:102
#4  0x0810e7a4 in APP_INIT_DATA::operator= (this=0x821d600, a...@0x8263820)
    at app_ipc.cpp:70
#5  0x0810a595 in boinc_get_init_data (app_init_da...@0x821d600)
    at boinc_api.cpp:644
#6  0x0804d102 in main (argc=1, argv=0xbfecacb4) at main.cpp:259
_______________________________________________
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.

Reply via email to