Opened 13 years ago
Closed 13 years ago
#30629 closed defect (fixed)
LyX crashes on Lion
Reported by: | carsomyr@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.99 |
Keywords: | haspatch | Cc: | |
Port: | LyX |
Description
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.
Attachments (1)
Change History (3)
Changed 13 years ago by carsomyr@…
Attachment: | patch-Portfile.diff added |
---|
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Cc: | snc@… removed |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
comment:2 Changed 13 years ago by royliu@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Made the change and committed in r84707. Let me know if anything breaks!
Note: See
TracTickets for help on using
tickets.
The Portfile patch.