On Thu, Jun 21, 2018 at 08:44:29AM +0200, Alexandre Ratchov wrote: > On Wed, Jun 06, 2018 at 04:11:17PM +0300, Leonid Bobrov wrote: > > On Tue, Jun 05, 2018 at 08:01:12AM +0200, Alexandre Ratchov wrote: > > > I installed utox, it doesn't crash with the diff below anymore. The > > > "Preview" button in the "Audio & Video" settings records my voice. > > > > > > > Ok, I tested your diff using Toxic at virtual machine. Voice recording > > works, but when I finish a call, I get segmentation fault (and I got > > bus error once). > > Any update on this? does it work on real machines? > > If utox keeps crashing, could you provide a stack trace? >
Hi! I made a test at real machine, I didn't say uTox crash. I tested it right now, uTox works fine. I said Toxic crashes and it keeps crashing. This is a nightmare because this made kernel panic, I couldn't reboot properly and now my filesystem is corrupted... Anyway, after applying your patch and setting MODCMAKE_DEBUG to Yes at audio/openal this is what I get at Toxic after finishing audiocall: (note that Toxic is built with -g flag by default) (gdb) bt #0 0x00001c9f6b91f51b in ALCdevice_Lock () from /usr/local/lib/libopenal.so.3.0 #1 0x00001c9f6b947064 in sndio_proc_capture () from /usr/local/lib/libopenal.so.3.0 #2 0x00001c9f6b9475f8 in althrd_starter () from /usr/local/lib/libopenal.so.3.0 #3 0x00001c9f475365ae in _rthread_start (v=Variable "v" is not available. ) at /usr/src/lib/librthread/rthread.c:96 #4 0x00001c9fe61c500b in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75 #5 0x0000000000000000 in ?? () (gdb) bt full #0 0x00001c9f6b91f51b in ALCdevice_Lock () from /usr/local/lib/libopenal.so.3.0 No symbol table info available. #1 0x00001c9f6b947064 in sndio_proc_capture () from /usr/local/lib/libopenal.so.3.0 No symbol table info available. #2 0x00001c9f6b9475f8 in althrd_starter () from /usr/local/lib/libopenal.so.3.0 No symbol table info available. #3 0x00001c9f475365ae in _rthread_start (v=Variable "v" is not available. ) at /usr/src/lib/librthread/rthread.c:96 thread = Variable "thread" is not available. (gdb)