Opened 15 years ago
Closed 15 years ago
#21387 closed defect (fixed)
LyX segfaults during startup on 10.6.1; x86_64 platform
Reported by: | ristik@… | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | clubjuggler@…, mf2k (Frank Schima) | |
Port: | LyX qt4-mac |
Description
qt4-mac needs following patch: http://qt.gitorious.org/qt/qt/commit/1fa620be2794b46a9b5d867ae6b2d7fa844b610c.patch
Error message:
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00007fff86118340 in objc_msgSend () (gdb) bt #0 0x00007fff86118340 in objc_msgSend () #1 0x00007fff84d452b5 in __CFBasicHashAddValue () #2 0x00007fff84d4513f in CFBasicHashAddValue () #3 0x00007fff84d44f57 in CFDictionaryAddValue () #4 0x0000000100cd50b8 in QCoreTextFontEngineMulti::QCoreTextFontEngineMulti () #5 0x0000000100e9738d in QFontDatabase::load () #6 0x0000000100e7bbc8 in QFontPrivate::engineForScript () #7 0x0000000100e7beb9 in QFontInfo::family () #8 0x000000010035c55b in lyx::frontend::GuiApplication::romanFontName () #9 0x00000001003639df in lyx::frontend::GuiApplication::GuiApplication () #10 0x0000000100363d1e in lyx::createApplication () #11 0x000000010010ecbf in lyx::LyX::exec () #12 0x000000010000f508 in main ()
Patch above fixes the problem.
MacPorts: Version: 1.8.99 qt4-mac @4.5.2 LyX @1.6.4.1 Darwin blaah.bla 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386 /Applications/MacPorts/LyX.app/Contents/MacOS/lyx: Mach-O 64-bit executable x86_64
Attachments (1)
Change History (7)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Cc: | erickt@… clubjuggler@… added |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
Port: | LyX qt4-mac added |
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Cc: | macsforever2000@… added |
---|
comment:3 Changed 15 years ago by royliu@…
I can confirm that this simple fix did it for me. As for a patch to the port itself, please find an archive, "port-patch.tar.gz", attached. In it, you'll find the Portfile patch (in files-patch/), as well as the patch file (in files-add/) that needs to be added.
comment:4 Changed 15 years ago by stefan@…
A can confirm that the patch + port-patch fixes the problem.
comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)
Cc: | erickt@… removed |
---|---|
Owner: | changed from snc@… to erickt@… |
comment:6 Changed 15 years ago by sharky@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
qt 4.6.0 (the current version of qt4-mac) already contains the necessary fix, so this bug is fixed.
Note: See
TracTickets for help on using
tickets.
Cc Me!