Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gimp 2.0 - nie uruchamia się..
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Mon May 03, 2004 11:51 am    Post subject: gimp 2.0 - nie uruchamia się.. Reply with quote

Hejka.. nagle gimp przestał się uruchamiać.. nie wiem czemu..
Uruchamiam, pokazuje się splash, ładuje moduły i na końcu ładowanie tych extensions "script-fu" czy coś - wywala się.

Już mówię co i jak:

Code:
zytek@kanapa zytek $ gimp-2.0

(script-fu:20943): LibGimpBase-WARNING **: script-fu: wire_read(): error
Naruszenie ochrony pamięci
zytek@kanapa zytek $


końcówka z strace:

Code:
write(3, "\1\0\n\0\343\n\0\3\245\n\0\3\4\0\370\0\220\0\24\0\0\0\2"..., 2020) = 2020
open("/home/zytek/.cursors/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xfree/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xfree/default/index.theme", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=27, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40c82000
read(5, "[Icon Theme]\nInherits=core\n", 4096) = 27
close(5)                                = 0
munmap(0x40c82000, 4096)                = 0
open("/usr/share/pixmaps/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.cursors/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/zytek/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xfree/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xfree/default/index.theme", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=27, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40c82000
read(5, "[Icon Theme]\nInherits=core\n", 4096) = 27
close(5)                                = 0
munmap(0x40c82000, 4096)                = 0
open("/usr/share/pixmaps/xfree/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

(script-fu:28012): LibGimpBase-WARNING **: script-fu: wire_read(): error
+++ killed by SIGSEGV +++


Moje flagi:

Code:

zytek@kanapa zytek $ sudo emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Unknown CPU Typ
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -s -ffast-math -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -m3dnow -mmmx -s -ffast-math -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gtk2 imlib java jpeg kadu-modules kadu-voice kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl tcpd tiff truetype x86 xface xml2 xmms xv zlib"


Przy zmianie -O3 na -O2 i re-emerge to samo.
Nie mam pomysłów.. wywalenie ~/gimp-2.0 nie pomaga, po przejściu przez konfigurator też się wywala.

Any ideas? Myślę, że to jest zależne od czegoś innego w systemie, bo wczesniej gimp działał.

Jedyne co to jądro zmieniałem ostatnio z 2.6.5-mm6 na waniliowe 2.6.5..
Back to top
View user's profile Send private message
OBenY
Guru
Guru


Joined: 15 Feb 2004
Posts: 552
Location: Poland -> Wroclaw

PostPosted: Mon May 03, 2004 2:02 pm    Post subject: Reply with quote

Wywal z flag kompilatora -DG_DISABLE_CAST_CHECKS oraz -DG_DISABLE_CHECKS, Gimp jest jedyna aplikacja jaka sie spotkalem, ktorej te definicje szkodza ...
_________________
Linux registered user: #205241
KDE registered user: #1919
http://obeny.obeny.net
Back to top
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Mon May 03, 2004 4:20 pm    Post subject: Reply with quote

ok już emerguję, dam znać jaki efekt.

edit: działa, wielkie dzięki
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum