Core Dump / Assertion `kref' failed #143

Closed
opened 2021-08-12 12:39:30 +00:00 by NetworkString · 3 comments

OS: Fedora 34
GPU: Nvidia (using nouveau drivers)

Various UI actions (creating a new profile, adding a contact) results in;

cwtch: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed.
/home/USER/.local/bin/cwtch: line 3: 1513680 Aborted                 (core dumped) env LD_LIBRARY_PATH=/home/USER/.local/lib/cwtch/ /home/USER/.local/lib/cwtch/cwtch

Running in debug resulted in immediate failure;

my_application.cc: using aot_library_path or 'lib/libapp.so'
flutter: Cwtch version: v1.1.1 built on: 2021-07-15-22-01
flutter: runApp()
flutter: initState: running...
flutter: initState: registering notification, shutdown handlers...
flutter: initState: creating cwtchnotifier, ffi
flutter: initState: invoking cwtch.Start()
flutter: initState: done!
flutter: StartCwtch( cwtchdir: /home/USER/.cwtch, torPath: lib/tor )
2021/08/12 13:35:20 src/lib.go [INFO] StartCwtch(...)
2021/08/12 13:35:20 src/lib.go [INFO] application: <nil> eventHandler: <nil> acn: <nil>
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch22: krec 0 pushes 1 bufs 20 relocs 0
nouveau: ch22: buf 00000000 00000002 00000004 00000004 00000000
nouveau: ch22: buf 00000001 00000006 00000004 00000000 00000004
nouveau: ch22: buf 00000002 00000029 00000002 00000002 00000002
nouveau: ch22: buf 00000003 00000023 00000004 00000004 00000000
nouveau: ch22: buf 00000004 00000015 00000002 00000000 00000002
nouveau: ch22: buf 00000005 00000025 00000004 00000004 00000000
nouveau: ch22: buf 00000006 0000000a 00000002 00000002 00000002
nouveau: ch22: buf 00000007 00000026 00000004 00000004 00000000
nouveau: ch22: buf 00000008 00000008 00000002 00000002 00000000
nouveau: ch22: buf 00000009 00000007 00000002 00000002 00000000
nouveau: ch22: buf 0000000a 0000000c 00000002 00000000 00000002
nouveau: ch22: buf 0000000b 0000000f 00000004 00000004 00000000
nouveau: ch22: buf 0000000c 00000011 00000004 00000004 00000000
nouveau: ch22: buf 0000000d 00000027 00000004 00000004 00000000
nouveau: ch22: buf 0000000e 00000028 00000004 00000004 00000000
nouveau: ch22: buf 0000000f 0000002a 00000004 00000004 00000000
nouveau: ch22: buf 00000010 0000002b 00000004 00000004 00000000
cwtch: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed.
/home/USER/.local/bin/cwtch: line 3: 1514390 Aborted                 (core dumped) env LD_LIBRARY_PATH=/home/USER/.local/lib/cwtch/ /home/USER/.local/lib/cwtch/cwtch

Fairly sure this is a QT/nouveau issue rather than specifically Cwtch. Will continue to investigate.

**OS:** Fedora 34 **GPU:** Nvidia *(using nouveau drivers)* Various UI actions *(creating a new profile, adding a contact)* results in; ``` cwtch: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed. /home/USER/.local/bin/cwtch: line 3: 1513680 Aborted (core dumped) env LD_LIBRARY_PATH=/home/USER/.local/lib/cwtch/ /home/USER/.local/lib/cwtch/cwtch ``` Running in debug resulted in immediate failure; ``` my_application.cc: using aot_library_path or 'lib/libapp.so' flutter: Cwtch version: v1.1.1 built on: 2021-07-15-22-01 flutter: runApp() flutter: initState: running... flutter: initState: registering notification, shutdown handlers... flutter: initState: creating cwtchnotifier, ffi flutter: initState: invoking cwtch.Start() flutter: initState: done! flutter: StartCwtch( cwtchdir: /home/USER/.cwtch, torPath: lib/tor ) 2021/08/12 13:35:20 src/lib.go [INFO] StartCwtch(...) 2021/08/12 13:35:20 src/lib.go [INFO] application: <nil> eventHandler: <nil> acn: <nil> nouveau: kernel rejected pushbuf: No such file or directory nouveau: ch22: krec 0 pushes 1 bufs 20 relocs 0 nouveau: ch22: buf 00000000 00000002 00000004 00000004 00000000 nouveau: ch22: buf 00000001 00000006 00000004 00000000 00000004 nouveau: ch22: buf 00000002 00000029 00000002 00000002 00000002 nouveau: ch22: buf 00000003 00000023 00000004 00000004 00000000 nouveau: ch22: buf 00000004 00000015 00000002 00000000 00000002 nouveau: ch22: buf 00000005 00000025 00000004 00000004 00000000 nouveau: ch22: buf 00000006 0000000a 00000002 00000002 00000002 nouveau: ch22: buf 00000007 00000026 00000004 00000004 00000000 nouveau: ch22: buf 00000008 00000008 00000002 00000002 00000000 nouveau: ch22: buf 00000009 00000007 00000002 00000002 00000000 nouveau: ch22: buf 0000000a 0000000c 00000002 00000000 00000002 nouveau: ch22: buf 0000000b 0000000f 00000004 00000004 00000000 nouveau: ch22: buf 0000000c 00000011 00000004 00000004 00000000 nouveau: ch22: buf 0000000d 00000027 00000004 00000004 00000000 nouveau: ch22: buf 0000000e 00000028 00000004 00000004 00000000 nouveau: ch22: buf 0000000f 0000002a 00000004 00000004 00000000 nouveau: ch22: buf 00000010 0000002b 00000004 00000004 00000000 cwtch: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed. /home/USER/.local/bin/cwtch: line 3: 1514390 Aborted (core dumped) env LD_LIBRARY_PATH=/home/USER/.local/lib/cwtch/ /home/USER/.local/lib/cwtch/cwtch ``` Fairly sure this is a QT/nouveau issue rather than specifically Cwtch. Will continue to investigate.
Owner

so won't be QT, we abandoned QT in Dec2020 and have moved to Flutter, which I believe uses GTK+, examine linux/main.cc and linux/my_application.cc which is auto generated by flutter and lightly modified by us.

But this def seems like a Flutter problem

so won't be QT, we abandoned QT in Dec2020 and have moved to Flutter, which I believe uses GTK+, examine linux/main.cc and linux/my_application.cc which is auto generated by flutter and lightly modified by us. But this def seems like a Flutter problem
Owner

so "nouveau_pushbuf_data: Assertion `kref' failed." def looks like a bug a few things see based on a quick Google. It's possible the linux/Flutter team hasn't tested it much on the nouveau drivers. depending on how much investigation you want to do it's been suggested installing flutter and trying the demo app to see if even that triggers it on nouveau drivers while I try and track down someone else who can help reproduce this too :)

so "nouveau_pushbuf_data: Assertion `kref' failed." def looks like a bug a few things see based on a quick Google. It's possible the linux/Flutter team hasn't tested it much on the nouveau drivers. depending on how much investigation you want to do it's been suggested installing flutter and trying the demo app to see if even that triggers it on nouveau drivers while I try and track down someone else who can help reproduce this too :)
sarah added the
flutter
label 2021-08-30 20:17:16 +00:00
Owner

Assuming this was fixd by Flutter 3 stable desktop release and won't be an issue in Nightly / 1.8

Feel free to reopen if this persists.

Assuming this was fixd by Flutter 3 stable desktop release and won't be an issue in Nightly / 1.8 Feel free to reopen if this persists.
sarah closed this issue 2022-06-23 22:31:04 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#143
No description provided.