Thursday, August 28, 2008

Stream seek error


Hi all!


Since Npgsql RC1, we started to receive some error reports about problems when closing connections. The typical stack trace looked like this:



System.NotSupportedException : This stream does not support seek operations.

at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin)

at System.IO.BufferedStream.FlushRead()
at System.IO.BufferedStream.WriteByte(Byte value)

at Npgsql.NpgsqlQuery.WriteToStream(Stream outputStream) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlQuery.cs:line 62

at Npgsql.NpgsqlReadyState.QueryEnum(NpgsqlConnector context, NpgsqlCommand command) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlReadyState.cs:line 64

at Npgsql.NpgsqlConnector.ReleasePlansPortals() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnector.cs:line 373

at Npgsql.NpgsqlConnectorPool.UngetPooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector)
in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 541

at Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 284

at Npgsql.NpgsqlConnection.Close() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnection.cs:line 584



This seems to be caused by some out of sync problem with Npgsql. I proposed a solution in our bug tracking about this problem.

Please, give it a try and let me know if it solves the problem.

Thanks in advance.

15 comments:

Anonymous said...

wow gold | world of warcraft gold | wow power leveling | Cheap WoW Gold | Cheapest WoW Gold | Buy Cheap WoW Gold | cheapest wow gold | Buy WoW Gold | sell wow gold | WoW Accounts | wow accounts for sale | Buy WoW Power Leveling | Wow Honor Leveling | WoW profession leveling | WoW Reputation Leveling | WoW CD Key | WOW EU Gold | Cheap WoW Gold | wow gold for sale | Cheap WoW Power Leveling | WoW EU Accounts | world of warcraft accounts for sale | WoW EU CD Key | Lineage 2 Adena | Buy L2 Adena | Lineage 2 Adena for sale | Lineage 2 Accounts | Lineage 2 Power Leveling | Lineage 2 CD Key | Warhammer gold | Buy Warhammer Gold | Warhammer US Gold | Warhammer Power leveling | Warhammer CD Key | Warhammer Accounts | Warhammer EU Gold | Buy Cheap Warhammer Gold | WAR EU Gold | Buy Warhammer Power Leveling | Warhammer Online Accounts | Warhammer EU CD key | Aion gold | fast delivery Aion Gold | Aion Accounts | Aion Power Leveling | Aion CD Key | runes of magic gold | cheap runes of magic gold | runes of magic accounts | runes of magic power leveling | runes of magic cd key | runes of magic online gold | buy runes of magic eu gold | wow cheats | rom power leveling | runes of magic eu accounts for sale | cheap runes of magic cd key | FFXI Gil | Cheap FFXI Gil | Final Fantasy XI Gil | FFXI Power Leveling | FFXI CD Key | LoTRO Gold | Cheap Lotro Gold | LoTRO US Gold | LoTRO Accounts | Lotro accounts for sale | LoTRO Power Leveling | LoTRO CD Key | LoTRO EU Gold | Lord of the Rings Gold | LoTRO EU Accounts | Lotro Leveling | Lord of the Rings CD Key | Age of Conan gold | AoC US Gold | Cheap AoC Gold | Age of Conan Accounts | Age of Conan Power Leveling | Age of Conan Crafting Leveling | Age of Conan CD Key | Age of Conan EU Gold | Age of Conan Gold For Sale | Age of Conan Leveling | Age of Conan Accounts For Sale | AoC CD Key | The Chronicles of Spellborn Gold | Chronicles of Spellborn Gold | Chronicles of Spellborn Accounts | Chronicles of Spellborn Power Leveling | Chronicles of Spellborn CD key | atlantica gold | buy atlantica gold | atlantica power leveling | atlantica cd key | darkfall gold | buy darkfall gold | darkfall accounts | darkfall power leveling | darkfall cd key | silkroad gold | silkroad online gold | cheap silkroad gold | silkroad power leveling | Maple Story Mesos | Buy Maplestory Mesos | Maple Story Power Leveling | EVE ISK | EVE Online ISK | Cheap EVE ISK | EVE Power Leveling | EVE CD Key | EverQuest 2 Platinum | EverQuest 2 Gold | EQ2 Gold | EverQuest 2 Accounts | EverQuest 2 Power Leveling | EverQuest 2 CD Key

