Page MenuHomeeNTiDi

adg_table_cell_new_full() crash on duplicate names
Closed, ResolvedPublic


While using LGI based bindings (Lua), creating cells with duplicate names will trigger a crash during destruction. Test case follows:

local lgi =     require 'lgi'
local Adg = lgi.require 'Adg'

local t = Adg.Table()
local r = Adg.TableRow(t)

Adg.TableCell.new_full(r, 1, 'duplicate name')
Adg.TableCell.new_full(r, 1, 'duplicate name')

This will give a Segmentation fault (core dumped) at the end of its execution (or, better, it is what I get on a couple of systems).

Revisions and Commits

Event Timeline

ntd created this task.Sep 21 2017, 9:43 AM
ntd added a comment.Sep 21 2017, 9:48 AM

In a more complex application I get a similar crash without duplicated names. When reducing it to a MCVE I'm unable to replicate it though.

ntd shifted this object from the S1 Public space to the Restricted Space space.Oct 2 2018, 7:57 AM
ntd shifted this object from the Restricted Space space to the S1 Public space.Oct 3 2018, 10:06 AM
ntd changed the visibility from "All Users" to "Public (No Login Required)".
ntd moved this task from Backlog to 1.0 Stable release on the ADG board.Apr 7 2020, 9:44 AM
ntd closed this task as Resolved.Apr 27 2020, 10:30 AM
ntd claimed this task.

The issue seems to be gone.

ntd reopened this task as Open.Apr 27 2020, 10:37 AM

The crash is still present, triggered when leaving the Lua interpreter.