Well, some problems with 1.5

Think you found a bug ? This is where to go...

Moderator: Brume Dev Team

Well, some problems with 1.5

Postby rubbish on Mon Jan 29, 2007 5:32 pm

I post the brume.log
1.Brume error : System.NullReferenceException
2.Brume error : System.AccessViolationException: Attempted to read or write protected memory
Last edited by rubbish on Tue Jan 30, 2007 4:21 am, edited 2 times in total.
rubbish
Brume user
 
Posts: 183
Joined: Fri Nov 03, 2006 5:05 am

Postby Silmaryls on Mon Jan 29, 2007 7:47 pm

Well Rubbish,

What are you trying to do ? What is the entire error log ?
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Postby rubbish on Tue Jan 30, 2007 4:14 am

running the showroom

I Moving the camera...

suddenly....

Game: Brume error : System.AccessViolationException: Attempted to read or write protected memory

at dJointGroupEmpty(dxJointGroup* )
at Ode.JointGroup.Empty()
at Brume.BrumePhysics.Move(Single lastFrameTime)
at Brume.Brume.OnApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Brume.Brume.Play()
- Game: Brume vanishes !
Last edited by rubbish on Tue Jan 30, 2007 1:23 pm, edited 1 time in total.
rubbish
Brume user
 
Posts: 183
Joined: Fri Nov 03, 2006 5:05 am

Postby Silmaryls on Tue Jan 30, 2007 10:04 am

Can you tell we what you are trying to do ?

What is the source code ?
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Postby rubbish on Tue Jan 30, 2007 12:38 pm

oo sorry
I run the showroom,

I trying to fullscreen ....

2007-1-30 12:03:01 INFO - Game: --------------------------------------------------------------------------------
2007-1-30 12:03:02 INFO - Game: Brume is playing !
2007-1-30 12:03:02 INFO - Game: --------------------------------------------------------------------------------
2007-1-30 12:04:13 ERROR - Game: Brume error : System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.DirectX.Direct3D.Texture.GetSurfaceLevel(Int32 level)
at Brume.DirectX9GraphicApi.RenderToTexture(Single fElapsedTime, BrumeTexture texture, BrumePlane plane)
at Brume.Brume.RenderToTextures(Single fElapsedTime)
at Brume.Brume.Render(Single fElapsedTime, Boolean withConsole)
at Brume.Brume.OnApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Brume.Brume.Play()
2007-1-30 12:04:30 INFO - Game: --------------------------------------------------------------------------------
2007-1-30 12:04:30 INFO - Game: Brume vanishes !
2007-1-30 12:04:30 INFO - Game: --------------------------------------------------------------------------------
rubbish
Brume user
 
Posts: 183
Joined: Fri Nov 03, 2006 5:05 am

Postby rubbish on Tue Jan 30, 2007 3:01 pm

I run the burme_src code
Image
rubbish
Brume user
 
Posts: 183
Joined: Fri Nov 03, 2006 5:05 am

Postby Silmaryls on Wed Jan 31, 2007 9:07 pm

Ok ! I reproduced the problem.

It's an issue with BrumeMirror and BrumeWater when going fullscreen.
If you remove the two tests in the Game.cs class, it should work.

I will move this post to the bug forum and provide a fix.

Thanks !
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Postby Silmaryls on Wed Jan 31, 2007 9:13 pm

Please notice that there is a workaround to this problem : you can just start the ShowRoom directly in Fullscreen mode.

Just uncomment this line in the Game constructor :

Code: Select all
this.InitStates.Mode = BrumeInitParams.MODE_FULLSCREEN;


What is not working is switching from window to fullscreen.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Postby rubbish on Thu Feb 01, 2007 1:44 am

:) continue studying & testing
rubbish
Brume user
 
Posts: 183
Joined: Fri Nov 03, 2006 5:05 am

Postby AFW2006 on Tue Mar 06, 2007 5:03 pm

did you solve this problem ?

strange i wasnt having this problem with my old PC ..but when i moved the source to the other ..i have been getting this error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." and pointing to the line 55 ,wich is :this.contactGroup.Empty();

and this problem appears when i run the program for some time ,or when i collide the camera with some objects ..or when there is a collision world ..when i disble physics ,it doesnt appear .....

looks like something with ODE....

any idea Silmaryls ? i hope you help me with this issue

note: - the Brume 1.4 works fine .
AFW2006
Brume Rookie
 
Posts: 12
Joined: Sat Oct 07, 2006 7:01 pm

Postby Silmaryls on Tue Mar 06, 2007 8:43 pm

Hi !

Are you sure that it works with Brume 1.4 on both machines ?
If so, it should be a problem with my recent modifications in the physics/collision engine on trimesh support and others.

Can you also post your two configurations ? (mainly CPU)
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Bugs In English

Who is online

Users browsing this forum: No registered users and 1 guest

cron