Zim

Code Block using Syntax Default crash Zim

Bug #1478215 reported by ubuntu38
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

1. Insert Code block on page.
2. Choose Default as the syntax of the Code Block.
3. Insert a character inside the block or try to paste something.
4. Crash

Arch / Manjaro Linux (x64_86)
Zim 0.63
pygtksourceview2-2.10.1-5

$ zim -D
INFO: This is zim 0.63
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: zim-trunk
  revision: 765 <email address hidden>
  date: 2015-06-13 21:48:28 +0200
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/ubuntu38/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/local/share>, <Dir: /usr/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/ubuntu38/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/ubuntu38/.cache
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 0x7f702a7f1710>
DEBUG: Loading config from: /home/ubuntu38/Notebooks/Notes/notebook.zim
DEBUG: Wrote /home/ubuntu38/.config/zim/notebooks.list
INFO: Using default notebook: file:///home/ubuntu38/Notebooks/Notes
DEBUG: Wrote /home/ubuntu38/Notebooks/Notes/.zim/tmp
INFO: Remove file: /home/ubuntu38/Notebooks/Notes/.zim/tmp
DEBUG: Loading config from: /home/ubuntu38/Notebooks/Notes/notebook.zim
DEBUG: Cache dir: /home/ubuntu38/.cache/zim/notebook-home_ubuntu38_Notebooks_Notes
DEBUG: Index database file: /home/ubuntu38/.cache/zim/notebook-home_ubuntu38_Notebooks_Notes/index.db
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.ipc.Server(None).ping((), {})>
DEBUG: Starting server by spawning new process
INFO: Spawning: ['/usr/bin/zim', '--ipc-server-main', '/tmp/zim-ubuntu38/zim-server-socket', '10'] (cwd: None)
DEBUG: Process started with PID: 14806
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.ipc.Server(None).ping((), {})>
INFO: Server starting 14806 at /tmp/zim-ubuntu38/zim-server-socket
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.ipc.Server(None).ping((), {})>
DEBUG: Remote call returned to 14803: ('ACK', 14806)
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.ipc.Server(None).has_object((<RemoteObject: zim.gui.GtkInterface(file:///home/ubuntu38/Notebooks/Notes)>,), {})>
DEBUG: Remote call returned to 14803: False
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.ipc.Server(None).init_object((<RemoteObject: zim.gui.GtkInterface(file:///home/ubuntu38/Notebooks/Notes)>,), {})>
DEBUG: Wrote <UnixFile: /home/ubuntu38/Notebooks/Notes/.zim/tmp>
INFO: Remove file: <UnixFile: /home/ubuntu38/Notebooks/Notes/.zim/tmp>
DEBUG: Loading config from: <UnixFile: /home/ubuntu38/Notebooks/Notes/notebook.zim>
DEBUG: Cache dir: <Dir: /home/ubuntu38/.cache/zim/notebook-home_ubuntu38_Notebooks_Notes>
DEBUG: Index database file: <UnixFile: /home/ubuntu38/.cache/zim/notebook-home_ubuntu38_Notebooks_Notes/index.db>
DEBUG: Opening notebook: <zim.notebook.Notebook object at 0x7f6c25b5cfd0>
DEBUG: Loading config from: <ConfigFile: /home/ubuntu38/.config/zim/preferences.conf>
DEBUG: Loading plugin: calendar
DEBUG: Loading plugin: insertsymbol
DEBUG: Loading plugin: printtobrowser
DEBUG: Loading plugin: screenshot
DEBUG: Loading plugin: sourceview
DEBUG: Loading plugin: tags
DEBUG: Loading plugin: versioncontrol
INFO: No VCS detected
DEBUG: Gtk version is (2, 24, 28)
DEBUG: Pygtk version is (2, 24, 0)
WARNING: Could not find all icon sizes for the application icon
DEBUG: Loading config from: <ConfigFile: /home/ubuntu38/.config/zim/style.conf>
DEBUG: Loading config from: <UnixFile: /home/ubuntu38/.cache/zim/notebook-home_ubuntu38_Notebooks_Notes/state.conf>
INFO: Starting async index update
DEBUG: Child process started 14808 for <RemoteObject: zim.gui.GtkInterface(file:///home/ubuntu38/Notebooks/Notes)>
DEBUG: Remote call returned to 14803: True
DEBUG: Remote call from 14803: <RemoteMethodCall: 14803: zim.gui.GtkInterface(file:///home/ubuntu38/Notebooks/Notes).present((), {'geometry': None, 'fullscreen': None, 'page': None})>
DEBUG: Accelmap: /home/ubuntu38/.config/zim/accelmap
INFO: Accelerator changed for <Actions>/MainWindowExtensionDialog/go_page_today
INFO: Accelerator changed for <Actions>/MainWindowExtension/print_to_browser
DEBUG: Registered object code
INFO: Accelerator changed for <Actions>/MainWindowExtension/save_version
DEBUG: Action: set_pathbar_recent
INFO: Open page: <FileStorePage: Linux:Hardware:GPU:radeon> (<HistoryPath: Linux:Hardware:GPU:radeon>)
DEBUG: Insert object(<TextBuffer object at 0x7f6c15b84190 (zim+gui+pageview+TextBuffer at 0x7f6c2eabcee0)>, <Element 'object' at 0x7f6c15b933f0>)
/usr/lib/python2.7/site-packages/zim/gui/widgets.py:188: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  window.add(widget)
DEBUG: Remote call returned to 14803: None
DEBUG: NOTE FOR BUG REPORTS:
 At this point zim has send the command to open a notebook to a
 background process and the current process will now quit.
 If this is the end of your debug output it is probably not useful
 for bug reports. Please close all zim windows, quit the
 zim trayicon (if any), and try again.

ubuntu38@ubuntu38-pc:~$ INFO: Accelerator changed for <Actions>/MainWindowExtension/show_versions
INFO: Accelerator changed for <Actions>/MainWindowExtensionDialog/show_calendar
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_symbol
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_screenshot
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_sourceview
INFO: Index update done
**
GtkSourceView:ERROR:gtksourcecontextengine.c:5902:update_syntax: assertion failed: (state->context != NULL)

When restarting Zim Wiki I get an error message the first time and I have to start it a second time to get it to start normally.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.