It is currently Wed Jun 20, 2018 10:30 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [IDE-v562]Reverse search crash on 1st ;"find",[x]no Comments
PostPosted: Wed Feb 07, 2018 3:43 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
I can now reproduce consistently on Windows 10 Pro v1709,b16299.125, PBv562x64.
PB is white listed from antivirus.
Antivirus is OFF.

Steps:
1. Start with empty PB IDE.
2. Paste in some code(with If then else's) in a new window.
3. Search for 'If'
Check:
[x] Don't search in Comments. ;<-- Unchecked = no crash.
4. Repeat.
5. Now Reverse Search for 'If' using [Shift+F3]. (I also tried different HotKeys, [Ctrl+F3], and the gui)
6. Upon reaching the top of file or 1st 'If' in a comment, a messagebox should appear, "No more matches...".
But this is the crash state. Task Manager shows a console window owned by PureBasic, but it is hidden.

TaskManager at crash

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Last edited by skywalk on Thu Mar 01, 2018 9:32 pm, edited 10 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Hard crash while reverse searching in debug m
PostPosted: Wed Feb 21, 2018 8:53 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Same hard IDE crash occurred again on a reverse search.
The loaded file is ~12k lines.
History is disabled. No project use. Just 10 or 13 individual files loaded in IDE.
Any ideas how to avoid or track this?

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Hard crash while reverse searching.
PostPosted: Wed Feb 28, 2018 2:17 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Is this only happening with my setup?
I crashed 3 times yesterday. :cry: :evil:
All 3 times I was reverse searching in a file that was not saved.
Is there any reason this would cause an infinite loop or unstable condition?

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Hard crash while reverse searching.
PostPosted: Wed Feb 28, 2018 3:12 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1553
I haven't had this problem, but I am on Windows 7 / 5.62 x86 so different systems...

Are you using the Find window, or the hotkey?


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Hard crash while reverse searching.
PostPosted: Wed Feb 28, 2018 3:31 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
It happens with [Shift+F3].
I will try to duplicate it this morning.

EDIT:
Ok, I was able to reproduce with several files opened and edited but not saved.
Start reverse search for item in 1 file.
Then switch to another open file and hit [Shift+F3] = immediate CRASH!

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Crash on reverse search in 2nd open file.
PostPosted: Wed Feb 28, 2018 4:09 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 11, 2006 12:07 am
Posts: 417
Location: Germany / one of the fishheads
I tried to reproduce your problem using the described steps, but all went okay here. :shock:
Windows 7 x64, PB 5.62 x64

_________________
Excuse my bad english, my nativ language is german.
PB 5.62, OS: Windows 7 Pro x64, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520
"Happiness is a pet." | "Never run a changing system!"
My current age: 50 years


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Crash on reverse search in 2nd open file.
PostPosted: Wed Feb 28, 2018 6:02 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Thanks, maybe this is Windows 10 only?
I will try reproducing on another pc.
I am super afraid of [Shift+F3] now. :cry:

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Crash on reverse search in 2nd open file.
PostPosted: Wed Feb 28, 2018 10:32 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1420
skywalk wrote:
maybe this is Windows 10 only?

Well, I can't reproduce your problem on Win 7, so... yeah. Likely a Win 10 issue. I will test in a Win 10 virtual machine later.

Just to be sure: Have you tested the problem with two NEW sources, instead of existing sources? Just in case something in your source is triggering it (bad character, hidden character, etc).


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562] Crash on reverse search in 2nd open file.
PostPosted: Wed Feb 28, 2018 11:31 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1575
Location: Uttoxeter, UK
skywalk wrote:

EDIT:
Happens most frequently with 2 edited files open.
Start reverse search in 1 file.
Then move to 2nd edited file and try the same reverse search.
Immediate crash.


I tried this on my system. No problem.
Windows 10 Version 1709 build 16299.248
PureBasic 5.62 X64
My files were ~2000 lines

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash on repeated reverse search in edited fil
PostPosted: Thu Mar 01, 2018 1:08 am 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Ok,
See the 1st post.

I reinstalled latest PB.
Shutdown my antivirus.
Started with a blank IDE. (not my usual mode)
Pasted in some code to a new file.
Did a simple search for 'If'.
Then did enough reverse searches till I reached the top of the file.
Then crash. The messagebox that states "No more matches found..." is blocked or interrupted?
TaskManager at crash

This is crazy? But at least I know now to not reverse search until this is fixed.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash on repeated reverse search in edited fil
PostPosted: Thu Mar 01, 2018 5:56 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 14, 2011 6:07 pm
Posts: 339
No problem here either!
PB 5.62 x64, Win 10 Pro 1709 build 16299.248
Tried the various scenarios ... no crash! Could be the build 16299.125 ?!


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash on repeated reverse search in edited fil
PostPosted: Thu Mar 01, 2018 2:55 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Thanks said, I will try updating Windows. Though, it may also be that the message box is not blocked, but off screen? I have 3 monitors and some apps get confused. This is a stretch since the regular search message box appears normally.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash on repeated reverse search in edited fil
PostPosted: Thu Mar 01, 2018 3:49 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Ok,
I deleted my prefs and the crash is gone? :shock:
With the default prefs, the reverse search messagebox(top of file reached) appears in the center of the current window.
How do I find what preference setting is causing this?
WinMerge?
I really don't want to re-enter all my customizations?

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash when reverse search reach top of file.
PostPosted: Thu Mar 01, 2018 7:17 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2665
Location: Boston, MA
Yay :evil:
Found the setting that triggers a crash.
Do NOT check:
[x] Don't search in Comments.
Unchecked = no crash.
Wow, hard to find.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE-v562]Crash when reverse search reach top of file.
PostPosted: Thu Mar 01, 2018 8:32 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1553
CONFIRMED on Windows 7, nice find Skywalk!

I opened 1 file, searched for "if" with "Don't search in comments" checked... and it broke when I hit the top of the code.

Although, for me, I didn't even get the "Continue search" dialog and a crash, the IDE just froze and stopped responding.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye