Opened 19 years ago
Closed 19 years ago
Last modified 19 years ago
#2092 closed defect (wontfix)
mythfrontend crashes when mythlcdserver is enabled
Reported by: | anonymous | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | 0.19 |
Severity: | medium | Keywords: | seg fault mythlcdserver |
Cc: | Ticket locked: | no |
Description
Hiya,
There already has been some discussion on this on other tickets and some fixes were made in 0.19.1 to address this but... I pulled the latest version of 0.19.1 last Friday and the frontend just segfaults while starting mythlcdserver. My set-up is with lcdproc-imom 0.45 from http://venky.ws/projects/imon/ using the hd44780 driver. I managed to fix my problem doing the following:
1) replace the version of lcddevice.cpp and lcddevice.h in 0.19.1 with the ones from trunk
2) pulled mythsocket.cpp and mythsocket.h from trunk
3) removed #include "libmythui/mythmainwindow.h" in lcddevice.cpp (l. 14) as it is not used
4) amended mythcontext.h (included by mythsocket.cpp) to include F(VB_SOCKET, 0x00100000, "socket", 1, 101 "socket debugging messages") in its VERBOSE_MAP(F) definition
5) amended libmyth.pro to include mythsocket.h and mythsocket.cpp in its HEADERS and SOURCES definitions and mythsocket.h in its inc.files
Compiling the mythtv with these versions fixed my seg fault and the LCD display is now working without problems.
It looks as if it's a trivial backport but then again I might be missing some incompatibility which I have yet to encounter.
Anyway, I just thought it might also help someone else with a similar problem
Thanks for a great app.
Milestone 0.19.1 deleted