Re: Debug works, Release not

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Debug works, Release not
Date: 2011-01-05 11:14:13
Message-ID: AANLkTikObkHTHZLZEz0ZYc7hjXU0ZWPd1Yk-cOu-A5yb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Jan 5, 2011 at 11:09 AM, Jasmin Dizdarevic
<jasmin(dot)dizdarevic(at)gmail(dot)com> wrote:
> Hi,
> have you ever had the problem, that a Debug build works on windows and the
> Release does not?
> The problem is an access violation during appending items to a combobox.
> I tried to disable optimization, without success.
> It's difficult to provide a patch now, because the changes are not small.
> Here is the problem line. I've also tried to remove
> "if(connection->pgAgentMinimumVersion(4))".
> I've included the upper section (pga_jobclass) to demonstrate the similarity
> of the code - this works well!
> I've added the cbEmailNotType-Combobox to the xrc file and also a pointer to
> it. Have I forgotten something important, that is required for
> a successful release?

I don't see any obvious issues, but have you tried a complete clean
and rebuild? That can solve a host of weird problems...

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jasmin Dizdarevic 2011-01-05 11:23:07 Re: Debug works, Release not
Previous Message Jasmin Dizdarevic 2011-01-05 11:09:08 Debug works, Release not