Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-10

CVS - Problems and SegFault if I press curser-keys

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Arm Jens

Hi

I have tried to get the source from the CVS and I got the following error.
What should I do to avoid this error? The Error occured since the components directory was added.

Script started on Wed Oct 27 18:45:11 1999

Laser:/CVSProgs/Lazarus # cvs -z3 update -dP lazarus cvs server: Updating lazarus
cvs server: Updating lazarus/examples
cvs server: Updating lazarus/lcl
cvs server: Updating lazarus/lcl/components
cvs server: Updating lazarus/lcl/components/mwedit cvs server: failed to create lock directory in repository `/FPC/CVS/fpc/lazarus/lcl/components/mwedit': Unknown error 18446744073709485823
cvs server: failed to obtain dir lock in repository `/FPC/CVS/fpc/lazarus/lcl/components/mwedit'
cvs [server aborted]: read lock failed - giving up Laser:/CVSProgs/Lazarus #

The second thing is that if I run the lazarus programm and I press one of the cursor-keys (the place where I press doesn't matter) I get a Seg Fault
or an Access Violation.
This error is in all versions I have tried to compile. If this error is in the Expamples too, I haven't tried.
To compile I use the latest shnapshots of the FreePascal Linux-Compiler, GTK, FCL.

Jens

Reply by email

Stefan Hille
to Shane Miller: CVS should be fixed, so tyr it again. I am aware ogf the Seg Fault too. It occurs…

Hi!

Shane Miller wrote 9 lines
CVS should be fixed, so tyr it again. I am aware ogf the Seg Fault too. It occurs because I think we are writing the TKeyPress record incorectly when we pass it on the ONKeyDown or OnKey- Press event. I'll look at it, but I'm hoping to get evnts modified first then get the mwedit editor up and running.... Feel free to trounce around and look at the problem. It lies in the gtkcallback that handles the keypress signal I believe.

Just to give you some more hints:

- It also happens with the trackbar example
- As far as I know it happens with every (control?)key that is not handled by the underlying gtk object.
- In the trackbar demo it happens at least under following circumstances when you use the cursor-keys to change the trackbar:

a) if a button has focus (button does not know cursor keys) b) if you have a horizontal trackbar focused and press Up/Down c) if you have a vertical trackbar focused and press right/left

Hope this helps,

Stefan

PS: All the above from memory since I had no time to work on lazarus for about 2-3 weeks

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Shane Miller

CVS should be fixed, so tyr it again.

I am aware ogf the Seg Fault too. It occurs because I think we are writing the TKeyPress record incorectly when we pass it on the ONKeyDown or OnKeyPress event. I'll look at it, but I'm hoping to get evnts modified first then get the mwedit editor up and running....

Feel free to trounce around and look at the problem. It lies in the gtkcallback that handles the keypress signal I believe. Shane

>> Arm Jens 10/28/99 03:00AM >>>

Hi

I have tried to get the source from the CVS and I got the following error.
What should I do to avoid this error? The Error occured since the components directory was added.

Script started on Wed Oct 27 18:45:11 1999

Laser:/CVSProgs/Lazarus # cvs -z3 update -dP lazarus cvs server: Updating lazarus
cvs server: Updating lazarus/examples
cvs server: Updating lazarus/lcl
cvs server: Updating lazarus/lcl/components
cvs server: Updating lazarus/lcl/components/mwedit cvs server: failed to create lock directory in repository `/FPC/CVS/fpc/lazarus/lcl/components/mwedit': Unknown error 18446744073709485823
cvs server: failed to obtain dir lock in repository `/FPC/CVS/fpc/lazarus/lcl/components/mwedit'
cvs [server aborted]: read lock failed - giving up Laser:/CVSProgs/Lazarus #

The second thing is that if I run the lazarus programm and I press one of the cursor-keys (the place where I press doesn't matter) I get a Seg Fault
or an Access Violation.
This error is in all versions I have tried to compile. If this error is in the Expamples too, I haven't tried.
To compile I use the latest shnapshots of the FreePascal Linux-Compiler, GTK, FCL.

Jens

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email