Bobspadger / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Invalid Pointer Error #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. from django.test.client import Client #Yes, I know, this isn't pyodbc.
2. c = Client()
3. response = c.post(logindir, loginvars)
4. response = c.get(getpage)

What is the expected output? What do you see instead?

I expect nothing to crash, although I'm not sure what the output would be if it 
didn't.  See the attached file for the actual output, which is a glibc 
stacktrace from the crash.

What version of the product are you using? On what operating system?

pyodbc-2.1.7 on Ubuntu 9.04

Please provide any additional information below.

As the only things in the stacktrace are the python interpreter itself, my tls 
library, and pyodbc, pyodbc seems like the most likely culprit, but I'm not 
certain how to verify that it is.

Original issue reported on code.google.com by rickwein...@gmail.com on 30 Aug 2010 at 5:05

Attachments:

GoogleCodeExporter commented 9 years ago
The invalid pointer error is at the top of the stacktrace, sorry for not making 
that clear.

Original comment by rickwein...@gmail.com on 30 Aug 2010 at 5:06

GoogleCodeExporter commented 9 years ago
If possible, can you test this with the v2unicode branch?

Most of the Linux & OS/X issues were due to incorrect handling of UCS4 which 
I've corrected on that branch.  As soon as I'm sure it has been tested enough, 
it will become 2.1.8.

Original comment by mkleehammer on 5 Sep 2010 at 6:16

GoogleCodeExporter commented 9 years ago
Excellent!  I just downloaded 2.1.8 and tried it out, and it's definitely no 
longer crashing.  Thanks!

Original comment by rickwein...@gmail.com on 7 Sep 2010 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 7 Sep 2010 at 2:06

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 21 Nov 2010 at 4:44