cheap wow gold said...

It was not long cheap wow goldbefore some one knocked at wow gold for salethe house-door and called, open the door, dear children, your mother is here, and wow gold cheap has brought something back with her for each of you. But the little cheapest wow goldkids knew that it was the wolf, by the rough voice. We will fastgg not open the door, cried they, you are not our mother. She has a soft, pleasant voice, but your voice is rough, you are the wolf.

Then the wolf went World Of Warcraft Goldaway to a shopkeeper and bought himself a great lump of chalk, ate this and made mmogap his voice soft with it. The he came back, knocked at the door of the house, and igsky called, open the door, dear children, your mother is here and Cheapest Wow Goldhas brought something back with her for each of you.

moto said...

不動産
合宿 免許
網頁設計
ショッピング枠 現金化
クレジットカード 現金化
キャッシング
治験
フロント 仕事
幼児教室
名刺

Anonymous said...

I do not know why I was very like to play the EVE, so I need eve isk and the eve gold , do you know the eve online isk.

沼泽地 said...

Dog tags
Metal Badges
Printing Badges
Lapel Pins Manufacturer
Cuff Links
Metal Badges
Bottle Openers
Medals
key chains
trading pin
Flag Lapel Pins
Police Badge
Coin
wristbands wholesale
Disney Pins Wholesale
mouse pads manufacturer
mouse pads
Lapel Pins Manufacturer
Lapel Pins
Disney Pins Wholesale
Disney Pins Wholesale
电脑外设
电脑周边
电脑周边批发
电脑外设批发
电脑配件批发
摄像头批发
U盘批发
鼠标批发
mp3mp4批发
饰品批发
水晶饰品批发
小饰品批发
韩国饰品批发
925银饰
情侣饰品批发
银饰批发
925银饰批发
流行饰品批发
珠宝首饰批发
泰银批发
小商品批发
饰品免费代销
友情链接
作文
笑话

花蓮民宿 said...

花蓮入口網|花蓮|花蓮民宿|花蓮民宿訂房諮詢服務|花蓮美食|花蓮民宿|花蓮旅遊|花蓮|花蓮電影|花蓮|花蓮民宿|花蓮海洋公園|花蓮縣長|花蓮遠來飯店|花蓮提拉米蘇|花蓮客運|蜂蜜|花蓮太魯閣|花蓮廣告|花蓮旅遊|花蓮地圖|花蓮旅遊|花蓮民宿|花蓮房屋|花蓮旅遊|花蓮民宿|花蓮汽車|花蓮餐廳|花蓮旅館|花蓮瑞穗牧場|花蓮名產|花蓮民宿|花蓮租屋|花蓮理想大地|花蓮民宿|花蓮廣告|花蓮黃頁 網路電話簿|花蓮民宿|花蓮計程車|花蓮餐廳|花蓮租車旅遊資訊網|花蓮入口網 IN HUALIEN 吃喝玩樂樣樣通|花蓮旅遊|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮花蓮|花蓮民宿|花蓮|花蓮民宿|花蓮民宿|花蓮美食|花蓮旅遊|花蓮|花蓮民宿訂房|花蓮就業|花蓮房屋|花蓮民宿訂房諮詢|花蓮旅遊花蓮美食|花蓮民宿|花蓮旅遊|花蓮美食|花蓮住宿|花蓮飯店|花蓮旅館|花蓮|花蓮民宿|花蓮民宿推薦|花蓮民宿市區|花蓮民宿王|花蓮民宿網|花蓮民宿資訊網|花蓮民宿悠遊網|花蓮民宿交流網|花蓮海景民宿|花蓮海邊民宿|花蓮海岸民宿|花蓮旅遊民宿|花蓮|花蓮旅遊|花蓮廣告|花蓮民宿|花蓮房屋|花蓮汽車旅館|花蓮飯店|花蓮民宿|花蓮美食|花蓮餐廳|花蓮小吃|花蓮名產|花蓮工作|花蓮新聞|花蓮民宿訂房|花蓮入口網 in hualien 吃喝玩樂樣樣通|花蓮旅遊|花蓮旅遊|花蓮旅遊景點|花蓮旅遊|花蓮旅遊景點|花蓮旅遊|花蓮旅遊景點|花蓮美食|花蓮餐廳|花蓮小吃|花蓮名產|花蓮縣長|花蓮民宿|花蓮民宿|花蓮計程車花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮|花蓮

crystal said...

Do not mean bad.Thank you so much! I just want to show some fashion wedding dress to all of you. I like wedding dresses, because wedding for a girl, it is the most special day in her life. Do you want to have the beautiful wedding dresses in perfect day??

crystal said...

Fantastic! God bless you! Meanwhile, we have the highest quality but the lowest price fashion cheap wedding dresses. Here are the most popular designer wedding dresses and lace wedding dresses for all of you. Also the cheap evening dresses is a great choice for you. Let you dream come ture!!

crystal said...

Perfect!! You are a outstanding person! Do you want to wear stunning discount wedding dresses and join the party wearing beautiful cheap prom dresses?? Or you want all people's eyes can't move from you? The evening formal dresses are the best gift for you!

crystal said...

Best wishes for you! May be you are interested in party cocktail dresses, and you may need cheap bridesmaid dress for you special Occasions. We can provide cheap cocktail dresses, cheap flower girl dresses even the plus size wedding dresses. You can choose that you like!

crystal said...

http://luoluo123.blogspot.com
http://crystalluo612.blog126.fc2.com
http://lj83612.spaces.live.com
http://cheappolos.blog.drecom.jp
http://d.hatena.ne.jp/specialoccasiondress
http://crystal888.edublogs.org
http://www4.atword.jp/summerfashion
http://blog.oricon.co.jp/misspoloshirt
http://blog.qlep.com/blog.php/gillette
http://blog.goo.ne.jp/pumafr
http://www.pumafr.com/blog
http://www.clothessports.com
http://chinaclothes.net

kevin said...

牙醫,植牙,矯正,矯正牙齒,紋身,刺青,創業,批發,皮膚科,痘痘,中醫,飛梭雷射,毛孔粗大,醫學美容,痘痘,肉毒桿菌,seo,關鍵字行銷,自然排序,網路行銷,自然排序,關鍵字行銷seo,部落格行銷,網路行銷,seo,關鍵字行銷,自然排序,部落格行銷,網路行銷,牛舌餅婚紗台中婚紗,腳臭,腳臭,腳臭,腳臭,腳臭,腳臭,腳臭,腳臭,高雄婚紗,街舞,小產,雞精,紋身,刺青,性感,辣妹,雷射溶脂,雙下巴,抽脂,瘦小腹,微晶瓷,電波拉皮,淨膚雷射

crazyloko said...

buy products wholesaleThis phenomenom is typified by China Wholesalersthe rise ofbusiness. Incredible range of products available with China Wholesale “Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that wholesale from china from China means margins you cannot find elsewhere and China Wholesale will skyroket your profits.china wholesale productsbuy china wholesalewholesale chinawholesale productsbuy products

Gigi said...

$75 Replica Rolex Watches sale, Our site provides Rolex replica, replica Rolex Watches, replica breitling, replica Cartier, replica Omega, Tag Heuer Watches. . .more than 100 famous rolex brands"
rolex air king
rolex datejust
rolex day date
rolex daytona
rolex gmt
rolex submariner
rolex yachtmaster
a lange sohne watches
alain silberstein watches
bell ross watches
breguet watches
breitling watches
bvlgari watches
cartier watches
omega watches
patek philippe watches
ロレックスレプリカ
ロレックスコピー

Edwin said...

Buy Kamagra
Earn Google
Viagra Cialis
Cheap Kamagra
Cheap Viagra
Cheap Cialis
Make Money on Google
M65 Jacket
M65 Field Jacket
Airline Dog Carrier
Airline Dog Carriers
Viagra Cialis
Earn Google
Airline Dog Carrier
Airline Dog Carriers
Airline Approved Dog Carriers
ED Hardy Wholesale
Copy DVD Software
How to Send Fax
14k Yellow Gold
Redneck Costume
14k Gold Heart
Tandem Baby Stroller