Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125078 - sharpconstruct-0.11 3d scultping application
Summary: sharpconstruct-0.11 3d scultping application
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sharp3d.sourceforge.net/mediaw...
Whiteboard:
Keywords: EBUILD
Depends on: 125076 125077
Blocks:
  Show dependency tree
 
Reported: 2006-03-05 06:04 UTC by Matteo Azzali (RETIRED)
Modified: 2013-04-28 15:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sharpconstruct-0.11.ebuild (sharpconstruct-0.11.ebuild,713 bytes, text/plain)
2006-03-05 06:05 UTC, Matteo Azzali (RETIRED)
Details
sharpconstruct-0.11.ebuild (sharpconstruct-0.11.ebuild,999 bytes, text/plain)
2006-03-06 03:08 UTC, Matteo Azzali (RETIRED)
Details
sharpconstruct-0.12_beta2.ebuild (sharpconstruct-0.12_beta2.ebuild,958 bytes, text/plain)
2006-05-10 02:00 UTC, Matteo Azzali (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Azzali (RETIRED) gentoo-dev 2006-03-05 06:04:27 UTC
Alpha stage 3D sculpting application (with obj importer/exporter),
strictly connected to gtkglext-1.2.0 and gtkglextmm-1.2.0 version bumps.
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2006-03-05 06:05:01 UTC
Created attachment 81393 [details]
sharpconstruct-0.11.ebuild
Comment 2 Matteo Azzali (RETIRED) gentoo-dev 2006-03-06 03:08:58 UTC
Created attachment 81503 [details]
sharpconstruct-0.11.ebuild

Added libglademm as dependancy after check with linking_libs and included_headers.
Comment 3 Matteo Azzali (RETIRED) gentoo-dev 2006-03-15 03:10:31 UTC
note : tested working with gcc-4.1.0 and glibc-2.4 (~x86 , -O2 -march=athlon-xp
-pipe -fomit-frame-pointer )
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2006-05-10 02:00:55 UTC
Created attachment 86530 [details]
sharpconstruct-0.12_beta2.ebuild

Just a beta, results seems to me less clean to 0.11, you're warned....
Comment 5 onip 2006-05-30 06:45:31 UTC
I've tried 0.11 and 0.12_beta2 (also beta3, renaming beta2 ebuild). Every version gives me segmentation fault.

Backtrace:

onip @ Hal9000 ~ $ gdb sharpconstruct
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/sharpconstruct
[Thread debugging using libthread_db enabled]
[New Thread -1231984352 (LWP 383)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231984352 (LWP 383)]
0x080a56c7 in SharpConstruct::GInterface::Editor::orientate_ (this=0xbf9d90c0) at xmmintrin.h:893
893     {
(gdb) bt
#0  0x080a56c7 in SharpConstruct::GInterface::Editor::orientate_ (this=0xbf9d90c0) at xmmintrin.h:893
#1  0x080a39e5 in SharpConstruct::GInterface::Editor::on_expose_event (this=0xbf9d90c0, event=0xbf9d8778) at Editor.cc:594
#2  0xb7ea610d in Gtk::Widget_Class::expose_event_callback () from /usr/lib/libgtkmm-2.4.so.1
#3  0xb7a6d30f in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#4  0xbf9d8588 in ?? ()
#5  0x08140c80 in ?? ()
#6  0x08140c80 in ?? ()
#7  0xb77690e6 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#8  0xbf9d8490 in ?? ()
#9  0xb7ea60b4 in Gtk::Widget_Class::delete_event_callback () from /usr/lib/libgtkmm-2.4.so.1
#10 0xbf9d8468 in ?? ()
#11 0x00000002 in ?? ()
#12 0xbf9d8490 in ?? ()
#13 0x000000c8 in ~ModelPreview (this=0x0) at basic_string.h:220
#14 0x08177948 in ?? ()
#15 0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y

Hal9000 ~ # emerge --info
Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it/"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli crypt cups dbus directfb divx4linux dri dvb dvd dvdread eds emboss encode exif fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imlib isdnlog jabber java joystick jpeg jpeg2k lcms libg++ libwww live mad matroska mikmod mime mmx mng motif mozsvg mp3 mpeg mpeg4 msn musepack ncurses network nls nptl nsplugin nvidia offensive ogg openal opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline real reflection samba sdl session slang spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xine xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Matteo Azzali (RETIRED) gentoo-dev 2006-05-30 08:12:10 UTC
You are in stable branch, and this package is widely unstable (this may cause 
issues). Try to upgrade gtkglext to 1.2.0 
( echo "x11-libs/gtkglext" >> /etc/portage/package.keywords  )
and report, please.
Comment 7 Matteo Azzali (RETIRED) gentoo-dev 2006-05-30 08:14:11 UTC
Whops, sorry, the command should be:
echo "x11-libs/gtkglext   ~x86" >> /etc/portage/package.keywords 

(please recheck this as I never used being on unstable branch...).
Comment 8 onip 2006-06-06 04:10:35 UTC
Sorry for the late response, but i'm currently without a stable connection. Now the answer. I had already tried both versions of gtkglext recompiling everything else too (gtkglextmm and sharpconstruct), but I had segfaults all the way.
Comment 9 Alan Jones 2006-06-06 05:02:26 UTC
Same issue here - it did previously work, but something which has upgraded in the meantime means to now segfaults on start. 

Should I output a history of emerges and post everything between the successful emerge of sharpconstruct and now?

Cheers,

Alan.
Comment 10 Alan Jones 2006-06-06 10:07:29 UTC
This can be bumped again to rc3 (or beta3 for the ebuild I guess) by changing the download source to rc3 instead of rc2. Latest ebuild works otherwise exactly as it is on x86.

Cheers,

Alan.
Comment 11 Matteo Azzali (RETIRED) gentoo-dev 2006-06-09 10:55:38 UTC
cause it's OpenGL, and the issue is a segfault but emerges fine, you should tell 
a) which graphic card/drivers are you using.
b) a log of what console tells you (if any) when you launch sharpconstruct from 
console....
c) To Alan: please tell if you're also using stable branch and/or if your system
has something in common with Andrea (check his emerge --info)....
Comment 12 onip 2006-06-10 09:53:17 UTC
onip @ Hal9000 ~ $ eix -Ic nvidia
[I] media-video/nvidia-glx (1.0.8762): NVIDIA X11 driver and GLX libraries
[I] media-video/nvidia-kernel (1.0.8762): Linux kernel module for the NVIDIA X11 driver

onip @ Hal9000 ~ $ sharpconstruct
Segmentation fault

Hal9000 ~ # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

I've also tried switching to xorg-x11 opengl implementation, but I got segfault the same way. (Should I restart X after switching? i didn't...)

Thanks
Comment 13 Alan Jones 2006-06-11 01:12:06 UTC
I went through the process for a gcc upgrade (just with 3.4) to make sure there was nothing with 3.3, but what I think fixed things was changing gtkglextmm - I used the latest ebuild here http://bugs.gentoo.org/show_bug.cgi?id=125077 and sharpconstruct now works. 

Cheers,

Alan.
Comment 14 Matteo Azzali (RETIRED) gentoo-dev 2006-06-11 03:16:09 UTC
Thank you Alan, it's quite difficult to fix a bug when you can't reproduce....

However, I think that who tried this ebuild should actually read 
http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page ,
in particular the 1 Jun new:
it's programmer will port sculpting tools under blender this summer.
Comment 15 onip 2006-06-12 02:31:16 UTC
nope, I was already using that version of gtkglextmm. recompiled everything
today but segfaults again

Comment 16 白川間瀬流 2013-04-28 15:04:53 UTC
Should be closed as OBSOLETE