One workaround for the bug seems to click elsewhere (such as the editor) 
between the two changes of working directory.
When I do this, it seems to work just fine. 

On Sunday, January 27, 2013 12:43:19 PM UTC-5, Sylvain Corlay wrote:
>
> I don't experience this bug with the "Find in files" plugin. 
>
> A detail that could help though: the first time I change the working 
> directory, it works fine. The crash occurs when clicking on the combobox 
> the second time. 
>
> Regarding the generation of the core file in debug mode by running 
> boostrap.py through gdb with "gdb -ex r --args python bootstrap.py", when 
> the crash occurs, xorg would completely freeze and I need to kill gdb.
>
> S. 
>
> On Sunday, January 27, 2013 11:58:03 AM UTC-5, Pierre Raybaut wrote:
>>
>> Unfortunately, this is not helping much (maybe someone else will be 
>> inspired). Are you using debug versions of Python and PyQt? (because I 
>> saw more detailed backtraces with informations on the Python script 
>> line which is involved in the segmentation fault) 
>>
>> Apparently, this has something to do with the combo box object 
>> (spyderlib.widgets.comboboxes.PathComboBox). This is a generic object 
>> also used by the "Find in files" plugin. So I suspect that you should 
>> experience segfault when changing the search directory in this plugin 
>> too, do you? 
>>
>> Thanks, 
>> -Pierre 
>>
>> 2013/1/27 Sylvain Corlay <[email protected]>: 
>> > Hi Pierre, here is the backtrace and a list of threads. I hope this 
>> helps. 
>> > S. 
>> > 
>> > 
>> > On Sunday, January 27, 2013 5:00:33 AM UTC-5, Pierre Raybaut wrote: 
>> >> 
>> >> Hmmm... sorry I've read your posts too quickly: I was sure that you 
>> >> wrote "Changing Workspace" instead of "Changing working directory". So 
>> >> this has probably nothing to do with the new Project Explorer 
>> >> design... However, the full traceback is still needed. 
>> >> 
>> >> -Pierre 
>> >> 
>> >> 2013/1/27 Pierre Raybaut <[email protected]>: 
>> >> > Hi, 
>> >> > 
>> >> > This may be related to the new Project Explorer design which is 
>> based 
>> >> > on the same base class as File Explorer 
>> >> > (spyderlib.widgets.explorer.FilteredDirView). 
>> >> > 
>> >> > Another similar segmentation fault was fixed recently: 
>> >> > http://code.google.com/p/spyderlib/source/detail?r=8d6d603d1f31 
>> >> > 
>> >> > Thank you for these bug reports. 
>> >> > However, the only way for us to understand where it comes from and 
>> to 
>> >> > fix it is to be able to study a real traceback. Following 
>> instructions 
>> >> > of this wiki page will provide such a traceback: 
>> >> > http://code.google.com/p/spyderlib/wiki/HowToDebugQtCrash 
>> >> > 
>> >> > Cheers, 
>> >> > -Pierre 
>> >> > 
>> >> > 2013/1/23 David Verelst <[email protected]>: 
>> >> >> I can replicate this on Archlinux 64bit. Although it doesn't seem 
>> to 
>> >> >> happen 
>> >> >> on every change, it takes a few seconds before the crash happens. 
>> With 
>> >> >> the 
>> >> >> --debug option it get this: 
>> >> >> 
>> >> >> $ spyder -d 
>> >> >> Start of MainWindow constructor 
>> >> >> Initializing... 
>> >> >> End of MainWindow constructor 
>> >> >> *** Start of MainWindow setup *** 
>> >> >> abort: repository /usr/lib/python2.7/site-packages not found! 
>> >> >> Loading object inspector... 
>> >> >> Loading outline explorer... 
>> >> >> Loading editor... 
>> >> >> Loading file explorer... 
>> >> >> Loading history plugin... 
>> >> >> Loading online help... 
>> >> >> Loading project explorer... 
>> >> >> Loading external console... 
>> >> >> Loading IPython console... 
>> >> >> Loading namespace browser... 
>> >> >> Setting up main window... 
>> >> >> Setting up window... 
>> >> >> *** End of MainWindow setup *** 
>> >> >> Segmentation fault (core dumped) 
>> >> >> 
>> >> >> I don't know yet what the first line means (no site-packages repo 
>> >> >> found) 
>> >> >> because that is actually the valid and correct site-packages 
>> directory 
>> >> >> of my 
>> >> >> system. 
>> >> >> 
>> >> >> Regards, 
>> >> >> David 
>> >> >> 
>> >> >> 
>> >> >> On 23 January 2013 05:01, Sylvain Corlay <[email protected]> 
>> wrote: 
>> >> >>> 
>> >> >>> This occurs only with the 2.2 beta 1 version of spyder (not with 
>> 2.1). 
>> >> >>> I 
>> >> >>> experienced it on Ubuntu 12.04 64 bits as well as Windows XP. 
>> >> >>> Apparently, it 
>> >> >>> works on Windows 7. 
>> >> >>> S. 
>> >> >>> 
>> >> >>> -- 
>> >> >>> You received this message because you are subscribed to the Google 
>> >> >>> Groups 
>> >> >>> "spyder" group. 
>> >> >>> To view this discussion on the web visit 
>> >> >>> https://groups.google.com/d/msg/spyderlib/-/1GgnTsQfwu4J. 
>> >> >>> To post to this group, send email to [email protected]. 
>> >> >>> To unsubscribe from this group, send email to 
>> >> >>> [email protected]. 
>> >> >>> For more options, visit this group at 
>> >> >>> http://groups.google.com/group/spyderlib?hl=en. 
>> >> >> 
>> >> >> 
>> >> >> -- 
>> >> >> You received this message because you are subscribed to the Google 
>> >> >> Groups 
>> >> >> "spyder" group. 
>> >> >> To post to this group, send email to [email protected]. 
>> >> >> To unsubscribe from this group, send email to 
>> >> >> [email protected]. 
>> >> >> For more options, visit this group at 
>> >> >> http://groups.google.com/group/spyderlib?hl=en. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "spyder" group. 
>> > To post to this group, send email to [email protected]. 
>> > To unsubscribe from this group, send email to 
>> > [email protected]. 
>> > Visit this group at http://groups.google.com/group/spyderlib?hl=en. 
>> > For more options, visit https://groups.google.com/groups/opt_out. 
>> > 
>> > 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to