[MacPorts] #33000: barcode @0.98_0 Segmentation violation

MacPorts noreply at macports.org
Tue Jan 24 00:15:23 PST 2012


#33000: barcode @0.98_0 Segmentation violation
---------------------------------+------------------------------------------
 Reporter:  hanche@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.0.3                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 Short version:


 {{{
 ; 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/33000>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list