Opened 6 years ago

Closed 6 years ago

#39820 closed defect (fixed)

litecoin doesn't respect prefix

Reported by: mkae (Marko Käning) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: litecoin

Description

This was found due to the fact that litecoin was installed with prefix /opt/clean-slate instead of the usual /opt/local which leads after the current boost upgrade to these errors:

Process:         Litecoin-Qt [3138]
Path:            /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt
Identifier:      com.yourcompany.Litecoin-Qt
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [263]

Date/Time:       2013-07-21 15:30:29.192 +0200
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          4044361 sec
Crashes Since Last Report:           253
Per-App Interval Since Last Report:  68545 sec
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      4ADD88F0-37AC-4BFC-BB40-8308C8DB47A2

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: __ZN5boost6detail13once_epoch_cvE
  Referenced from: /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt
  Expected in: /opt/local/lib/libboost_thread-mt.dylib
 in /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt

Binary Images:
       0x100000000 -        0x100588fef +com.yourcompany.Litecoin-Qt ??? (???) <E38F86FE-6910-2CE9-D2C5-4D2EA5B5BF08> /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt
       0x100a24000 -        0x100a2afff +libqrencode.3.dylib 5.1.0 (compatibility 5.0.0) <B8CE863E-BB5D-39FF-3105-8AF16E63F2AC> /opt/clean-slate/lib/libqrencode.3.dylib
       0x100a2e000 -        0x100a35ff7 +libminiupnpc.8.dylib ??? (???) <B4BD8392-AB6B-7B21-FBFD-80868FB11C75> /opt/clean-slate/lib/libminiupnpc.8.dylib
       0x100a39000 -        0x100a8dff7 +libssl.1.0.0.dylib ??? (???) <5955F68C-357C-A2E8-59F3-D20D85403AB3> /opt/local/lib/libssl.1.0.0.dylib
       0x100aa8000 -        0x100c0dff7 +libcrypto.1.0.0.dylib ??? (???) <AB475C5F-17C6-6A01-1242-63B194872ABB> /opt/local/lib/libcrypto.1.0.0.dylib
       0x100c7f000 -        0x100de5ff7 +libdb_cxx-4.8.dylib ??? (???) <0E81BA0E-59DB-F86D-C7FE-25B208D4553E> /opt/clean-slate/lib/db48/libdb_cxx-4.8.dylib
       0x100e0d000 -        0x100e11fe7 +libboost_system-mt.dylib ??? (???) <752933E8-11A3-3BC4-AD7C-1E9B06C2464F> /opt/local/lib/libboost_system-mt.dylib
       0x100e16000 -        0x100e28fe7 +libboost_filesystem-mt.dylib ??? (???) <A331B2B7-03C5-31BB-AF88-4E79F373327E> /opt/local/lib/libboost_filesystem-mt.dylib
       0x100e3b000 -        0x100e84fef +libboost_program_options-mt.dylib ??? (???) <EEE2675B-0EEF-3EF7-BABA-F21DAB57CBD1> /opt/local/lib/libboost_program_options-mt.dylib
       0x100eea000 -        0x100ef6fff +libboost_thread-mt.dylib ??? (???) <9714221E-CDA6-3DB0-BDA9-20538C467719> /opt/local/lib/libboost_thread-mt.dylib
       0x100f13000 -        0x101902ff7 +QtGui 4.8.4 (compatibility 4.8.0) <D28D1769-4DC1-03A3-042E-9720B5B39F84> /opt/clean-slate/Library/Frameworks/QtGui.framework/Versions/4/QtGui
       0x101b86000 -        0x101e5dff7 +QtCore 4.8.4 (compatibility 4.8.0) <7BF14225-425F-48D6-400D-8133791977E1> /opt/clean-slate/Library/Frameworks/QtCore.framework/Versions/4/QtCore
       0x101ef5000 -        0x101f07ff7 +libz.1.dylib 1.2.8 (compatibility 1.0.0) <A07EE7AE-FDB1-F5E8-8B12-06B7B616DA94> /opt/local/lib/libz.1.dylib
       0x101f0b000 -        0x101fb4fef +libstdc++.6.dylib 7.18.0 (compatibility 7.0.0) <1E9985B3-15DA-3AFB-8124-9F14E6F0C6F9> /opt/local/lib/libstdc++.6.dylib
       0x1020b6000 -        0x1020cafe7 +libgcc_s.1.dylib ??? (???) <C8DF019A-3581-3395-B337-D4E11EC11137> /opt/local/lib/gcc48/libgcc_s.1.dylib
       0x1020d9000 -        0x1020ebff7 +libz.1.dylib 1.2.8 (compatibility 1.0.0) <5B3CA2A2-B335-00CF-A5FE-E2851CAC715A> /opt/clean-slate/lib/libz.1.dylib
       0x1020ef000 -        0x102114fe7 +libpng15.15.dylib 32.0.0 (compatibility 32.0.0) <124C72F8-6F12-797A-FA12-55DDE4EFBA0D> /opt/clean-slate/lib/libpng15.15.dylib

