[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > WARNING: scamp.conf not found, using internal defaults > WARNING: This executable has been compiled using a version of the ATLAS library without support for multithreading. Performance will be degraded. > ----- SCAMP 2.0.4 started on 2017-12-01 at 13:55:43 with 2 threads > ----- 1 inputs: [New Thread 0x7ffff4769700 (LWP 10661)] [New Thread 0x7ffff3f68700 (LWP 10662)] > Examining Catalog test-scamp-segfault.cat Thread 2 "scamp" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff4769700 (LWP 10661)] 0x000055555558e58a in load_field (filename=, fieldindex=fieldindex@entry=0) at field.c:343 343 field.c: No such file or directory. #0 0x000055555558e58a in load_field (filename=, fieldindex=fieldindex@entry=0) at field.c:343 #1 0x000055555558eb94 in pthread_load_field (arg=) at field.c:655 #2 0x00007ffff6879517 in start_thread (arg=0x7ffff4769700) at pthread_create.c:456 #3 0x00007ffff635182f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 #0 0x000055555558e58a in load_field (filename=, fieldindex=fieldindex@entry=0) at field.c:343 wcs = cat = 0x7fffec0008c0 tab = 0x7fffec003a60 imatab = key = field = set = htype = 1452482960 ttype = 21845 str = "test-scamp-segfault.cat\000mp-segfault.cat\000t\000\000\000\377\377", '\000' , "\064`\366\377\177\000\000"... label = "\000\000\000\000\000\000\000\000P<\207\366\377\177\000\000\340\216v\364\377\177\000\000\063\376\336\367\377\177", '\000' , "\270!\223VUU\000\000\220!\223VUU\000\000\340!\223VUU\000" keystr = "\005", '\000' rfilename = pstr = astrombuf = photombuf = pspath = d = i = j = n = 1 s = nsample = 1 line = #1 0x000055555558eb94 in pthread_load_field (arg=) at field.c:655 findex = 0 proc = #2 0x00007ffff6879517 in start_thread (arg=0x7ffff4769700) at pthread_create.c:456 __res = pd = 0x7ffff4769700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737294800640, 1722582721818372361, 140737488346030, 140737488346031, 93824992471728, 140737294800640, -1722557353077397239, -1722562171101665015}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #3 0x00007ffff635182f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 No locals. Thread 3 (Thread 0x7ffff3f68700 (LWP 10662)): #0 0x00007ffff687fb26 in futex_wait_cancelable (private=, expected=0, futex_word=0x5555569359d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 __ret = -512 oldtype = 0 err = #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x555556935960, cond=0x5555569359b0) at pthread_cond_wait.c:502 spin = 0 buffer = {__routine = 0x7ffff687f960 <__condvar_cleanup_waiting>, __arg = 0x7ffff3f67e90, __canceltype = 0, __prev = 0x0} cbuffer = {wseq = 2, cond = 0x5555569359b0, mutex = 0x555556935960, private = 0} err = g = 0 flags = signals = 0 result = 0 seq = 1 #2 __pthread_cond_wait (cond=cond@entry=0x5555569359b0, mutex=mutex@entry=0x555556935960) at pthread_cond_wait.c:655 No locals. #3 0x00005555555aa484 in threads_gate_sync (gate=0x555556935950) at threads.c:123 No locals. #4 0x000055555558ebdc in pthread_load_field (arg=) at field.c:663 findex = -1 proc = #5 0x00007ffff6879517 in start_thread (arg=0x7ffff3f68700) at pthread_create.c:456 __res = pd = 0x7ffff3f68700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737286407936, 1722582721818372361, 140737488346030, 140737488346031, 93824992471728, 140737286407936, -1722573844141201143, -1722562171101665015}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #6 0x00007ffff635182f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 No locals. Thread 2 (Thread 0x7ffff4769700 (LWP 10661)): #0 0x000055555558e58a in load_field (filename=, fieldindex=fieldindex@entry=0) at field.c:343 wcs = cat = 0x7fffec0008c0 tab = 0x7fffec003a60 imatab = key = field = set = htype = 1452482960 ttype = 21845 str = "test-scamp-segfault.cat\000mp-segfault.cat\000t\000\000\000\377\377", '\000' , "\064`\366\377\177\000\000"... label = "\000\000\000\000\000\000\000\000P<\207\366\377\177\000\000\340\216v\364\377\177\000\000\063\376\336\367\377\177", '\000' , "\270!\223VUU\000\000\220!\223VUU\000\000\340!\223VUU\000" keystr = "\005", '\000' rfilename = pstr = astrombuf = photombuf = pspath = d = i = j = n = 1 s = nsample = 1 line = #1 0x000055555558eb94 in pthread_load_field (arg=) at field.c:655 findex = 0 proc = #2 0x00007ffff6879517 in start_thread (arg=0x7ffff4769700) at pthread_create.c:456 __res = pd = 0x7ffff4769700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737294800640, 1722582721818372361, 140737488346030, 140737488346031, 93824992471728, 140737294800640, -1722557353077397239, -1722562171101665015}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #3 0x00007ffff635182f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 No locals. Thread 1 (Thread 0x7ffff7fb2700 (LWP 10655)): #0 0x00007ffff687fb26 in futex_wait_cancelable (private=, expected=0, futex_word=0x5555569359d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 __ret = -512 oldtype = 0 err = #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x555556935960, cond=0x5555569359b0) at pthread_cond_wait.c:502 spin = 0 buffer = {__routine = 0x7ffff687f960 <__condvar_cleanup_waiting>, __arg = 0x7fffffffdba0, __canceltype = 4096, __prev = 0x0} cbuffer = {wseq = 0, cond = 0x5555569359b0, mutex = 0x555556935960, private = 0} err = g = 0 flags = signals = 0 result = 0 seq = 0 #2 __pthread_cond_wait (cond=cond@entry=0x5555569359b0, mutex=mutex@entry=0x555556935960) at pthread_cond_wait.c:655 No locals. #3 0x00005555555aa484 in threads_gate_sync (gate=0x555556935950) at threads.c:123 No locals. #4 0x000055555558ee9e in pthread_load_fields (fields=fields@entry=0x555556931030, nfield=nfield@entry=1) at field.c:720 pthread_attr = {__size = '\000' , "\020", '\000' , __align = 0} proc = 0x555556932140 p = #5 0x0000555555596109 in makeit () at makeit.c:132 filename = '\000' extension = '\000' str = '\000' fgroups = fields = 0x555556931030 reffields = tm = alpha = delta = pstr = i = f = g = nfield = 1 ngroup = 0 nsample = nclip = hh = mm = dd = dm = #6 0x0000555555559db2 in main (argc=, argv=) at main.c:198 fp = tdiff = fields = dets = liststr = "H\363\003\366\377\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000D\215\336\367\377\177\000\000\001", '\000' , "\200ÒVUU\000\000\250G\207\366\377\177\000\000\260\337\377\377\377\177\000\000\063\376\336\367\377\177\000\000\000\000\000\000\001\000\000\000?\000\000\000\000\000\000\000`\340\377\377\377\177\000\000\000\034.\366\377\177\000\000\310\021\004\366\377\177\000\000\000\000\000\000\000\000\000\000\020\001\000\000\000\000\000\000\200\037\000\000\377\377\000\000\177\003", '\000' , "\200\037\000\000\377\377", '\000' ... argkey = 0x555556931010 argval = 0x555556931030 str = listname = listbuf = a = l = narg = nim = opt = opt2 = bufpos = bufsize = A debugging session is active. Inferior 1 [process 10655] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal]