libusb segfault on VL System FTDI VFD
#1
Hi all,

I get this very annoying error for couple of days, without any clue what to do about it.
I recently bought Moneual 320 case, which comes with a FTDI based VL System (http://www.vlsys.co.kr but site doesn't open) VFD/IR panel; exactly the one described here. After the initial struggle with installing LCDproc, I finally managed to install (the default apt-get installed lcdproc doesn't work due to lack of ftdi support in HD44780 driver; I have compile from source) but now I'm getting Segmentation fault when try to start lcdproc.
Code:
root@htpc:/usr/local/etc# LCDd -f -r 5 -s 0
LCDd version 0.5.3 starting
Built on Oct 21 2010, protocol version 0.3, API version 0.5
Using Configuration File: /usr/local/etc/LCDd.conf
Set report level to 5, output to stderr
LCDd 0.5.3, LCDproc Protocol 0.3
Part of the LCDproc suite
Copyright (C) 1998-2009 William Ferrell, Scott Scriven
                        and many other contributors

[ ..... ]

Server running in foreground
Listening for queries on 127.0.0.1:13666
screenlist_init()
driver_load(name="hd44780", filename="/usr/local/lib/lcdproc/hd44780.so")
HD44780: using ConnectionType: ftdi
HD44780: Matrix key 3 0: "Enter"
HD44780: Matrix key 3 1: "Up"
HD44780: Matrix key 3 2: "Down"
HD44780: Matrix key 3 3: "Escape"
hd44780: Using hd44780_default charmap
Segmentation fault
Looking in the dmesg, I see this is to do with libusb:
Code:
[  112.173984] LCDd[1394]: segfault at 0 ip 00007f379727b5a7 sp 00007fffa23dc530 error 4 in libusb-0.1.so.4.4.4[7f3797278000+7000]
[  182.133830] LCDd[1401]: segfault at 0 ip 00007f24db2eb5a7 sp 00007fff328b9f90 error 4 in libusb-0.1.so.4.4.4[7f24db2e8000+7000]
[  200.743837] LCDd[1405]: segfault at 0 ip 00007f7ac3ea25a7 sp 00007fffce7424e0 error 4 in libusb-0.1.so.4.4.4[7f7ac3e9f000+7000]
[  220.964619] LCDd[1408]: segfault at 0 ip 00007f71669c55a7 sp 00007fff10a8b410 error 4 in libusb-0.1.so.4.4.4[7f71669c2000+7000]
[  280.104231] LCDd[1410]: segfault at 0 ip 00007f30087ab5a7 sp 00007fffc7ce7180 error 4 in libusb-0.1.so.4.4.4[7f30087a8000+7000]
[ 4275.263767] LCDd[1537]: segfault at 0 ip 00007f49ac5aa5a7 sp 00007fff4fc1f4d0 error 4 in libusb-0.1.so.4.4.4[7f49ac5a7000+7000]
Does anyone know what to do next? Google didn't get me any where, so I thought if I use some of the expertise from here. I really hope someone has something for me. Any help of any kind very much appreciated. Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#2
Make a backtrace and send it to the lcdproc maintainers.
Reply
#3
bobo1on1 Wrote:Make a backtrace and send it to the lcdproc maintainers.
Already reported in the lcdproc mailing list - no such answer yet. How to reach the maintainers, anyway? Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#4
Dear mod,

Can you move this post to the LINUX specific section please? I think it best suits there. Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#5
bobo1on1 Wrote:Make a backtrace and send it to the lcdproc maintainers.
backtrace sent to the lcdproc mailing list. Has anyone got any clue what's going wrong?
Code:
(gdb) run
Starting program: /usr/local/sbin/LCDd
LCDd version 0.5.3 starting
Built on Oct 22 2010, protocol version 0.3, API version 0.5
Using Configuration File: /usr/local/etc/LCDd.conf
Set report level to 5, output to stderr
LCDd 0.5.3, LCDproc Protocol 0.3
Part of the LCDproc suite
Copyright (C) 1998-2009 William Ferrell, Scott Scriven
                        and many other contributors

[ ... ]

Server running in foreground
Listening for queries on 127.0.0.1:13666
screenlist_init()
driver_load(name="hd44780", filename="/usr/local/lib/lcdproc/hd44780.so")
HD44780: using ConnectionType: ftdi
HD44780: Matrix key 3 0: "Enter"
HD44780: Matrix key 3 1: "Up"
HD44780: Matrix key 3 2: "Down"
HD44780: Matrix key 3 3: "Escape"
hd44780: Using hd44780_default charmap

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff743e5a7 in usb_control_msg () from /lib/libusb-0.1.so.4

(gdb) bt
#0  0x00007ffff743e5a7 in usb_control_msg () from /lib/libusb-0.1.so.4
#1  0x00007ffff72367bf in ftdi_enable_bitbang () from /usr/lib/libftdi.so.1
#2  0x00007ffff764f08c in hd_init_ftdi () from /usr/local/lib/lcdproc/hd44780.so
#3  0x00007ffff764a6f3 in HD44780_init () from /usr/local/lib/lcdproc/hd44780.so
#4  0x0000000000411957 in driver_load ()
#5  0x0000000000410bd1 in drivers_load_driver ()
#6  0x00000000004084ee in main ()
(gdb)
Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply

Logout Mark Read Team Forum Stats Members Help
libusb segfault on VL System FTDI VFD0