i.e. tons of libs are pulled in from /opt/local although /opt/clean-slate should be used!

Change History (3)

comment:1 Changed 6 years ago by mkae (Marko Käning)

After rebuilding it I end up with a new error, now in GetConfigFile():

Process:         Litecoin-Qt [17430]
Path:            /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt
Identifier:      com.yourcompany.Litecoin-Qt
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [263]

Date/Time:       2013-07-21 16:09:04.851 +0200
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          4046672 sec
Crashes Since Last Report:           256
Per-App Interval Since Last Report:  68547 sec
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      4ADD88F0-37AC-4BFC-BB40-8308C8DB47A2

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff88f870b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff890279f6 abort + 83
2   libSystem.B.dylib             	0x00007fff88f3f195 free + 128
3   com.yourcompany.Litecoin-Qt   	0x00000001000623fe GetConfigFile() + 382
4   com.yourcompany.Litecoin-Qt   	0x000000010006277e ReadConfigFile(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >&, std::map<std::string, std::vector<std::string, std::allocator<std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::vector<std::string, std::allocator<std::string> > > > >&) + 62
5   com.yourcompany.Litecoin-Qt   	0x000000010001b2ed main + 349
6   com.yourcompany.Litecoin-Qt   	0x0000000100019fb8 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff88f51c0a kevent + 10
1   libSystem.B.dylib             	0x00007fff88f53add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff88f537b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff88f532de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff88f52c08 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff88f52aa5 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff88f52a2a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff88f52e3c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff88f52aa5 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000002  rcx: 0x00007fff5fbfe8e8  rdx: 0x0000000000000000
  rdi: 0x0000000000004416  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfe900  rsp: 0x00007fff5fbfe8e8
   r8: 0x0000000000000e03   r9: 0x0000000000000000  r10: 0x00007fff88f830fa  r11: 0x0000000000000206
  r12: 0x0000000102153000  r13: 0x0000000102150000  r14: 0x0000000000000000  r15: 0x0000000101fcc840
  rip: 0x00007fff88f870b6  rfl: 0x0000000000000206  cr2: 0x00000001024ff000

Binary Images:
       0x100000000 -        0x100587ff7 +com.yourcompany.Litecoin-Qt ??? (???) <2ED89936-1074-7B75-F0E9-61CB58A95A44> /opt/clean-slate/Applications/Qt4/Litecoin-Qt.app/Contents/MacOS/Litecoin-Qt
       0x100a27000 -        0x100a2dfff +libqrencode.3.dylib 5.1.0 (compatibility 5.0.0) <B8CE863E-BB5D-39FF-3105-8AF16E63F2AC> /opt/clean-slate/lib/libqrencode.3.dylib
       0x100a31000 -        0x100a38ff7 +libminiupnpc.8.dylib ??? (???) <B4BD8392-AB6B-7B21-FBFD-80868FB11C75> /opt/clean-slate/lib/libminiupnpc.8.dylib
       0x100a3c000 -        0x100a90ff7 +libssl.1.0.0.dylib ??? (???) <5955F68C-357C-A2E8-59F3-D20D85403AB3> /opt/local/lib/libssl.1.0.0.dylib
       0x100aab000 -        0x100c10ff7 +libcrypto.1.0.0.dylib ??? (???) <AB475C5F-17C6-6A01-1242-63B194872ABB> /opt/local/lib/libcrypto.1.0.0.dylib
       0x100c82000 -        0x100de8ff7 +libdb_cxx-4.8.dylib ??? (???) <0E81BA0E-59DB-F86D-C7FE-25B208D4553E> /opt/clean-slate/lib/db48/libdb_cxx-4.8.dylib
       0x100e10000 -        0x100e14fe7 +libboost_system-mt.dylib ??? (???) <752933E8-11A3-3BC4-AD7C-1E9B06C2464F> /opt/local/lib/libboost_system-mt.dylib
       0x100e19000 -        0x100e2bfe7 +libboost_filesystem-mt.dylib ??? (???) <A331B2B7-03C5-31BB-AF88-4E79F373327E> /opt/local/lib/libboost_filesystem-mt.dylib
       0x100e3e000 -        0x100e87fef +libboost_program_options-mt.dylib ??? (???) <EEE2675B-0EEF-3EF7-BABA-F21DAB57CBD1> /opt/local/lib/libboost_program_options-mt.dylib
       0x100eed000 -        0x100ef9fff +libboost_thread-mt.dylib ??? (???) <9714221E-CDA6-3DB0-BDA9-20538C467719> /opt/local/lib/libboost_thread-mt.dylib
       0x100f16000 -        0x101905ff7 +QtGui 4.8.4 (compatibility 4.8.0) <D28D1769-4DC1-03A3-042E-9720B5B39F84> /opt/clean-slate/Library/Frameworks/QtGui.framework/Versions/4/QtGui
       0x101b89000 -        0x101e60ff7 +QtCore 4.8.4 (compatibility 4.8.0) <7BF14225-425F-48D6-400D-8133791977E1> /opt/clean-slate/Library/Frameworks/QtCore.framework/Versions/4/QtCore
       0x101ef8000 -        0x101f0aff7 +libz.1.dylib 1.2.8 (compatibility 1.0.0) <A07EE7AE-FDB1-F5E8-8B12-06B7B616DA94> /opt/local/lib/libz.1.dylib
       0x101f0e000 -        0x101fb7fef +libstdc++.6.dylib 7.18.0 (compatibility 7.0.0) <1E9985B3-15DA-3AFB-8124-9F14E6F0C6F9> /opt/local/lib/libstdc++.6.dylib
       0x1020b9000 -        0x1020cdfe7 +libgcc_s.1.dylib ??? (???) <C8DF019A-3581-3395-B337-D4E11EC11137> /opt/local/lib/gcc48/libgcc_s.1.dylib
       0x1020dc000 -        0x1020eeff7 +libz.1.dylib 1.2.8 (compatibility 1.0.0) <5B3CA2A2-B335-00CF-A5FE-E2851CAC715A> /opt/clean-slate/lib/libz.1.dylib
       0x1020f2000 -        0x102117fe7 +libpng15.15.dylib 32.0.0 (compatibility 32.0.0) <124C72F8-6F12-797A-FA12-55DDE4EFBA0D> /opt/clean-slate/lib/libpng15.15.dylib
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
    0x7fff8106e000 -     0x7fff8106eff7  com.apple.Carbon 150 (152) <19B37B7B-1594-AD0A-7F14-FA2F85AD7241> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff8106f000 -     0x7fff8111ffff  edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff81136000 -     0x7fff812adfe7  com.apple.CoreFoundation 6.6.6 (550.44) <BB4E5158-E47A-39D3-2561-96CB49FA82D4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff817b5000 -     0x7fff817b9ff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <DB710299-B4D9-3714-66F7-5D2964DE585B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff81878000 -     0x7fff818c1fef  libGLU.dylib ??? (???) <B0F4CA55-445F-E901-0FCF-47B3B4BAE6E2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff82103000 -     0x7fff8211cfff  com.apple.CFOpenDirectory 10.6 (10.6) <CCF79716-7CC6-2520-C6EB-A4F56AD0A207> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff823aa000 -     0x7fff82427fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib

comment:2 Changed 6 years ago by mkae (Marko Käning)

Fixed in r108369

comment:3 Changed 6 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.