сообщение об ошибке (предупреждение) компилятора flex в задаче flex ant - PullRequest
1 голос
/ 15 апреля 2009

У меня есть следующие предупреждения, если я скомпилирую наш проект flex с задачей ant из flex sdk. У кого-нибудь есть идея, откуда это происходит и почему это происходит, и если я могу смело игнорировать это? (Кажется, что сам файл swf создается без реальной ошибки)

[mxmlc] The args attribute is deprecated. Please use nested arg elements.
[mxmlc] Loading configuration file /home/jrose/SDKs/flex_sdk_3-1/frameworks/flex-config.xml
[mxmlc] Locking assertion failure.  Backtrace:
[mxmlc] #0 /usr/lib/libxcb-xlib.so.0 [0x786057c7]
[mxmlc] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x78605891]
[mxmlc] #2 /usr/lib/libX11.so.6(_XReply+0x254) [0x77053494]
[mxmlc] #3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e6ddce]
[mxmlc] #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57d77]
[mxmlc] #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57ef3]
[mxmlc] #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x77e58136]
[mxmlc] #7 [0xb1411008]
[mxmlc] #8 [0xb140ab6b]
[mxmlc] #9 [0xb140ab6b]
[mxmlc] #10 [0xb1408236]
[mxmlc] #11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] #12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7873ae8]
[mxmlc] #13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3d1f]
[mxmlc] #14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb770182d]
[mxmlc] #15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73a730d]
[mxmlc] #16 [0xb1410898]
[mxmlc] #17 [0xb140aa94]
[mxmlc] #18 [0xb1408236]
[mxmlc] #19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] Locking assertion failure.  Backtrace:
[mxmlc] #0 /usr/lib/libxcb-xlib.so.0 [0x786057c7]
[mxmlc] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x7860596e]
[mxmlc] #2 /usr/lib/libX11.so.6 [0x77052619]
[mxmlc] #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x77048666]
[mxmlc] #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e570b9]
[mxmlc] #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57303]
[mxmlc] #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57fa1]
[mxmlc] #7 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x77e58136]
[mxmlc] #8 [0xb1411008]
[mxmlc] #9 [0xb140ab6b]
[mxmlc] #10 [0xb140ab6b]
[mxmlc] #11 [0xb1408236]
[mxmlc] #12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] #13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7873ae8]
[mxmlc] #14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3d1f]
[mxmlc] #15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb770182d]
[mxmlc] #16 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73a730d]
[mxmlc] #17 [0xb1410898]
[mxmlc] #18 [0xb140aa94]
[mxmlc] #19 [0xb1408236]

Цель муравья

<target name="compile-flex-swf" description="creates swf file">
    <mxmlc file="${basedir}/flex_src/company_gui.mxml" 
        keep-generated-actionscript="false" 
        output="${basedir}/target/${ant.project.name}.swf" 
        fork="true" 
        debug="${flex.debug}" 
        services="${basedir}/WebContent/WEB-INF/flex/services-config.xml" 
        actionscript-file-encoding="UTF-8" 
        optimize="true">

        <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
        <context-root>company</context-root>
        <compiler.library-path dir="${LCDS_HOME}/resources/frameworks" append="true">
            <include name="libs/fds.swc" />
        </compiler.library-path>
        <compiler.library-path dir="../company_flex/target" append="true">
            <include name="*.swc" />
        </compiler.library-path>
    </mxmlc>
</target>

1 Ответ

2 голосов
/ 18 апреля 2009

Эти следы на самом деле не имеют ничего общего с flex или ant. Это действительно просто взаимодействие между AWT и XCB. Вы можете найти дополнительную информацию с помощью ошибки sun 6532373 или ошибки Xlib 11390 . Есть обходные пути, но я не думаю, что они необходимы (кроме удаления этих неприятных сообщений).

...