- Status Closed
- Percent Complete
- Task Type Bugs
- Category Utils
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#9896 - Can't format a bdf file to fnt
When convert the file attached to fnt format, occurs Segmentation fault
$ ./convbdf.exe -f -o 5-a.fnt 9-a.bdf
8 [main] convbdf 4048 _cygtls::handle_exceptions: Error while dumping state (probably corrupte
d stack)
Segmentation fault (core dumped)
Closed by fml2
2009-12-15 12:59
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2009-12-15 12:59
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
No more reproducible with convbdf
r20831.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Exception: STATUS_ACCESS_VIOLATION at eip=610DDFF7
eax=00000000 ebx=00000000 ecx=00000028 edx=00000000 esi=7FF9FF34 edi=7FFA0000
ebp=0022CAD8 esp=0022CAD0 program=C:\cygwin\home\Administrator\otf2bdf3-win32\convbdf.exe, pid 3560, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022CAD8 610DDFF7 (7FF9FF34, 00000000, 0000016C, 0022CB3C)
0022CC68 0040215F (006B017C, 006B0320, 61168A78, 00000000)
0022CC98 004016E2 (6116B778, 6116B760, 0022CCB8, 00000000)
0022CCB8 00401369 (6116B778, 0022CCF4, 004014B6, 004014CA)
0022CCE8 0040158A (00000001, 6116B6D0, 006B0090, 0022CC70)
0022CD98 610060D8 (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
Because the value of SWIDTH and DWIDTH of font 9-a.bdf is not correct values, convbdf occurs Segmentation fault.
The font was corrected so that convbdf should not terminate abnormally.
Please confirm it.
Also, for convbdf, I corrected to output the error when the value of BBX, SWIDTH or DWIDTH was not correct.
I upload 9-a.zip again because I failed in uploading.
I corrected convbdf further.
Today, I could not reproduce the crash with the convbdf from svn (r20831) and the originally posted BDF file. The last changes to convbdf date to april 2009, i.e. after the bug was reported. In those changes, some memory access issues have been addressed and fixed. In particular, font max width and the buffer to hold it is allocated correctly.
Hence I think this bug can be closed now.