gretl crashed when selecting multiple monthly series for import to a quarterly file by selecting "Spread to multiple series (MIDAS)" option from fedstl database
by Fred Engst
Hi Allin,
gretl crashed when I tried to import from fedstl database.
This is a repeatable crash, and it only happens when I select multiple series while selecting the "Spread to multiple series (MIDAS)” option. Other options or selecting single series does not cause a crash.
Fred
Attached is the crash report without the binary part (I hope that is sufficient)
Process: gretl [47738]
Path: /Applications/Gretl.app/Contents/Resources/bin/gretl
Identifier: net.sourceforge.gretl
Version: 2019b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [47738]
User ID: 502
Date/Time: 2019-05-01 14:41:25.974 +0800
OS Version: Mac OS X 10.11.6 (15G22010)
Report Version: 11
Anonymous UUID: 76CACE37-6884-3AB3-F91C-F52618C62272
Sleep/Wake UUID: AFB09A91-428B-484C-8C41-5FD347AF1F13
Time Awake Since Boot: 420000 seconds
Time Since Wake: 22000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0:
-->
__TEXT 000000010fadf000-000000010fc13000 [ 1232K] r-x/rwx SM=COW /Applications/Gretl.app/Contents/Resources/bin/gretl
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libgretl-1.0.28.dylib 0x00000001105e50bc compact_data_set + 6908
1 libgretl-1.0.28.dylib 0x00000001105e359b lib_spread_db_data + 491
2 gretl 0x000000010faf4989 handle_compact_spread + 73
3 gretl 0x000000010faf2e8b add_dbdata + 587
4 gretl 0x000000010faedd46 gui_get_db_series + 2454
5 libgobject-2.0.0.dylib 0x0000000110a5530b g_closure_invoke + 203
6 libgobject-2.0.0.dylib 0x0000000110a6a25d signal_emit_unlocked_R + 1757
7 libgobject-2.0.0.dylib 0x0000000110a6af5e g_signal_emit_valist + 2062
8 libgobject-2.0.0.dylib 0x0000000110a6b672 g_signal_emit + 130
9 libgtk-quartz-2.0.0.dylib 0x000000010ff2a4b7 gtk_widget_activate + 71
10 libgtk-quartz-2.0.0.dylib 0x000000010fe08cfd gtk_menu_shell_activate_item + 349
11 libgtk-quartz-2.0.0.dylib 0x000000010fe09e50 gtk_menu_shell_button_release + 640
12 libgtk-quartz-2.0.0.dylib 0x000000010fdf5699 _gtk_marshal_BOOLEAN__BOXED + 105
13 libgobject-2.0.0.dylib 0x0000000110a5530b g_closure_invoke + 203
14 libgobject-2.0.0.dylib 0x0000000110a6a3a3 signal_emit_unlocked_R + 2083
15 libgobject-2.0.0.dylib 0x0000000110a6afb7 g_signal_emit_valist + 2151
16 libgobject-2.0.0.dylib 0x0000000110a6b672 g_signal_emit + 130
17 libgtk-quartz-2.0.0.dylib 0x000000010ff2a234 gtk_widget_event_internal + 644
18 libgtk-quartz-2.0.0.dylib 0x000000010fdf3242 gtk_propagate_event + 322
19 libgtk-quartz-2.0.0.dylib 0x000000010fdf2e26 gtk_main_do_event + 1142
20 libgdk-quartz-2.0.0.dylib 0x00000001101fed64 gdk_event_dispatch + 84
21 libglib-2.0.0.dylib 0x0000000110ad6c3e g_main_context_dispatch + 318
22 libglib-2.0.0.dylib 0x0000000110ad6ffb g_main_context_iterate + 507
23 libglib-2.0.0.dylib 0x0000000110ad730f g_main_loop_run + 207
24 libgtk-quartz-2.0.0.dylib 0x000000010fdf26df gtk_main + 191
25 gretl 0x000000010fb42969 main + 3817
26 gretl 0x000000010fae0804 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8c13fefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff99df1165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff99df0dcd _dispatch_mgr_thread + 52
Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff8c138f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c1383b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9305a114 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff930595dc __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff93058e28 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8cd6dd95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff8be3f99d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8be3f91a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8be3d351 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8c13edb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8be40728 _pthread_cond_wait + 767
2 libgdk-quartz-2.0.0.dylib 0x00000001101ff28d select_thread_func + 61
3 libsystem_pthread.dylib 0x00007fff8be3f99d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8be3f91a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8be3d351 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8c13f5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8be3f578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8be3d341 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8c13f5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8be3f578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8be3d341 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000000000012c rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x00007fff5011f6c0 rsp: 0x00007fff5011f4e0
r8: 0x00007fca34247c60 r9: 0x00007fca34247a60 r10: 0x0000000000000003 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x7ff8000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00000001105e50bc rfl: 0x0000000000010297 cr2: 0x0000700000117000
Logical CPU: 0
Error Code: 0x02000170
Trap Number: 133
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 16
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 26895287
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=244.1M resident=0K(0%) swapped_out_or_unallocated=244.1M(100%)
Writable regions: Total=96.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=96.9M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate.framework 128K 2
Activity Tracing 2048K 2
CG backing stores 9.9M 11
CG image 24K 5
CG shared images 528K 15
CoreAnimation 16K 4
CoreUI image data 696K 7
CoreUI image file 192K 4
Dispatch continuations 8192K 2
Kernel Alloc Once 8K 3
MALLOC 47.3M 18
MALLOC guard page 32K 7
Memory Tag 242 12K 2
OpenCL 8K 2
Process Corpse Info 2048K 2
STACK GUARD 56.0M 7
Stack 10.1M 7
VM_ALLOCATE 116K 8
__DATA 20.0M 258
__IMAGE 528K 2
__LINKEDIT 94.1M 32
__TEXT 150.0M 256
__UNICODE 552K 2
mapped file 70.5M 13
shared memory 16.3M 10
=========== ======= =======
TOTAL 489.0M 656
5 years, 7 months