OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000209OMNeT++IDE / otherpublic2010-10-07 20:422011-12-15 14:47
0000209: Crash of Omnetpp when accessing the INI or NED editor
The Imnetpp IDE is crashing when is INI or NED editor accessing. The same problem is when the elog, sca or vec file is accessing too. Much more information are in attachenment.
No tags attached.
log hs_err_pid20065.log (83,374) 2010-10-07 20:42
Issue History
2010-10-07 20:42zoklNew Issue
2010-10-07 20:42zoklFile Added: hs_err_pid20065.log
2010-10-08 08:10andrasNote Added: 0000335
2010-10-08 08:15zoklNote Added: 0000336
2010-10-08 08:16zoklNote Added: 0000337
2010-10-25 17:05zoklNote Added: 0000339
2011-03-03 22:08zoklNote Added: 0000404
2011-03-07 01:06zoklNote Added: 0000408
2011-07-07 16:04leonardoNote Added: 0000519
2011-12-15 14:47rhornigNote Added: 0000647
2011-12-15 14:47rhornigStatusnew => resolved
2011-12-15 14:47rhornigFixed in Version => 4.2
2011-12-15 14:47rhornigResolutionopen => fixed
2011-12-15 14:47rhornigAssigned To => rhornig

2010-10-08 08:10   
The crash is specific to the OS and/or JRE you are using, which appears to be Gentoo 64-bit and Java Hotspot Server 1.6.0_21-b06 64-bit.

The crash occurs in nedxmlJNI.testExceptionHandling(), which is when the startup code of our native library ( tests whether C++ exception handling works and C++ exceptions can be safely converted to Java exceptions.

Have you tried using OpenJDK instead of the Sun JDK?
2010-10-08 08:15   
No, only Sun JDK. This problem occured after upgrade gentoo system in September. Before it works fine. I dont know now which package make this problem.
2010-10-08 08:16   
hallik zokl # emerge --info
Portage 2.2_rc90 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r10 x86_64)
System uname: L[email protected]_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 07 Oct 2010 15:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r3, 3.1.2-r4
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.3
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo sunrise kde dberkholz myportage
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" [^] [^] [^] [^] [^] [^]" [^]
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/kde /var/lib/layman/dberkholz /var/lib/layman/myportage"
SYNC="rsync://" [^]
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gimp glitz gpm hal iconv imagemagick ipv6 jpeg jpeg2k kde lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pango pcmcia pcre pdf perl png policykit ppds pppd python qt qt3support qt4 readline reflection samba sdl semantic-desktop session slang spell sse sse2 ssh ssl startup-notification svg sysfs tcpd theora tiff tk truetype unicode usb v4l vaapi vdpau vim-syntax vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="inputlirc devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
2010-10-25 17:05   
In the OpenJDK implementation of java is the same problem. It was tested in icedtea implementation of OpenJDK.
2011-03-03 22:08   
Omnet 4.2b1 has the same problem :-(.

# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f566e2a85e7, pid=24180, tid=140009495684864
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.9.7
# Distribution: Built on Gentoo Base System release 2.0.1 (Fri Feb 18 16:07:28 CET 2011)
# Problematic frame:
# C [] __cxa_allocate_exception+0x27
# An error report file with more information is saved as:
# /opt/omnetpp-4.2b1/ide/hs_err_pid24180.log
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# [^]
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
2011-03-07 01:06   
After upgrade to Icedtea 6.1.10 (OpenJDK), the omnetpp works fine. Editor of INI and NED files works!! :-). SUN JDK and SUN JRE ( still not work today.
2011-07-07 16:04   
Don't know if this is related, but with Ubuntu x64 I'm having constant crashes due to eclipse CDT (tested with both versions of java), I've not being able to use the IDE for long time, up when I found this: [^]

and fixed adding:

to ide/omnetpp.ini

Not It has been working all afternoon w/o crashing.
2011-12-15 14:47   
This was a JAVA bug and was fixed in JDK 1.6.25