comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: QtSql problem
Date: Fri, 6 Feb 2009 14:51:12 -0800 (PST)
Date: 2009-02-06T14:51:12-08:00	[thread overview]
Message-ID: <d5267656-9283-43fd-b4ec-2fedf965633f@s20g2000yqh.googlegroups.com> (raw)
In-Reply-To: d33fbebe-a411-4354-99fe-8e95889a2c9a@p2g2000prn.googlegroups.com

On Feb 6, 6:21 pm, tworos...@gmail.com wrote:
> I should have mentioned in my first post that if I comment out the
> line 'Filename := Query.Value(0).To_String;' I don't get the error.

Googling for 'EXCEPTION_ACCESS_VIOLATION comp.lang.ada' on Google
shows this is usually puzzling and possibly stack-overflow-related.

I think you need to rebuild the whole with -g (for example, gnatmake -
f -g ...) to get more info about what's happening inside your main
program.

You might be able to use addr2line -- for example,

  $ addr2line -e my_program 0x2ed1dc5 0x77cc3097 0x77cc3069 0x77cc2efd
0x61f0129e

However, (esp considering that you don't get the problem if you
comment out that line, and that the traceback isn't very deep) it
looks as though the exception is happening at the assignment rather
than within the call.

What sort of thing is 'Filename'?



  parent reply	other threads:[~2009-02-06 22:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06  4:43 QtSql problem tworoses1
2009-02-06  8:27 ` Vadim Godunko
2009-02-06  8:31   ` Gautier
2009-02-06 18:21     ` tworoses1
2009-02-06 19:56       ` Gautier
2009-02-06 20:44         ` tworoses1
2009-02-06 22:51       ` sjw [this message]
2009-02-08  0:09         ` tworoses1
2009-02-09 14:04           ` Vadim Godunko
2009-02-09 15:55             ` Ivan Levashew
2009-02-10 10:32               ` Vadim Godunko
2009-02-13  4:21                 ` tworoses1
2009-02-07 21:17     ` Georg Bauhaus
2009-02-10  3:09       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox