free(): invalid pointer on import pytave
Bug #639687 reported by
David Grundberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pytave |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello David,
Sorry to bother you, but something awkward happens when I try :
"import pytave "
in Python:
I always get:
free(): invalid pointer: 0xb72e1930
and I never had problems with Octave (3.2.4) or Python (2.6.5 (r265:79063, Jul 5 2010)), gcc 4.5 on OpenSuse 11.3
And the pytave installation went well.
I welcome any help,
(name removed)
To post a comment you must log in.
I need more information. Which revision of Pytave are you running?
The pointer will change between runs because of a feature in the kernel, so the address by itself is useless. I'll need you to make a backtrace, that way I'll be able to help you.
Please run python through gdb. Install the debugging symbols for Python first (there's usually a separate package for that, I don't know the details of Suse).
1. gdb `which python`
2. run
3. import pytave
4. With some luck you get a segfault (you do get a segfault/abort right?). Gdb will then prompt.
5. Write bt full for a backtrace. That listing is most useful in finding the error.
Also make sure that you are running pytave in the same python interpreter that it were linked against.