Thread: Re: [pgadmin-support] Segmentation fault in GUI

Re: [pgadmin-support] Segmentation fault in GUI

From
"Dave Page"
Date:

> -----Original Message-----
> From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
> Sent: 08 May 2006 17:10
> To: Dave Page
> Cc: PgAdmin Hackers; andrew@pillette.com;
> pgadmin-support@postgresql.org; Andreas Pflug
> Subject: Re: [pgadmin-support] Segmentation fault in GUI
>
> Mmmh got a window saying that "it can't initialize the help system".
>
> I'll do further testing and file a bug report to Ron. Any
> suggestion to investigate further?

Not offhand.

Regards, Dave.

Re: [pgadmin-support] Segmentation fault in GUI

From
Raphaël Enrici
Date:
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
>>Sent: 08 May 2006 17:10
>>To: Dave Page
>>Cc: PgAdmin Hackers; andrew@pillette.com;
>>pgadmin-support@postgresql.org; Andreas Pflug
>>Subject: Re: [pgadmin-support] Segmentation fault in GUI
>>
>>Mmmh got a window saying that "it can't initialize the help system".
>>
>>I'll do further testing and file a bug report to Ron. Any
>>suggestion to investigate further?
>
>
> Not offhand.
>

Ok, I've contacted Ron. I'll tell you.

Raph.

Re: [pgadmin-support] Segmentation fault in GUI

From
Raphaël Enrici
Date:
Raphaël Enrici wrote:
> Dave Page wrote:
>
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
>>>Sent: 08 May 2006 17:10
>>>To: Dave Page
>>>Cc: PgAdmin Hackers; andrew@pillette.com;
>>>pgadmin-support@postgresql.org; Andreas Pflug
>>>Subject: Re: [pgadmin-support] Segmentation fault in GUI
>>>
>>>Mmmh got a window saying that "it can't initialize the help system".
>>>
>>>I'll do further testing and file a bug report to Ron. Any
>>>suggestion to investigate further?
>>
>>
>>Not offhand.
>>
>
> Ok, I've contacted Ron. I'll tell you.


Finally, I just rebuilt my packages with the up to date wxWidgets
packages and it does not crash anymore. Any good reasons why I should
rebuild the app? I mean, that the wxWidgets libraries did not change
their internal version number... So, something built with wxWidgets
2.6.1.2 should work with wxWidgets 2.6.3.2.1 without a rebuild?

Please note, that I can read warnings like these in the terminal from
where I launched pgAdmin III:

(pgadmin3:17340): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed

(pgadmin3:17340): Gtk-CRITICAL **: gtk_pixmap_set: assertion
`gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pix
map)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

@Andrew: could you please try to rebuild the app on your system to see
if it helps?

Regards,
Raph.

Re: [pgadmin-support] Segmentation fault in GUI

From
Raphaël Enrici
Date:
Andrew Lazarus wrote:
> I'm sorry, I've never built pgadmin from source, only installed the rpm.
>   I uninstalled the wxGTK rpm and I tried to build wxGTK from source and
> slam the output libraries into /usr/lib, and I can do that, but what
> something is missing or won't link with pgadmin.
>
> Would you like me to go through the docs and try a pgadmin build?

If you have a minute or so, maybe you can try to rebuild the RPMs from
Source RPM?
They are available on our mirrors in the srpm directory.
(http://www.postgresql.org/ftp/pgadmin3/release/v1.4.2/fedora-core-4/srpm/)

It should be relatively straight, something like:
(as root)
rpm -i pgadmin3-1.4.2-1.src.rpm
cd /usr/src/redhat(<-or something else, I don't have FC here)/
rpm -ba ./SPECS/pgadmin3.spec


> For the record, most recently I used this wxGTK although I tried others:
>
> http://rpmfind.net/linux/RPM/fedora/extras/4/i386/wxGTK-2.6.3-2.6.3.2.1.fc4.i386.html

Ok, so we are using similar version number.

Thanks for your time.
Raphaël


Re: [pgadmin-support] Segmentation fault in GUI

From
Andrew Lazarus
Date:
I'm sorry, I've never built pgadmin from source, only installed the rpm.
  I uninstalled the wxGTK rpm and I tried to build wxGTK from source and
slam the output libraries into /usr/lib, and I can do that, but what
something is missing or won't link with pgadmin.

Would you like me to go through the docs and try a pgadmin build?

For the record, most recently I used this wxGTK although I tried others:

http://rpmfind.net/linux/RPM/fedora/extras/4/i386/wxGTK-2.6.3-2.6.3.2.1.fc4.i386.html

> @Andrew: could you please try to rebuild the app on your system to see
> if it helps?
>
> Regards,
> Raph.
>


Attachment

Re: [pgadmin-support] Segmentation fault in GUI

From
Andrew Lazarus
Date:
I can try to find some time for this (I am the only programmer in this
company!), but it's become a lower priority because I got pgadmin up and
running by using an earlier rpm of wxGTK--
ftp://rpmfind.net/linux/fedora/extras/5/i386/wxGTK-2.6.2-5.fc5.i386.rpm

Thanks for your help.

Raphaël Enrici wrote:
> Andrew Lazarus wrote:
>> I'm sorry, I've never built pgadmin from source, only installed the
>> rpm.   I uninstalled the wxGTK rpm and I tried to build wxGTK from
>> source and slam the output libraries into /usr/lib, and I can do that,
>> but what something is missing or won't link with pgadmin.
>>
>> Would you like me to go through the docs and try a pgadmin build?
>
> If you have a minute or so, maybe you can try to rebuild the RPMs from
> Source RPM?
> They are available on our mirrors in the srpm directory.
> (http://www.postgresql.org/ftp/pgadmin3/release/v1.4.2/fedora-core-4/srpm/)
>
> It should be relatively straight, something like:
> (as root)
> rpm -i pgadmin3-1.4.2-1.src.rpm
> cd /usr/src/redhat(<-or something else, I don't have FC here)/
> rpm -ba ./SPECS/pgadmin3.spec
>
>
>> For the record, most recently I used this wxGTK although I tried others:
>>
>> http://rpmfind.net/linux/RPM/fedora/extras/4/i386/wxGTK-2.6.3-2.6.3.2.1.fc4.i386.html
>>
>
> Ok, so we are using similar version number.
>
> Thanks for your time.
> Raphaël
>
>


Attachment