[MacPorts] #21347: id3v2 crashes on OS X 10.6 Snow Leopard
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ All my mp3 files have both id3v1 and id3v2 tags. It looks like id3v2 crashes on the v2 tag. {{{ $ /opt/local/bin/id3v2 -l /tmp/foo.mp3 id3v1 tag info for /tmp/foo.mp3: Title : Runnin' Artist: Ledisi Album : Turn Me Loose Year: 2009, Genre: Unknown (255) Comment: Track: 1 Abort trap $ otool -L /opt/local/bin/id3v2 /opt/local/bin/id3v2: /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /opt/local/lib/libid3-3.8.3.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0) }}} -- Ticket URL: <http://trac.macports.org/ticket/21347> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by macports@…): My id3v2 binary is compiled as x86_64 (universal did not work). {{{ $ file /opt/local/bin/id3v2 /opt/local/bin/id3v2: Mach-O 64-bit executable x86_64 }}} -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Changes (by toby@…): * owner: macports-tickets@… => brent@… * version: 1.8.0 => -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by toby@…): Please attach the crash log. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by toby@…): I was able to repro - see attachment. Probably a memory smasher (64-bit related, I'm sure). -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by macports@…): Unfortunately, it also crashed when id3lib and id3v2 are build as i386. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by macports@…): It turns out this is a known bug that has been fixed in the CVS version: https://sourceforge.net/tracker/index.php?func=detail&aid=697951&group_id=97... http://id3lib.cvs.sourceforge.net/viewvc/id3lib/id3lib- stable/src/mp3_parse.cpp?view=markup I've attached the patch to fix the issue. It looks like 10.6 added stack frame protection to OS X which caused this issue to act up. Port needs to be changed to id3lib. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by cyrille.legrand@…): This issue does not seem to be fixed as of today. The exact same problem arises on my machine. The patch seems pretty simple in itself, but I have no clue on how to patch a port, or even how to compile one myself — any clue ? -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by macports@…): You can first configure the id3lib port with "port configure id3lib". Then find mp3_parse.cpp in /opt/local and patch it. Then finish installing the patched port with "port install id3lib". -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by cyrille.legrand@…): Replying to [comment:8 macports@…]:
You can first configure the id3lib port with "port configure id3lib". Then find mp3_parse.cpp in /opt/local and patch it. Then finish installing the patched port with "port install id3lib".
That was as simple as that. Many thanks, it now works perfectly. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3v2 ---------------------------------+------------------------------------------ Comment(by brent@…): So, this is not an id3v2 bug -- it should be changed to the id3lib port and/or closed based on the reporter's comment above. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard due to id3lib issue ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3lib ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * port: id3v2 => id3lib -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard due to id3lib issue ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: brent@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3lib ---------------------------------+------------------------------------------ Comment(by me@…): I just got hit by this issue and applying the patch solved it for me as well. It's a shame this isn't in the ports tree yet, it's been known about (with a fix) for 6 months. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard due to id3lib issue ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: macsforever2000@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: id3lib ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: brent@… => macsforever2000@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21347: id3v2 crashes on OS X 10.6 Snow Leopard due to id3lib issue ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: id3lib | ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * status: assigned => closed * resolution: => fixed Comment: r64704. -- Ticket URL: <http://trac.macports.org/ticket/21347#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts