473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

could not find block containing chunk 0x8483530

select *, lower(name) from student;
gives error: could not find block containing chunk 0x8483530

what does this error mean & what may be the cause?
template1=# \d student
Table "public.student"
Column | Type | Modifiers
--------+---------+-----------
name | devchar |
age | integer |

Regards
Vinay

--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #1
3 2214
Vinay Jain <vi*******@gmail.com> writes:
select *, lower(name) from student;
gives error: could not find block containing chunk 0x8483530
That's some sort of memory manipulation bug --- pfree'ing a wrong
pointer, likely.
template1=# \d student
Table "public.student"
Column | Type | Modifiers
--------+---------+-----------
name | devchar |
age | integer |


Given that a custom datatype is involved, I'd suspect the C code
for the custom type.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #2
On Tue, 17 Aug 2004 09:59:40 +0530, Vinay Jain <vi*******@gmail.com> wrote:
On Mon, 16 Aug 2004 10:39:18 -0400, Tom Lane <tg*@sss.pgh.pa.us> wrote:
Vinay Jain <vi*******@gmail.com> writes:
select *, lower(name) from student;
gives error: could not find block containing chunk 0x8483530


That's some sort of memory manipulation bug --- pfree'ing a wrong
pointer, likely.


I am not using pfree in C code. but I am using palloc for memory allocation.

All other queries like: select * from student order by lower(name);
gives appropriate result.

template1=# \d student
Table "public.student"
Column | Type | Modifiers
--------+---------+-----------
name | devchar |
age | integer |


Given that a custom datatype is involved, I'd suspect the C code
for the custom type.

regards, tom lane

--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai

--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3
On Tue, Aug 17, 2004 at 10:00:16AM +0530, Vinay Jain wrote:
On Tue, 17 Aug 2004 09:59:40 +0530, Vinay Jain <vi*******@gmail.com> wrote:
On Mon, 16 Aug 2004 10:39:18 -0400, Tom Lane <tg*@sss.pgh.pa.us> wrote:
Vinay Jain <vi*******@gmail.com> writes:
> select *, lower(name) from student;
> gives error: could not find block containing chunk 0x8483530

That's some sort of memory manipulation bug --- pfree'ing a wrong
pointer, likely.

I am not using pfree in C code. but I am using palloc for memory allocation.

All other queries like: select * from student order by lower(name);
gives appropriate result.


Maybe you are palloc'ing in the wrong memory context. Make sure you
understand how memory contexts are used and thier longevity.

If you want anything more specific, you should post your code.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Vivir y dejar de vivir son soluciones imaginarias.
La existencia está en otra parte" (Andre Breton)
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: rbt | last post by:
Here's the scenario: You have many hundred gigabytes of data... possible even a terabyte or two. Within this data, you have private, sensitive information (US social security numbers) about your...
9
by: Luke McCarthy | last post by:
Hi, I'm trying to accomplish what I (perhaps naively) assumed would be a relatively easy task. I am trying to center a box in the middle of the display. That's all. Something like this here:...
6
by: Sandman | last post by:
I'm having some problem here... I have a javascript I've downloaded that goes through all PNG files and enables the transparency channel in them for IE5.5+ by converting them to SPAN layers with...
14
by: Greg Copeland | last post by:
I am running python on VxWorks. In the course of operation, a vxworks tasks writes to a reserved area of memory. I need access to this chunk of memory from within python. Initially I thought I...
26
by: Bill Norton | last post by:
If you wrap one division around another like this: <div id="wrapper"> <div id="child">...</div> </div> ....the wrapper division will be considered the containing block of the child division...
6
by: dave8421 | last post by:
Hi, I'm a bit confused about the definition about "Prinicpal Block Boxes" in CSS 2.1 draft specification. ( http://www.w3.org/TR/2006/WD-CSS21-20061106 ) <pre> 9.2.1 Block-level elements and...
35
by: Arnaud Delobelle | last post by:
Hi all, Imagine I have three functions a(x), b(x), c(x) that each return something or raise an exception. Imagine I want to define a function that returns a(x) if possible, otherwise b(x),...
2
by: Jukka K. Korpela | last post by:
Sub titulo "Re: DIV borders different in IE7 when in td" scripsit Ben C: This seems to be the heart of the matter, and I'm trying to get a real discussion started, by moving the discussion to...
0
by: varnie | last post by:
hell-o !~ i faced weird problem during usage boost::pool_allocator. after i've changed: typedef boost::shared_ptr< param > ParamPtr; typedef std::vector< ParamPtr > ParamPtrVector; with:
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.