Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnumeric gnumeric
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 378
    • Issues 378
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnumericgnumeric
  • Issues
  • #597

Closed
Open
Created Sep 19, 2021 by boulshet@boulshetContributor

Crash while copying and pasting a range of cells, possibly involving conditional formating and formula

Hi

i encountered a crash while trying to duplicate a sheet from a large document. I managed to reproduce it to a minimal one - enclosed.

The steps to reproduce are simple :

  • select the column A
  • copy it : Ctrl-C
  • open a new file : Ctrl-N
  • paste it to the new file : Ctrl-V The behaviour is the same if the paste is in another sheet of the original file.

Some investigations i made :

  • there are some conditional formatting in column A. They are dependent on a formula

<gnm:Expression0>date(year(now()),month(now()),1)</gnm:Expression0>

if i remove the conditional formatting gnumeric no longer crash with the above steps

  • There are several StyleRegion in the gnumeric file and only one conditional format display in gnumeric file. Selecting only one cell dont cause a crash. I don't know if it's relevant to the issue.

  • when run under gdb, i get the following results after the crash

0x00007f002e5e2083 in gnm_style_conditions_set_pos (sc=<optimized out>, pos=0xcc61fa0) at style-conditions.c:1140
1140            for (ui = 0; ui < (ga ? ga->len : 0u); ui++) {

I am using a gnumeric version compiled from current sources but i reproduced it with an official one provided by my distrib :

$ cat /etc/release 
Mageia release 9 (Cauldron) for x86_64
$ rpm -q -f /usr/bin/gnumeric 
gnumeric-1.12.50-1.mga9

thanks

work.gnumeric

Edited Sep 19, 2021 by boulshet
Assignee
Assign to
Time tracking