After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110227 - GIMP segfaults on startup
GIMP segfaults on startup
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
1.x
Other HP-UX
: Normal blocker
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2003-04-08 00:15 UTC by Matias (Nauta) Vidal
Modified: 2003-04-16 08:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Matias (Nauta) Vidal 2003-04-08 00:15:55 UTC
$ gimp-1.3
gimp-1.3: fatal error: Segmentation fault
gimp-1.3 (pid:10977): [E]xit, [H]alt, show [S]tack trace or [P]roceed: h
(script-fu:11130): LibGimpBase-WARNING **: script-fu: wire_read(): error


# gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/specs
Configured with: ./configure  : (reconfigured) ./configure  :
(reconfigured) ./configure  : (reconfigured) ./configure  : (reconfigured)
./configure  : (reconfigured) ./configure  : (reconfigured) ./configure  :
(reconfigured) ./configure  : (reconfigured) ./configure  : (reconfigured)
./configure  : (reconfigured) ./configure 
Thread model: posix
gcc version 3.2

CFLAGS= -O2 -g -pipe -mschedule=8000 -mpa-risc-2-0 -I/usr/local/include
-I/opt/gnome/include -L/usr/local/lib -L/opt/gnome/lib

What other data you need????
Comment 1 Sven Neumann 2003-04-08 09:01:51 UTC
This doesn't look like Script-Fu crashing, but GIMP crashing. First of
all, you should update to a more recent version. Then, please provide
a stack trace of the crash.
Comment 2 Sven Neumann 2003-04-11 07:49:28 UTC
It would be nice if you could let us know if you had more luck with
1.3.13.
Comment 3 Matias (Nauta) Vidal 2003-04-11 11:05:07 UTC
Gimp 1.3.13 behaves the same way, no luck.
I don't know how to get a stack trace, I could not use the option 
[S], nothing is displayed and I have to kill -9 the process. Perhaps 
you can tell me another way.

Thx

PS: the gcc I'm using compiles only to 32bits executables
 
Comment 4 Raphaël Quinet 2003-04-11 11:18:16 UTC
If you want to get a stack trace, you should have gdb installed.  Are
you sure that the debugger is installed and is in your path?  You
should also start the GIMP with the option "--enable-stack-trace always"
so that it generates the stack trace immediately instead of asking you
if you want one or not.
Comment 5 Raphaël Quinet 2003-04-11 11:24:30 UTC
Now that I think about it, you could also generate the stack trace
yourself without waiting for the GIMP to call gdb.  If the GIMP is
still running (you mentioned that you have to kill it yourself), you
can check its process id and then run gdb like this:
  gdb /path/to/gimp <pid>   (where <pid> is the process id of the GIMP)
When you get the gdb prompt, type "bt" or "where" to get the stack
trace.
Comment 6 Sven Neumann 2003-04-11 11:30:26 UTC
Even simpler: run gimp in a debugger. If you use gdb, start gimp using
'gdb gimp-1.3'. At the gdb prompt, type r (for 'run'). When it
crashes, type 'bt' (for 'backtrace') and paste the output here.
Comment 7 Matias (Nauta) Vidal 2003-04-11 11:50:03 UTC
Thx, I will do that tomorrow.
Comment 8 Matias (Nauta) Vidal 2003-04-15 17:10:24 UTC
Well, I found a report on a bug in HP-UX linker, patched and now I can
start gimp!!!
But hen I run a scriptFu I get the same error, but with a font config
warning, any Ideas???

matias@trutien:~$ /opt/garnome/bin/gimp-1.3 

(gimp-1.3:20078): Gtk-WARNING **: Can not open Input Method module
file '/opt/garnome/etc/gtk-2.0/gtk.immodules': No such file or directory

(script-fu:20081): Gtk-WARNING **: Can not open Input Method module
file '/opt/garnome/etc/gtk-2.0/gtk.immodules': No such file or directory
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

(script-fu:20081): LibGimpBase-WARNING **: script-fu: wire_read(): error
Comment 9 Sven Neumann 2003-04-15 18:06:27 UTC
fontconfig should have installed a default fonts.conf (usually found
at /etc/fonts/fonts.conf). Please make sure that a valid font
configuration  is available.
Comment 10 Matias (Nauta) Vidal 2003-04-16 02:28:06 UTC
Fixed the fontconfig issue all I can use scriptFu!!!!
The sphere test does not work, but It not seems important
Thx
Comment 11 Sven Neumann 2003-04-16 08:52:09 UTC
Since the primary problem seems to have been caused by a linker bug,
I'm closing this report as NOTGNOME.