Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query

2003-12-04 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

(sorry for the ultra late response)

On Wed, 26 Nov 2003, Jean-Michel POURE wrote:

> Fantastic, we are getting close to explaining the prolem. To my knowledge, 
> there is no difference in the RPM spec. Devrim, do you have any idea?

Yep, I'm using the same spec file -- but using the newest wxwindows 
packages. Also, I'm using PostgreSQL 7.4 now.

The problems continue (using yesterday's snapshot):

 * I get a segfault while trying to add a new user
 * I get "Trace/breakpoint trap" error when I first click "Help/PostgreSQL 
Help" and then perform fast clicks on help page :)

Regards,
- -- 
Devrim GUNDUZ
[EMAIL PROTECTED]   [EMAIL PROTECTED] 
http://www.TDMSoft.com
http://www.gunduz.org

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/zz2Itl86P3SPfQ4RAsgDAKDAM47rQJqfWdUldW+/yJD6bcQkVwCgsEOR
oL/OjZQcWU2Zzl1qFJOxeAo=
=PceM
-END PGP SIGNATURE-


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query

2003-12-04 Thread Andreas Pflug


Devrim,
AFAICS the problems you reported isn't related to SSL connections, so 
please use other dedicated threads for this.

Devrim GUNDUZ wrote:

Yep, I'm using the same spec file -- but using the newest wxwindows 
packages. Also, I'm using PostgreSQL 7.4 now.

The problems continue (using yesterday's snapshot):

* I get a segfault while trying to add a new user
 

Please provide some backtrace information; I still can't reproduce this.

* I get "Trace/breakpoint trap" error when I first click "Help/PostgreSQL 
Help" and then perform fast clicks on help page :)
 

Known, very unfortunate thing, and yet another non-SSL related bug.
On my machine, this isn't traceable, because my desktop freezes when I 
encounter the problem while running under debugger's control (already 
upgradest to latest gdb).

Regards,
Andreas


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


[pgadmin-hackers] Help/PostgreSQL crash

2003-12-04 Thread blacknoz
Hi Andreas,


Message d'origine
>Date: Thu, 04 Dec 2003 15:17:03 +0100
>De: Andreas Pflug <[EMAIL PROTECTED]>
>A: Devrim GUNDUZ <[EMAIL PROTECTED]>
>Copie à: Jean-Michel POURE <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
>Sujet: Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query
>
>
>
>> * I get "Trace/breakpoint trap" error when I first click "Help/PostgreSQL 
>>Help" and then perform fast clicks on help page :)
>>  
>>
>Known, very unfortunate thing, and yet another non-SSL related bug.
>On my machine, this isn't traceable, because my desktop freezes when I 
>encounter the problem while running under debugger's control (already 
>upgradest to latest gdb).
>

Just a suggestion, I was able to generate a bt for this by launching gdb in a 
standalone text console (ctrl-alt-f1) with export DISPLAY to my Xserver and then came 
back to X with the shortcut you all know(ctrl-alt-f7 for display 0)... By doing this, 
the desktop freezes but gdb is still usable in the text console... may be you could 
try to trace this way although this is not a real confortable situation...

Regards,
Raphaël aka *!donkey_INTERNAL*


---(end of broadcast)---
TIP 8: explain analyze is your friend


[pgadmin-hackers] valuntil of pg_user

2003-12-04 Thread Hiroshi Saito
Hi Dave.

Valuntil of pg_user emits ASSERT_MSG when try it in the debug mode.
And, Must partly treat qtString with it.

Please apply it.

regards,
Hiroshi Saito

valuntil_patch
Description: Binary data

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


[pgadmin-hackers] pgadmin3 crashes on FC1 - Again

2003-12-04 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

On Thu, 4 Dec 2003, Andreas Pflug wrote:

> AFAICS the problems you reported isn't related to SSL connections, so 
> please use other dedicated threads for this.

Sorry.
 
