Bug#849659: hd44780 driver linked with wrong sem_wait

2017-01-07 Thread Dominique Dumont
On Thu, 29 Dec 2016 17:41:37 +0100 Dominique Dumont  wrote:
> I've forwarded the issue upstream [1]

See also 
* https://github.com/lcdproc/lcdproc/issues/41#issuecomment-271021814
* https://github.com/lcdproc/lcdproc/issues/41#issuecomment-271073657

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



Bug#849659: hd44780 driver linked with wrong sem_wait

2016-12-29 Thread Dominique Dumont
Hello

On Thursday, 29 December 2016 16:57:36 CET you wrote:
> Using the hd44780 driver with connectiontype=8bit consistently triggers
> a segmentation fault.

Thanks for the report. Unfortunately, I don't know how to solve this issue. 
I've forwarded the issue upstream [1]

All the best

[1] https://github.com/lcdproc/lcdproc/issues/34

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



Bug#849659: hd44780 driver linked with wrong sem_wait

2016-12-29 Thread Dominique Dumont
On Thursday, 29 December 2016 16:57:36 CET you wrote:
> Severity: grave

Downgraded to important because this problem concerns only one lcdproc driver.

All the best



Bug#849659: hd44780 driver linked with wrong sem_wait

2016-12-29 Thread BenoƮt Allard
Package: lcdproc
Version: 0.5.7-2
Severity: grave

Using the hd44780 driver with connectiontype=8bit consistently triggers
a segmentation fault.

The drivers of lcdproc define their own sem_get, sem_wait,
sem_signal, ... (See server/drivers/lcd_sem.h).

Unfortunately, the linux's version of sem_wait (3) is being used,
leading to a segmentation fault.

Program received signal SIGSEGV, Segmentation fault.
sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:44
44  ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: No such
file or directory. (gdb) bt
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:44
#1  0x774049d7 in lcdtime_HD44780_senddata (p=p@entry=0x631d00,
displayID=displayID@entry=0 '\000', flags=flags@entry=1 '\001',
ch=ch@entry=48 '0') at hd44780-ext8bit.c:153 #2  0x77404c7f in
hd_init_ext8bit (drvthis=0x630810) at hd44780-ext8bit.c:112 #3
0x774022a1 in HD44780_init (drvthis=0x630810) at hd44780.c:373
#4  0x004109a0 in driver_load (name=name@entry=0x6220d0
"hd44780", filename=filename@entry=0x6307d0
"/usr/lib/x86_64-linux-gnu/lcdproc/hd44780.so") at driver.c:153 #5
0x0040fddf in drivers_load_driver (name=0x6220d0 "hd44780") at
drivers.c:85 #6  0x00407df5 in init_drivers () at main.c:670
#7  0x0040635b in main (argc=, argv=) at main.c:2

Regards,
Ben


pgp9E9A6d_LLa.pgp
Description: OpenPGP digital signature