Hi Oleg On Thu, Jun 23, 2016 at 02:44:53PM -0400, Oleg Drokin wrote: > I just did a pull in the smatch repo and tried to run the usual > buildkerneldata script, but got: > > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/fill_db_sql.pl line 16. > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/fill_db_caller_info.pl line 54. > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/fill_db_type_value.pl line 142. > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/fill_db_type_size.pl line 138. > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/remove_mixed_up_pointer_params.pl line 12. > DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/green/git/smatch-test/smatch_scripts/../smatch_data/db/mark_function_ptrs_searchable.pl line 12. > > > I guess I also updated to Fedora24 recently which might have > contributed here? I am on Arch and have been getting these (or very similar) errors for months. When I built the DB data today I got them as well. DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/fill_db_sql.pl line 16. DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/fill_db_caller_info.pl line 54. off DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/fill_db_type_value.pl line 142. (struct drm_ioctl_desc)->cmd 151 DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/fill_db_type_size.pl line 138. off DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/remove_mixed_up_pointer_params.pl line 12. DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at /home/silvan/builds/smatch/smatch_scripts/../smatch_data/db/mark_function_ptrs_searchable.pl line 12. Everything seemed to work without issues afterwards so I did not care to investigate any further. If there is anyone who is more familiar with the Perl scripts and thinks this could have significant negative impact on smatch's performance I would like to help to get it fixed. Cheers, Silvan -- To unsubscribe from this list: send the line "unsubscribe smatch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html