> >The problems continue (using yesterday's snapshot):
> >
> > * I get a segfault while trying to add a new user
> 
> Please provide some backtrace information; I still can't reproduce this.

 Begin here=
read(5, "\34\27NH\1\t \2#\0\0\0\262+\243\1\1\27\336\t\1\0\0\000"..., 32) = 
32
read(5, "\34\27NH\1\t \2(\0\0\0\262+\243\1\1\27\336\t\1\0\0\000"..., 32) = 
32
read(5, "\34\27NH\1\t \2\335\0\0\0\262+\243\1\1\27\336\t\1\0\0\000"..., 
32) = 32
read(5, "\1\2OH\0\0\0\0 \2 \2\0\0\0\0\0\0\0\0\32\0\0\0\360\17\237"..., 32) 
= 32
stat64("/usr/share/pgadmin3/ui/common/dlgIndexConstraint.xrc", 
{st_mode=S_IFREG|0644, st_size=3036, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgIndexConstraint.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgIndexConstraint.xrc", 
{st_mode=S_IFREG|0644, st_size=3036, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgAggregate.xrc", 
{st_mode=S_IFREG|0644, st_size=3804, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgAggregate.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgAggregate.xrc", 
{st_mode=S_IFREG|0644, st_size=3804, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgCast.xrc", {st_mode=S_IFREG|0644, 
st_size=3152, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgCast.xrc", O_RDONLY|O_LARGEFILE) = 
7
stat64("/usr/share/pgadmin3/ui/common/dlgCast.xrc", {st_mode=S_IFREG|0644, 
st_size=3152, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgCheck.xrc", 
{st_mode=S_IFREG|0644, st_size=2442, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgCheck.xrc", O_RDONLY|O_LARGEFILE) = 
7
stat64("/usr/share/pgadmin3/ui/common/dlgCheck.xrc", 
{st_mode=S_IFREG|0644, st_size=2442, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgColumn.xrc", 
{st_mode=S_IFREG|0644, st_size=3312, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgColumn.xrc", O_RDONLY|O_LARGEFILE) 
= 7
stat64("/usr/share/pgadmin3/ui/common/dlgColumn.xrc", 
{st_mode=S_IFREG|0644, st_size=3312, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgConversion.xrc", 
{st_mode=S_IFREG|0644, st_size=3424, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgConversion.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgConversion.xrc", 
{st_mode=S_IFREG|0644, st_size=3424, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgDatabase.xrc", 
{st_mode=S_IFREG|0644, st_size=4720, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgDatabase.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgDatabase.xrc", 
{st_mode=S_IFREG|0644, st_size=4720, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgDomain.xrc", 
{st_mode=S_IFREG|0644, st_size=3909, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgDomain.xrc", O_RDONLY|O_LARGEFILE) 
= 7
stat64("/usr/share/pgadmin3/ui/common/dlgDomain.xrc", 
{st_mode=S_IFREG|0644, st_size=3909, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgForeignKey.xrc", 
{st_mode=S_IFREG|0644, st_size=5465, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgForeignKey.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgForeignKey.xrc", 
{st_mode=S_IFREG|0644, st_size=5465, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgFunction.xrc", 
{st_mode=S_IFREG|0644, st_size=12058, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgFunction.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/ui/common/dlgFunction.xrc", 
{st_mode=S_IFREG|0644, st_size=12058, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgGroup.xrc", 
{st_mode=S_IFREG|0644, st_size=2642, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgGroup.xrc", O_RDONLY|O_LARGEFILE) = 
7
stat64("/usr/share/pgadmin3/ui/common/dlgGroup.xrc", 
{st_mode=S_IFREG|0644, st_size=2642, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/dlgIndex.xrc", 
{st_mode=S_IFREG|0644, st_size=3384, ...}) = 0
open("/usr/share/pgadmin3/ui/common/dlgIndex.xrc", O_RDONLY|O_LARGEFILE) = 
7
stat64("/usr/share/pgadmin3/ui/common/dlgIndex.xrc", 
{st_mode=S_IFREG|0644, st_size=3384, ...}) = 0
close(7)= 0
stat64("/usr/share/pgadmin3/ui/common/frmAddTableView.xrc", 
{st_mode=S_IFREG|0644, st_size=1707, ...}) = 0
open("/usr/share/pgadmin3/ui/common/frmAddTableView.xrc", 
O_RDONLY|O_LARGEFILE) = 7
stat64("/usr/share/pgadmin3/

Re: [pgadmin-hackers] Help/PostgreSQL crash

2003-12-04 Thread Andreas Pflug
[EMAIL PROTECTED] wrote:

Hi Andreas,

Message d'origine
 

Date: Thu, 04 Dec 2003 15:17:03 +0100
De: Andreas Pflug <[EMAIL PROTECTED]>
A: Devrim GUNDUZ <[EMAIL PROTECTED]>
Copie à: Jean-Michel POURE <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
Sujet: Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query


   

* I get "Trace/breakpoint trap" error when I first click "Help/PostgreSQL 
Help" and then perform fast clicks on help page :)

 

Known, very unfortunate thing, and yet another non-SSL related bug.
On my machine, this isn't traceable, because my desktop freezes when I 
encounter the problem while running under debugger's control (already 
upgradest to latest gdb).

   

Just a suggestion, I was able to generate a bt for this by launching gdb in a standalone text console (ctrl-alt-f1) with export DISPLAY to my Xserver and then came back to X with the shortcut you all know(ctrl-alt-f7 for display 0)... By doing this, the desktop freezes but gdb is still usable in the text console... may be you could try to trace this way although this is not a real confortable situation...
 

Good suggestion!

I was able to locate the problem. I couldn't fix it ultimately, but the 
attached patch, which should be added to our snapshot, is a workaround 
(posted to wx patches as 854137). For unkown reasons, while selecting an 
invalid color is returned, and setting that invalid color will result in 
a wxASSERT. Unfortunately, this happens while rendering, ultimately 
freezing the desktop while debugging.

Regards,
Raphaël aka *!donkey_INTERNAL*
 

Eeh Aaaah!

Regards,
Andrreas
Index: htmlcell.cpp
===
RCS file: /pack/cvsroots/wxwindows/wxWindows/src/html/htmlcell.cpp,v
retrieving revision 1.80
diff -c -r1.80 htmlcell.cpp
*** htmlcell.cpp2003/09/18 22:44:16 1.80
--- htmlcell.cpp2003/12/04 16:22:39
***
*** 366,372 
  dc.SetBackgroundMode(wxTRANSPARENT);
  dc.SetTextForeground(fg);
  dc.SetTextBackground(bg);
! dc.SetBackground(wxBrush(bg, wxSOLID));
  }
  }
  
--- 366,373 
  dc.SetBackgroundMode(wxTRANSPARENT);
  dc.SetTextForeground(fg);
  dc.SetTextBackground(bg);
!   if (bg.Ok())
!   dc.SetBackground(wxBrush(bg, wxSOLID));
  }
  }
  

---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [pgadmin-hackers] valuntil of pg_user

2003-12-04 Thread Dave Page
Hi Hiroshi,

Unfortunately this patch does not compile under Windows:

Compiling...
pgSet.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\db\pgSet.cpp(205) : error C2668:
'wxDateTime::wxDateTime' : ambiguous call to overloaded function
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\db\pgSet.cpp(205) : error C2553: no legal
conversion of return value to return type 'class wxDateTime *'
misc.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\misc.cpp(225) : error C2668:
'wxDateTime::wxDateTime' : ambiguous call to overloaded function
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\misc.cpp(225) : error C2553: no legal
conversion of return value to return type 'class wxDateTime *'
Generating Code...
Error executing cl.exe.
Creating browse info file...

pgAdmin3.exe - 4 error(s), 0 warning(s)


Patch NOT applied.

Regards, Dave 

> -Original Message-
> From: Hiroshi Saito [mailto:[EMAIL PROTECTED] 
> Sent: 04 December 2003 15:35
> To: Dave Page
> Cc: [EMAIL PROTECTED]
> Subject: valuntil of pg_user
> 
> Hi Dave.
> 
> Valuntil of pg_user emits ASSERT_MSG when try it in the debug mode.
> And, Must partly treat qtString with it.
> 
> Please apply it.
> 
> regards,
> Hiroshi Saito
> 

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] valuntil of pg_user

2003-12-04 Thread Hiroshi Saito
Ah...sorry
Windows was severe.:-(

Again patch is this.
It is initialized by the unused.

regards,
Hiroshi Saito

- Original Message - 
From: "Dave Page" <[EMAIL PROTECTED]>


> Hi Hiroshi,
> 
> Unfortunately this patch does not compile under Windows:


valuntil_patch_r
Description: Binary data

---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org