It happens every time, both for me and anyone else using labplot. After running the program, attempting to go "File->Import OPJ Project" leads to an immediate crash of the program, with "Segmentation Fault" as the only error message. Reproducible: Always Steps to Reproduce: 1. Run labplot 2. Import any origin project from the menu ("File->Import OPJ Project") Actual Results: It crashed Expected Results: It would open the file This bug seems to be very common; even my friend using Ubuntu has this problem. I downloaded the source for the new version, 1.6.0, and compiled in my home directory, and it opened all files just fine. It has been out since 17th Dec., so I hope I'm not rushing when I ask it to be added to the portage tree. :) Here is my emerge --info: Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-tuxonice-r6 i686) ================================================================= System uname: 2.6.23-tuxonice-r6 i686 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz Timestamp of tree: Sun, 13 Jan 2008 23:16:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X a52 acl acpi alsa bash-completion berkdb bitmap-fonts cdd cdr cli cracklib crypt cups dri dvd dvdr dvdread encode firefox fortran ftp gd gdbm gif glut gpm iconv ieee1394 imagemagick imap ipod ipv6 ipw3945 isdnlog java javascript jpeg midi mp3 mpeg mpi mplayer mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl plotutils png pppd python readline reflection samba sdl session spl sse sse2 ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb vcd vim-syntax vim-with-x wifi win32codecs x86 xinerama xorg xosd zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Reopen with a backtrace; thanks. http://www.gentoo.org/proj/en/qa/backtraces.xml
(gdb) thread apply all bt full Thread 1 (Thread 0xb54906f0 (LWP 18259)): #0 0xb7da9fc4 in ImportOPJ::import (this=0xbfcf4368) at ImportOPJ.cc:18 opj = Cannot access memory at address 0xbf4ec13c
Hi Chip, Thanks for reporting. labplot-1.6.0.1 is now in the main tree. Could you try with this latest version once it hits the mirrors? labplot-1.5.1.6 could be worked to work with liborigin in the tree, but I'd rather concentrate on debugging this newer version. Thanks,
Now the ebuild seems to be messed up: it thinks the size is different than it is: !!! Digest verification failed: !!! /usr/portage/distfiles/LabPlot-1.6.0.1.tar.gz !!! Reason: Filesize does not match recorded size !!! Got: 11903145 !!! Expected: 221544
I just fixed the bad Manifest file. Sorry for the inconvenience! Markus
That fixed it for me -- I can now open origin project files! Thanks very much for your hard work. Unfortunately, now it crashes any time I try to export the data. I'll enter a new bug for that whenever I feel I have time to get a backtrace from it.