Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashed on copying and pasting a drawing. #5206

Closed
Spongeyboi opened this issue Oct 6, 2023 · 2 comments
Closed

Crashed on copying and pasting a drawing. #5206

Spongeyboi opened this issue Oct 6, 2023 · 2 comments
Labels
bug confirmed Bug has been reproduced by at least one other person priority::high rendering Concerns rendering of a document

Comments

@Spongeyboi
Copy link

Operating System

Linux

(Linux only) Distribution

Arch

(Linux only) Desktop Environment

Sway

(Linux Only) Display Server

Wayland

Installation Method

Arch extra repository

Xournal++ Version

xournalpp 1.2.1 (b48932a)

libgtk Version

3.24.38

Bug Description

I tried copying a drawing I made with a lot of lines in different colours and pasting it in a different page. The drawing pasted, but after appearing on the page, Xournalpp would crash.

Expected Behaviour

That it would not crash.

Steps to Reproduce

If the logs aren't enough, I can send a Mega nz link to the .xopp to see if others get the same error on it.

Additional Context

errorlog.20231006-171825.log

@Spongeyboi Spongeyboi added the bug label Oct 6, 2023
@rolandlo
Copy link
Member

rolandlo commented Oct 6, 2023

I can reproduce the issue (open a long PDF, copy something from one page, scroll down quickly to another page, paste). It's a failing assertion:

(com.github.xournalpp.xournalpp:22686): xopp-CRITICAL **: 20:23:05.952: Assertion failed: view->buffer.isInitialized()
    in function rerenderRectangle
    at line 49 of ./src/core/control/jobs/RenderJob.cpp

It's the same underlying cause like #5046, I think.

@rolandlo rolandlo added confirmed Bug has been reproduced by at least one other person priority::high rendering Concerns rendering of a document labels Oct 6, 2023
@bhennion
Copy link
Contributor

bhennion commented Oct 7, 2023

Fixed via #5144

@bhennion bhennion closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed Bug has been reproduced by at least one other person priority::high rendering Concerns rendering of a document
Projects
None yet
Development

No branches or pull requests

3 participants