Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Hackers > Re: frmEditGrid...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 4499 of 4873
Post > Topic >>

Re: frmEditGrid Crash testcase

by dpage@[EMAIL PROTECTED] ("Dave Page") Apr 29, 2008 at 09:07 AM

On Mon, Apr 28, 2008 at 12:43 AM, Robins Tharakan <tharakan@[EMAIL PROTECTED]
>
wrote:
> Hi,
>
> When we right click on the last row of a grid with very few rows (about
> 10-20), the application crashes to a halt with 'segmentation fault'.
>
> I am unable to find a good solution, but of what I understand,
> thread->IsRunning() fails when the thread is not actually running.
Oddly,
> this happens only for small tables and not for those containing greater
than
> ... say 50-100 rows.
>
> I tried the condition (thread & thread->IsRunning) and that fails too.
Also
> (thread->IsAlive()) meets with the same fate. How can we check whether
the
> thread is actually executing something or not, without actually causing
a
> segfault for such cases ?
>
> If we remove this check altogether,  this problem obviously gets
resolved,
> but of course, pgAdmin would then certainly crash if the user requests
two
> table refreshes back-to-back in quick succession.
>
> Could anyone hint at what is the possible cause / solution to this issue
?
> I am using v7237 (1.9 branch).

Hi Robins,

There are some nasty hacks in the debugger code to work around what
I've only been able to pin down as 'issues' in the wxWidgets threading
code. I wouldn't be at all surprised if you're seeing something
similar here - unfortunately I think the only thing you can do is get
far more familiar with GDB than anyone should ever have to :-(


-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
 




 2 Posts in Topic:
frmEditGrid Crash testcase
tharakan@[EMAIL PROTECTED  2008-04-28 05:13:22 
Re: frmEditGrid Crash testcase
dpage@[EMAIL PROTECTED]   2008-04-29 09:07:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:47:02 CST 2008.