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

Crash on creation of new sub page #1096

Open
rscmbbng opened this issue May 26, 2020 · 4 comments
Open

Crash on creation of new sub page #1096

rscmbbng opened this issue May 26, 2020 · 4 comments

Comments

@rscmbbng
Copy link
Contributor

When trying to create a new sub page in a rather large notebook the application crashes. Running it with debug flags gives the following output:

INFO: Open page: manuals:devices (manuals:devices)
DEBUG: BackgroundCheck started
DEBUG: BackgroundCheck finished
DEBUG: Action: new_sub_page
DEBUG: Opening dialog "New Page in manuals:devices"

(zim:13789): Gdk-WARNING **: 14:14:12.879: Native Windows wider or taller than 32767 pixels are not supported

(zim:13789): Gdk-ERROR **: 14:14:12.943: The program 'zim' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 49996 error_code 11 request_code 130 (MIT-SHM) minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
zsh: trace trap (core dumped)  zim -D -V

As it is still possible to make pages by typing camelCase page names in the text area, I suspect this is due to the auto complete in the menu.

Running:
Linux 5.6.11-1-MANJARO #1 SMP PREEMPT Wed May 6 10:20:32 UTC 2020 x86_64 GNU/Linux

Zim version:
0.72.1
@introt
Copy link
Collaborator

introt commented Dec 15, 2021

Hi @rscmbbng, are you still having this issue with the later versions of Zim?

@introt introt added candidate for removal Tag to flag tickets that can be cleaned up needs info labels Dec 15, 2021
@rscmbbng
Copy link
Contributor Author

Yes, see below. It is a large notebook.

DEBUG: Opening dialog "New Page in Journal"

(zim:13397): Gdk-WARNING **: 19:32:44.651: Native Windows wider or taller than 32767 pixels are not supported

(zim:13397): Gdk-ERROR **: 19:32:44.668: The program 'zim' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 44247 error_code 11 request_code 130 (MIT-SHM) minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap

$ zim --version
zim 0.74.2
~$ uname -a
Linux  5.15.0-7.1-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.15-9.1~bullseye (2021-12-08) x86_64 GNU/Linux

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented Dec 15, 2021 via email

@introt introt removed the candidate for removal Tag to flag tickets that can be cleaned up label Dec 15, 2021
@rscmbbng
Copy link
Contributor Author

2.4GB, 340 directories, 6K files.

The specific crash happens when a new page is made and a name is suggested from the drop-down menu of existing pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants