Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Crash when trying to perform write action with read-only keys #444

@glasserc

Description

@glasserc

Describe the bug
Trying to "heart" or retweet any tweet causes Cawbird to crash immediately.

To Reproduce
Steps to reproduce the behavior:

  1. Start Cawbird
  2. Right click on the first tweet in your timeline, or if you prefer, scroll to find one that looks more "viral" in case you accidentally like it and don't want to distract anyone and right click that one
  3. Click the heart icon or the chasing arrows for retweet
  4. Cawbird crashes

Expected behavior
A retweet or like request is issued and Cawbird continues running normally.

System details:

  • OS: Pop!_OS
  • Version: latest master (d384358)
  • Package type: custom build

Additional context
The tail end of my log when I run with G_MESSAGES_DEBUG=cawbird shows:

(cawbird:1295730): cawbird-DEBUG: 09:18:33.118: Message with type 32 on stream [username]: null
(cawbird:1295730): cawbird-DEBUG: 09:18:35.147: Removing avatar with id 308762876 from cache
(cawbird:1295730): cawbird-DEBUG: 09:20:27.718: MainWindow.vala:60: Focus widget now: TweetListEntry 0x5619eb373800
(cawbird:1295730): cawbird-DEBUG: 09:20:27.726: MainWindow.vala:60: Focus widget now: DoubleTapButton 0x5619eb456d40
(cawbird:1295730): cawbird-DEBUG: 09:20:28.684: MainWindow.vala:60: Focus widget now: GtkToggleButton 0x5619eb459b60
(cawbird:1295730): cawbird-DEBUG: 09:20:28.775: MainWindow.vala:60: Focus widget now: (null) (nil)

(cawbird:1295730): Json-CRITICAL **: 09:20:28.907: json_object_get_array_member: assertion 'node != NULL' failed

(cawbird:1295730): Json-CRITICAL **: 09:20:28.907: json_array_get_element: assertion 'array != NULL' failed

(cawbird:1295730): Json-CRITICAL **: 09:20:28.907: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

(cawbird:1295730): Json-CRITICAL **: 09:20:28.907: json_object_get_int_member: assertion 'object != NULL' failed

(cawbird:1295730): Json-CRITICAL **: 09:20:28.907: json_object_get_string_member: assertion 'object != NULL' failed

(cawbird:1295730): GLib-CRITICAL **: 09:20:28.907: g_error_new_literal: assertion 'message != NULL' failed
fish: Job 2, “env G_MESSAGES_DEBUG=cawbird GS…” terminated by signal SIGSEGV (Address boundary error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginfo requiredThis doesn't seem right or more details are required

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions