Thank you for the report!
This raises a tricky issue in the PSPP source code which spans
a few different procedures. For now, the easiest way to avoid the
problem is to avoid scratch variables (just remove all the "#"s).
On Wed, Feb 28, 2024 at 9:28 AM Frans Houweling via Bug-gnu-pspp
<bug-gnu-pspp@gnu.org> wrote:
current> pspp issue.sps
Variables
╭───────────────────┬────────┬────────────┬─────┬─────┬─────────┬──────┬───────╮
│ │ │ Measurement│ │ │ │ Print│ Write │
│Name │Position│ Level │ Role│Width│Alignment│Format│
Format│
├───────────────────┼────────┼────────────┼─────┼─────┼─────────┼──────┼───────┤
│acronymCauseOfDeath│ 1│Nominal │Input│ 6│Left │A6 │A6 │
│initialCauseOfDeath│ 2│Nominal │Input│ 32│Left │A92 │A92 │
│sexIt │ 3│Nominal │Input│ 7│Left │A7 │A7 │
╰───────────────────┴────────┴────────────┴─────┴─────┴─────────┴──────┴───────╯
Recoding fullCauseOfDeath into causeOfDeath.
╭───────────────────────────────────┬──────┬───────────────────────────────────╮
│ │ New
│ │
│Old Value │ Value│ Value
Label │
├───────────────────────────────────┼──────┼───────────────────────────────────┤
│020108 - di cui tumori maligni │ 1│020108 - di cui tumori
maligni │
│della trachea, dei bronchi e dei │ │della trachea, dei bronchi e
dei │
│polmoni │ │polmoni │
│020114 - di cui tumori maligni │ 2│020114 - di cui tumori
maligni │
│della prostata │ │della
prostata │
│07 - malattie del sistema │ 3│07 - malattie del
sistema │
│circolatorio │ │circolatorio │
│070102 - du cui altre malattie │ 4│070102 - du cui altre
malattie │
│ischemiche del cuore │ │ischemiche del
cuore │
│0704 - altre malattie del sistema│ 5│0704 - altre malattie del
sistema│
│circolatorio │ │circolatorio │
│0802 - polmonite │ 6│0802 -
polmonite │
╰───────────────────────────────────┴──────┴───────────────────────────────────╯
pspp: src/data/case.c:277: case_data_idx: Assertion `idx <
c->proto->n_widths' failed.
******************************************************
You have discovered a bug in PSPP. Please report this
to bug-gnu-pspp@gnu.org. Please include this entire
message, *plus* several lines of output just above it.
For the best chance at having the bug fixed, also
include the syntax file that triggered it and a sample
of any data file used for input.
proximate cause: Assertion Failure/Abort
version: GNU pspp 2.0.0-g928c1d
host_system: x86_64-pc-linux-gnu
build_system: x86_64-pc-linux-gnu
locale_dir: /usr/local/share/locale
compiler version: 11.2.0
******************************************************
Aborted
current>
_______________________________________________
Bug-gnu-pspp mailing list
Bug-gnu-pspp@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp