[MacPorts] #30629: LyX crashes on Lion

MacPorts noreply at macports.org
Sat Aug 6 22:57:47 PDT 2011


#30629: LyX crashes on Lion
--------------------------------+-------------------------------------------
 Reporter:  carsomyr@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.99                               
 Keywords:  haspatch            |        Port:  LyX                                  
--------------------------------+-------------------------------------------
 Here is the stack trace:
 {{{

 Application Specific Information:
 objc[89472]: garbage collection is OFF
 *** error for object 0x7fff7347b860: pointer being freed was not allocated


 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   libsystem_kernel.dylib              0x00007fff8e123ce2 __pthread_kill
 + 10
 1   libsystem_c.dylib                   0x00007fff840ab7d2 pthread_kill +
 95
 2   libsystem_c.dylib                   0x00007fff8409ca7a abort + 143
 3   libsystem_c.dylib                   0x00007fff840fb84c free + 389
 4   org.lyx.lyx                         0x0000000103dbde04
 std::basic_string<char,
 boost::tokenizer_detail::traits_extension<std::char_traits<char> >,
 std::allocator<char> >::~basic_string() + 82
 5   org.lyx.lyx                         0x0000000103dbd45e
 lyx::support::getEnvPath(std::string const&) + 654
 6   org.lyx.lyx                         0x0000000103dbd61d
 lyx::support::prependEnvPath(std::string const&, std::string const&) + 45
 7   org.lyx.lyx                         0x00000001039e5f64
 lyx::LyX::init() + 1128
 8   org.lyx.lyx                         0x00000001039e7299
 lyx::LyX::init(int&, char**) + 435
 9   org.lyx.lyx                         0x00000001039e7a0e
 lyx::LyX::exec(int&, char**) + 1074
 10  org.lyx.lyx                         0x00000001038ff956 main + 70
 11  org.lyx.lyx                         0x00000001038ff904 start + 52
 }}}

 Don't know if it's a Lion problem, but I think it crops up when one first
 installs the boost port and then LyX.  Please find attached patches that
 attempt to address the issue.  In short, building against the boost makes
 things work again.  Since my C++ is poor, I have little hope of debugging
 the "src/support/environment.cpp" file.  Perhaps someone can explain why
 such simple code fails.

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


More information about the macports-tickets mailing list