FS#61530 - [meterbridge] creating multiples of certain meters crashes

Attached to Project: Community Packages
Opened by Sam (waxymouthfeel) - Friday, 25 January 2019, 03:45 GMT
Last edited by David Runge (dvzrv) - Friday, 10 May 2019, 09:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using meterbridge in ppm mode with more than one channel, it will often fail and crash. I haven't been able to determine the reasons, and on some computers it's only occasional, while on others it's practically every time I launch the meter.

It crashes like so:


$ meterbridge -t ppm -n test x x
jack_client_new: deprecated
Registering as test
Initialising OpenGL system
Can't find port 'x'
Can't find port 'x'
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
meterbridge: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)


Looking around, it seems calling XInitThreads() out of Xlib fixes the problem, and has on all the machines I've tried it on. I'd go upstream, but I'm not certain how to contact the author or if the software is maintained.
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 10 May 2019, 09:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Patch added in 0.9.3-2.
Thanks!
Comment by David Runge (dvzrv) - Friday, 12 April 2019, 16:20 GMT
Hi!

Thanks for the bug report and the attached patch. I will look into it.

Upstream doesn't have a repository (AFAIK) and is also pretty much dormant (AFAIK).
However, the author is on github: https://github.com/swh

I'm unsure whether he would accept patches. I was also unable to find a contact mail address for him, sadly, as I have questions about the source code myself...
I guess meterbridge is somewhat on its way to the AUR.

Meanwhile, I can recommend using Robin Gareus' excellent suite of meters (part of x42-plugins): x42-meters (please make sure to start jack and then use `x42-meters --help` to see what's available... I really have to improve on the .desktop file(s))

Loading...