ERROR detected in Smkreport / ERROR: Running qa_run for inv

Hi there,

I’ve received this error when trying to run smkreport for a new pollutant in the UK (using SMOKE v4.9):

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x155285f48d4f in ???
#1 0x15528607ed86 in ???
#2 0x408281 in ???
#3 0x448054 in ???
#4 0x402e6c in ???
#5 0x155285f3329c in ???
#6 0x402ec9 in ???
at ../sysdeps/x86_64/start.S:120
#7 0xffffffffffffffff in ???
Segmentation fault
0.091u 0.179s 0:02.07 12.5% 0+0k 153940+72io 3081pf+0w
SCRIPT NOTE: timetracker is replacing line 2 of the TIMELOG file
Missing ‘}’.
now checking log file [dir]/smoke/run_2023_cb6_pfas/static/logs/smkreport_pt_pfas_2023_cb6_pfas_inv.log


  • ERROR detected in logfile:
  • [dir]/smoke/run_2023_cb6_pfas/static/logs/smkreport_pt_pfas_2023_cb6_pfas_inv.log

ERROR detected in Smkreport
ERROR: Running qa_run for inv
log analyzer
Getting message data (might take some time)…
grep: [dir]/smoke/run_2023_cb6_pfas/static/logs: Is a directory
grep: [dir]/smoke/run_2023_cb6_pfas/static/logs: Is a directory
Finished getting data
Classifying message types…
Total number of known messages: 12
Total number of unknown messages: 1
Level 3 analysis…
Finished classifying message types
log analyzer
Getting message data (might take some time)…
grep: [dir]/smoke/run_2023_cb6_pfas/static/logs: Is a directory
grep: [dir]/smoke/run_2023_cb6_pfas/static/logs: Is a directory
Finished getting data
Classifying message types…
Total number of known messages: 12
Total number of unknown messages: 1
Level 1 analysis…
Finished classifying message types
Testing for exit priority <= 1
ERROR: At least one message’s priority is less than or equal to the exit priority: 1
ERROR: Level 1 errors or Level 0 warnings found. Check log files, fix inputs, and rerun.

When I look at the level1 log in the log_analyzer folder it includes the following:

priority,known,count,message type,first file
0,False,1,‘WARNING: Applying default time zone of 00 to country, state, and county code 001001002000’,[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log
2,True,1,‘WARNING: No kept pollutants found at line .*’,[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log
3,True,5,‘Value for SMK_MAXWARNING:’,[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log
3,True,1,‘Value for SMK_MAXERROR:’,[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log
3,True,4,‘WARNING: output file already exists:’,/[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log
3,True,1,‘WARNING: Missing average day emissions for’,[dir]/smoke/run_2023_cb6_pfas/static/logs/smkinven_3km_NI_2023_cb6_pfas.log

I’m not sure whether it’s the SMK_DEFUALT_TZONE entry of 0 that is causing the issue as it’s returning a priority of 0 (I am trying to run for GMT) or whether I need to try installing a different version of smkreport as per a previous post https://forum.cmascenter.org/t/smoke-issue-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/3102 (or some other issue).

Looking at the smkreport logfile the program appears to stop part way through. Is there anything obvious here that could be causing an issue?

Thanks very much

You mention that you were running smkreport for a new pollutant, was this pollutant already in the pnts_map text file in your intermediate directory? Is the associated inventory intermediate file populated with values?

If you are able to share your run script, inventory table, and repconfig files that will help us identify a potential cause for the seg fault.