denixx baykin created MNG-5293:
----------------------------------

             Summary: Maven 3.0.4 crashes when 
"-Djava.net.useSystemProxies=true" added.
                 Key: MNG-5293
                 URL: https://jira.codehaus.org/browse/MNG-5293
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 3.0.4
         Environment: openSUSE 12.1 x64
-=-=-
denixx@denixxwork:~> java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
-=-=-
additionnaly: NetBeans 7.1.2 uses this flag by default (this flag can be erased 
in options).
            Reporter: denixx baykin
         Attachments: hs_err_pid9618.log, hs_err_pid9918.log

I have localized the issue: it's a Maven issue.
Maven, started with flag "-Djava.net.useSystemProxies=true" crashes because it 
somehow use libdbus in openSUSE 12.1 x64 in wrong way.

Here is a console output:
denixx@denixxwork:~/NetBeansProjects/FinMonitor_server_boevoy_20120517_Qualifier>
 /home/denixx/soft/apache-maven-3.0.4/bin/mvn -Djava.net.useSystemProxies=true 
clean install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
com.pb:finmonitor:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.enterprisedt:edtftp:jar 
should not point at files within the project directory, 
${basedir}/src/main/webapp/WEB-INF/lib/edtftpj.jar will be unresolvable by 
dependent projects @ line 53, column 25
[WARNING] 'dependencies.dependency.systemPath' for com.sun:jna:jar should not 
point at files within the project directory, 
${basedir}/src/main/webapp/WEB-INF/lib/jna.jar will be unresolvable by 
dependent projects @ line 61, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building FinMonitor 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ finmonitor ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
finmonitor ---
Downloading: 
http://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
Downloading: 
http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2d14766727, pid=9618, tid=139831727105792
#
# JRE version: 6.0_32-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.7-b02 mixed mode linux-amd64 
compressed oops)
# Problematic frame:
# C  [libdbus-1.so.3+0x8727]  double+0x67
#

(process:9618): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket abstract: Connection refused
GConf Error: No D-BUS daemon running

# An error report file with more information is saved as:
# 
/home/denixx/NetBeansProjects/FinMonitor_server_boevoy_20120517_Qualifier/hs_err_pid9618.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Аварийный останов (crash)

-=-=-
Another one:
denixx@denixxwork:~/NetBeansProjects/FinMonitor_server_boevoy_20120517_Qualifier>
 /home/denixx/soft/apache-maven-3.0.4/bin/mvn -Djava.net.useSystemProxies=true 
clean install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
com.pb:finmonitor:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.enterprisedt:edtftp:jar 
should not point at files within the project directory, 
${basedir}/src/main/webapp/WEB-INF/lib/edtftpj.jar will be unresolvable by 
dependent projects @ line 53, column 25
[WARNING] 'dependencies.dependency.systemPath' for com.sun:jna:jar should not 
point at files within the project directory, 
${basedir}/src/main/webapp/WEB-INF/lib/jna.jar will be unresolvable by 
dependent projects @ line 61, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building FinMonitor 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ finmonitor ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
finmonitor ---
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
Downloading: 
http://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fdb7e0338e9, pid=9918, tid=140580702963456
#
# JRE version: 6.0_32-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.7-b02 mixed mode linux-amd64 
compressed oops)
# Problematic frame:
# C  [libdbus-1.so.3+0x2a8e9]  double+0x1609
#
# An error report file with more information is saved as:
# 
/home/denixx/NetBeansProjects/FinMonitor_server_boevoy_20120517_Qualifier/hs_err_pid9918.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Аварийный останов

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to