Ticket #12 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

lcd4linux segmentation fault

Reported by: tron@… Owned by: michael
Priority: high Component: lcd4linux
Version: 0.1 Severity: critical
Keywords: segmentation fault CF633 Cc:

Description

I am trying to use lcd4linux on a Fedora Core 3 system with a CrystalFontz? CF633 serial lcd panel. However, I get a segmentaion fault when I tried to run lcd4linux. Please see attached -Fvv output.

Thanks, tron

lcd4linux -Fvv Version 0.10.0-RC1 starting plugin_cfg.c: Variable minute = '60000' (60000.000000) plugin_cfg.c: Variable tack = '100' (100.000000) plugin_cfg.c: Variable tick = '500' (500.000000) [POP3] No 'Plugin:POP3.server2' entry from /etc/lcd4linux.conf, disabling POP3 account #2 [POP3] No 'Plugin:POP3.server3' entry from /etc/lcd4linux.conf, disabling POP3 account #3 [POP3] 1 POP3 accounts have been succesfully defined lcd4linux.c: initializing driver Crystalfontz Crystalfontz: using model '633' Crystalfontz: using port '/dev/ttyS1' at 19200 baud removing stale lockfile /var/lock/LCK..ttyS1 drv_Crystalfontz.c: dropping garbage byte -127 drv_Crystalfontz.c: dropping garbage byte 4 drv_Crystalfontz.c: dropping garbage byte 3 drv_Crystalfontz.c: dropping garbage byte 2 drv_Crystalfontz.c: dropping garbage byte 0 drv_Crystalfontz.c: dropping garbage byte 0 drv_Crystalfontz.c: dropping garbage byte 99 Segmentation fault

Attachments

Change History

Changed 4 years ago by anonymous

  • owner changed from michael to anonymous
  • priority changed from normal to high
  • status changed from new to assigned
  • severity changed from normal to critical

Changed 4 years ago by michael

  • owner changed from anonymous to michael
  • status changed from assigned to new

Changed 4 years ago by michael

  • status changed from new to assigned

Changed 4 years ago by michael

I fixed some signed/unsigned mismatches in the Crystalfontz driver. Could you please try the latest CVS version? If this does not fix your problem, could you run lcd4linux with gdb?

Anyway, looks like you have a serious problem with your display: The Crytsalfontz driver should never ever report garbage bytes....

Changed 4 years ago by tron@…

  • status changed from assigned to closed
  • resolution set to fixed

michael,

i downloaded the latest code from CVS and it worked.

thanks, tron

Add/Change #12 (lcd4linux segmentation fault)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.