Operating System - HP-UX
1834570 Members
3828 Online
110069 Solutions
New Discussion

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

 
H. van Niekerk
Frequent Advisor

Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

Hi,

After installing all dependencies and setting SHLIB_PATH right, I get this coredump. I can't find anything related to gimp in other threads. Any help is appreciated.

Thank you.
21 REPLIES 21
Steven E. Protter
Exalted Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

Shalom,

strings core

gdb core

It could be bad code on behalf of gimp

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

How can I find out what kind of core it is? Copy it to some place here?
Alex Glennie
Honored Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

Qu ..... where did you get the GIMP binary from out of interest ?

if part of gnome desktop as in http://docs.hp.com/en/GNOME/support.html it maybe worth installing patches though I see no mention of known errors wrt gimp.

I suggest you post the file core outputs and go from there.
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

This is where I got Gimp from:

http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/gimp-2.6.6/

The core is rw- but this is all I can get out of it:

# cat core | pg
¿pôq"( ¾ö8¿peeucTW EUC-TW
hp15CN GB2312
SJIS?à ¿pö8¿pÆ ]â§šOHö8!= NULL@@(gimp)t_message != NULLui.citor-yresolution@@@"@*@2@:@B@ò@@@@
@º@"ORY_SIZE:
history.c(display)-factorytable.c@D
@@.cizable 8MP (gimp)tenfo-editdientsEditor:
Maskorndows NULLCT (object)current)@Ã @@@@@
@H
*à @@@"@*@2@:@B@J@R@Z@b@j@r@zXî àº:

The rest is really unreadable.
Alex Glennie
Honored Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

Run-time dependencies: Mesa SDL aalib atk audiofile babl bzip2 cairo curl db editline esound expat flex fontconfig freetype gdbm gegl gettext glib2 gtk+2 gutenprint heimdal jasper jpeg lcms libXft libXpm libXrender libart_lgpl libiconv libidn libmng libpng libwmf m4 ncurses openldap openssl pango pcre perl pixman readline termcap tiff zlib

that's a lot ... are you 100 % certain all installed OK ? swlist confirms this ?

how about some meat on the bones ... O/S here is ?

get your admin to run the file core command... the output would help enormously imho.

work-around install gnome gimp worked at version 1.4 ;-)
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>I get this coredump

Any error messages before it aborted? Do you have a stack trace:
$ gdb gimp core
(gdb) bt
(gdb) q

> How can I find out what kind of core it is? Copy it to some place here?

That would be next to useless. You can use "file core" and if you want to transfer the corefile, you must use gdb's packcore.

>The core is ... but this is all I can get out of it:

That's because using strings(1) on a corefile will just confuse you.

>Alex: get your admin to run the file core command... the output would help enormously

Yes, this will help (and a stack trace) but you can do it yourself.
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>$ gdb gimp core

Seems I don't have gdb installed. It's also not on the packages list where I got the rest of the packages or where I got tusc from. So a link would be appreciated.

>>..the file core command... the output would help enormously

$ file core
core: core file from 'gimp-2.6' - received SIGSEGV
Steven E. Protter
Exalted Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

Shalom,

This looks more and more like an application fault in gimp itself.

If you could tell me where you got it, I will install it and test it on my HP-UX systems this Sunday.

Sunday is build a serviceguard cluster day in SEP's insane asylum.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>If you could tell me where you got it, I will install it and test it on my HP-UX systems this Sunday.

This is the place: http://hpux.its.tudelft.nl/hppd/hpux/Gtk/Applications/gimp-2.6.6/

Thank you.
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>Seems I don't have gdb installed. So a link would be appreciated.

You get the latest wdb/gdb from HP:
http://www.hp.com/go/wdb
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>You get the latest wdb/gdb from HP:
http://www.hp.com/go/wdb

Though I've signed in, it seems I can't get it:

------------
You do not have the proper permissions to view this content. Please see the Membership benefits page for more information on DSPP membership.

Manage My DSPP Membership

» Sign out
» Join DSPP
» Contact us
------------

Any suggestions, apart from contacting them?
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>Though I've signed in, it seems I can't get it: » Join DSPP

Beside HP Passport, you have to join DSPP.
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>Beside HP Passport, you have to join DSPP.

Thank you. Did it and installed gdb. Unfortunately it says Gimp has no debugging info.
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>it says gimp has no debugging info.

Hopefully you can still get a stack trace.
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>Hopefully you can still get a stack trace.

How do I get a stack trace? Only found some script on DSPP, but no idea if that's what you mean.
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>How do I get a stack trace?

See my reply above on Jun 30.
ranganath ramachandra
Esteemed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

please do not use or advise "strings core", at least not as a first step in debugging. the first step is to obtain a stack trace as dennis has shown.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>See my reply above on Jun 30.

Ok. Here's the result in attachment.
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>Here's the result in attachment.

Typically aborts in malloc/free are due to heap corruption. There is a bug in gimp.
I suppose if you have the source and want to fix it, you could use gdb's heap corruption commands to track down where the problem is.
H. van Niekerk
Frequent Advisor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

>I suppose if you have the source and want to fix it, you could use gdb's heap corruption commands to track down where the problem is.

I don't have the source or the expert programming knowledge to do that. So I'm stuck with this until someone who can fix it is willing to do so. But as said earlier on, I have Gimp running on Mac and Linux, so it's ok.
Alex Glennie
Honored Contributor

Re: Memory fault(coredump) after starting Gimp on UX 11.11i (PA-RISC)

been away for 2 weeks .... as this is 11.11 you could use an older packaged version of gimp which comes as part of the gnome desktop enviroment .... draw back is it's bound to be old.

see http://docs.hp.com/en/GNOME/downloads.html