Core Dump / Assertion `kref' failed #143

Open
opened 10 months ago by NetworkString · 2 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 9 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.