Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None Problem Fixed
I fixed this bug.
Confirmed on git version 25th of November (also ssw git) on MacOS. To reproduce:
Open Variables view Type "Hallo" in upper left cell (C1R1) to create first variable Click in Column 1, Row 3 and enter "Hier" => Crash
It should not be possible to select that cell and make it editable.
PSPPIRE 1.1.0-g2db8b2 with spread-sheet-widget 0.2 crash while entering new variable name few lines below last variable
[New Thread 0x7fffe97e0700 (LWP 13701)] [New Thread 0x7fffe8fdf700 (LWP 13702)] [New Thread 0x7fffe1720700 (LWP 13703)] [New Thread 0x7fffcf7fe700 (LWP 13704)] psppire: src/data/dictionary.c:698: dict_reorder_var: Assertion `new_index < d->var_cnt' failed.
Thread 1 "psppire" received signal SIGABRT, Aborted. 0x00007ffff3b5d8d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff3b5d8d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007ffff3b5ecaa in __GI_abort () at abort.c:78 #2 0x00007ffff3b56866 in _assert_fail_base (fmt=0x7ffff3c91e40 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff7850647 "new_index < d->var_cnt", file=file@entry=0x7ffff78505e3 "src/data/dictionary.c", line=line@entry=698, function=function@entry=0x7ffff7850c50 <__PRETTY_FUNCTION_.9392> "dict_reorder_var") at assert.c:92 #3 0x00007ffff3b56912 in _GI___assert_fail (assertion=assertion@entry=0x7ffff7850647 "new_index < d->var_cnt", file=file@entry=0x7ffff78505e3 "src/data/dictionary.c", line=line@entry=698, function=function@entry=0x7ffff7850c50 <__PRETTY_FUNCTION_.9392> "dict_reorder_var") at assert.c:101 #4 0x00007ffff77fb734 in dict_reorder_var (d=0x9a5180, v=v@entry=0xe6fc10, new_index=new_index@entry=3) at src/data/dictionary.c:698 #5 0x0000000000446538 in psppire_dict_insert_variable (d=0xa3c520 [PsppireDict], idx=idx@entry=3, name=<optimized out>, name@entry=0x0) at src/ui/gui/psppire-dict.c:456 #6 0x000000000045358f in change_var_property (var_sheet=<optimized out>, col=0, row=3, value=0x7fffffffc3b0) at src/ui/gui/psppire-variable-sheet.c:312 #9 0x00007ffff55142a8 in <emit signal ??? on instance 0xb52250 [PsppireVariableSheet]> (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffbe88) at gsignal.c:3385 #7 0x00007ffff54fa908 in g_closure_invoke (closure=0xad5960, return_value=return_value@entry=0x0, n_param_values=4, param_values=param_values@entry=0x7fffffffbcc0, invocation_hint=invocation_hint@entry=0x7fffffffbc60) at gclosure.c:804 #8 0x00007ffff550c30d in signal_emit_unlocked_R (node=node@entry=0xadc410, detail=detail@entry=0, instance=instance@entry=0xb52250, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffbcc0) at gsignal.c:3629 #10 0x00007ffff710aa74 in forward_signal (sheet=<optimized out>) at src/ssw-sheet.c:737 #14 0x00007ffff5514592 in <emit signal ??? on instance 0xb5f3e0 [SswSheetBody]> (instance=instance@entry=0xb5f3e0, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3441 #11 0x00007ffff54fa908 in g_closure_invoke (closure=0xb60f40, return_value=return_value@entry=0x0, n_param_values=4, param_values=param_values@entry=0x7fffffffc0f0, invocation_hint=invocation_hint@entry=0x7fffffffc090) at gclosure.c:804 #12 0x00007ffff550c30d in signal_emit_unlocked_R (node=node@entry=0xb08030, detail=detail@entry=0, instance=instance@entry=0xb5f3e0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffc0f0) at gsignal.c:3629 #13 0x00007ffff55142a8 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffc2b8) at gsignal.c:3385 #15 0x00007ffff7107b16 in on_editing_done (e=<optimized out>, ud=<optimized out>) at src/ssw-sheet-body.c:2191 #19 0x00007ffff5514ac2 in <emit signal 0x7ffff6be4041 "editing-done" on instance 0xc3a760 [GtkEntry]> (instance=0xc3a760, detailed_signal=detailed_signal@entry=0x7ffff6be4041 "editing-done") at gsignal.c:3481 #16 0x00007ffff54fa908 in g_closure_invoke (closure=0xde9d50, return_value=return_value@entry=0x0, n_param_values=1, param_values=param_values@entry=0x7fffffffc5c0, invocation_hint=invocation_hint@entry=0x7fffffffc560) at gclosure.c:804 #17 0x00007ffff550c30d in signal_emit_unlocked_R (node=node@entry=0xab8770, detail=detail@entry=0, instance=instance@entry=0xc3a760, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffc5c0) at gsignal.c:3629 #18 0x00007ffff55142a8 in g_signal_emit_valist (instance=instance@entry=0xc3a760, signal_id=signal_id@entry=270, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffc7a0) at gsignal.c:3385 #20 0x00007ffff696393a in gtk_cell_editable_editing_done (cell_editable=<optimized out>) at gtkcelleditable.c:132 #21 0x00007ffff71095d9 in ssw_sheet_body_set_active_cell (body=body@entry=0xb5f3e0 [SswSheetBody], col=0, row=1, e=e@entry=0xdec480) at src/ssw-sheet-body.c:841 #22 0x00007ffff710975b in __key_press_event (w=<optimized out>, e=0xdec480) at src/ssw-sheet-body.c:1005 #23 0x00007ffff6a4698e in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x76ca20, return_value=0x7fffffffcae0, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x76ca50) at gtkmarshalers.c:131 #24 0x00007ffff54faaaf in _g_closure_invoke_va (closure=closure@entry=0x76ca20, return_value=return_value@entry=0x7fffffffcae0, instance=instance@entry=0xb5f3e0, args=args@entry=0x7fffffffcc40, n_params=1, param_types=0x76ca50) at gclosure.c:867 #25 0x00007ffff5513918 in g_signal_emit_valist (instance=instance@entry=0xb5f3e0, signal_id=signal_id@entry=94, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffcc40) at gsignal.c:3294 #26 0x00007ffff5514ac2 in g_signal_emit_by_name (instance=instance@entry=0xb5f3e0, detailed_signal=detailed_signal@entry=0x7ffff710fa8a "key-press-event") at gsignal.c:3481 #27 0x00007ffff71079ad in on_entry_activate (e=<optimized out>, ud=<optimized out>) at src/ssw-sheet-body.c:2206 Python Exception <class 'gdb.error'> There is no member named v_pointer.:
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9