Any click heisenbug segfault

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Any click heisenbug segfault

ManDay
When I run todays 81dbddf7c78921893bd3670b5c87771a2f62ec67 and I click on the canvas or anywhere on the tools I get a segfault. Doesn't happen in gdb, so no BT for you. I just thought I tell you before this becomes a week long bisect.
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

dxli
Hello,

the commit 81dbdd is a fix for segfault when clicking without dragging with tool drawLineFree, so it should not segfault when clicking only.

I suspect the heisenburg you are seeing is from debugging build, a problem already fixed by commit,

https://github.com/LibreCAD/LibreCAD/commit/fdf759b452428b91a0664121a2b98603c5553a22

I still need to know how to show the line when dragging.

Dongxu Li


On Fri, Aug 12, 2011 at 5:43 AM, ManDay [via LibreCAD] <ml-node+4692670-1698252502-233
[hidden email]>
wrote:
When I run todays 81dbddf7c78921893bd3670b5c87771a2f62ec67 and I click on the canvas or anywhere on the tools I get a segfault. Doesn't happen in gdb, so no BT for you. I just thought I tell you before this becomes a week long bisect.


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Any-click-heisenbug-segfault-tp4692670p4692670.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.

Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

ManDay
I bisected to

c9abbfae3efd79be22b359561e1452525f762d9a is the first bad commit

PS: That has nothing to do with dragging. It already segfaults upon mouse-down.
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

ManDay
And no, it happens with 23f8811359013e61788d17f4a6fe552c8308d5e0 too. It really is that "next command tip"
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

dxli
Hello,

Please try with the master branch on my repository: https://github.com/dxli/LibreCAD
Or the equivalent patch attached.

If it still segfaults, please tell me in more details on how to reproduce it. Apparently, it doesn't crash here.

Thanks,

Dongxu Li

On Fri, Aug 12, 2011 at 8:07 AM, ManDay [via LibreCAD] <[hidden email]> wrote:
And no, it happens with 23f8811359013e61788d17f4a6fe552c8308d5e0 too. It really is that "next command tip"


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Any-click-heisenbug-segfault-tp4692670p4693030.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.


commandTip.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

dxli
In reply to this post by ManDay
Update: a typo in previous patch, please use the master branch instead

<a href="https://github.com:LibreCAD/LibreCAD">https://github.com:LibreCAD/LibreCAD

On Fri, Aug 12, 2011 at 8:07 AM, ManDay [via LibreCAD] <[hidden email]> wrote:
And no, it happens with 23f8811359013e61788d17f4a6fe552c8308d5e0 too. It really is that "next command tip"


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Any-click-heisenbug-segfault-tp4692670p4693030.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.

Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

ManDay
In reply to this post by dxli
Hi Li,

no, doesn't happen with your repo.
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

ManDay
Something is pretty strange: I'm back on master of the official origin and remade

c8d94e6a5ea044bdb29c2ac0cfa998640b5a6d61

now I don't get the segfault any longer but the cursor is mal-drawn. It is basically without alpha. Any clue?
Reply | Threaded
Open this post in threaded view
|

Re: Any click heisenbug segfault

dxli
Hello,

There's a fix for cursor over white background. I am not satisfied with it yet, but at least the cursor is visible over white background.

At least the segfault is fixed, which has a higher priority.

Thanks,

Dongxu Li

On Fri, Aug 12, 2011 at 11:02 AM, ManDay [via LibreCAD] <[hidden email]> wrote:
Something is pretty strange: I'm back on master of the official origin and remade

c8d94e6a5ea044bdb29c2ac0cfa998640b5a6d61

now I don't get the segfault any longer but the cursor is mal-drawn. It is basically without alpha. Any clue?


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Any-click-heisenbug-segfault-tp4692670p4693599.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.