Ticket #33000 (closed defect: fixed)
barcode @0.98_0 Segmentation violation
|Reported by:||hanche@…||Owned by:||macports-tickets@…|
; barcode -b 0534944043 -n -e isbn -o tt.ps segmentation violation
The same happens with any encoding I have tried.
When I run it under gdb, I get this backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00007fff86d5c4f0 in strlen () (gdb) back #0 0x00007fff86d5c4f0 in strlen () #1 0x00007fff86ce70d9 in vsscanf_l () #2 0x00007fff86ccb978 in sscanf () #3 0x0000000100000fe1 in get_page_geometry () #4 0x0000000100001438 in main ()
I have only tried this on Lion, up-to-date OS and XCode.
From a look at the project home page at http://www.gnu.org/software/barcode/, I get the rather strong impression that this software is not being maintained upstream. If it cannot easily by fixed by a patch, perhaps it ought to be removed from macports altogether?