Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » FileSel::ExecuteSaveAs() crashes
FileSel::ExecuteSaveAs() crashes [message #23636] Mon, 09 November 2009 09:43 Go to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
ubuntu, gcc. upp-x11-src-1447
debug mode: success.
optimal mode: crashing.

code snippet
	FileSel dialog;
	dialog.ExecuteSaveAs();
what's wrong?
  • Attachment: z.zip
    (Size: 3.75KB, Downloaded 267 times)
Re: FileSel::ExecuteSaveAs() crashes [message #23639 is a reply to message #23636] Mon, 09 November 2009 12:18 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
bonami wrote on Mon, 09 November 2009 10:43

ubuntu, gcc. upp-x11-src-1447
debug mode: success.
optimal mode: crashing.

code snippet
	FileSel dialog;
	dialog.ExecuteSaveAs();
what's wrong?

Hi, i don't have upp-x11-src-1447 but with 1680 version it doesn't crash. Are you sure that the problem is not in ezcommon lib?
Btw, you project file sent with this package still have the names of files which you didn't included and theIDE is trying to link with ezcommon which doesn't exist. Anyway, after cleaning the package as i said the crash doesn't occur.

Andrei
Re: FileSel::ExecuteSaveAs() crashes [message #23644 is a reply to message #23639] Tue, 10 November 2009 04:14 Go to previous messageGo to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
most recent discovery,
filesel.cpp:line 390 crashes. if i change it to return basedir, it works. i don't know why "String s = ~dir;"

i've tried 1680, too. it still fails. now i've trimmed irrelavent files.
chinese xp: runs well.
english xp: no crashes. (program built on chinese xp, using MSC.)
chinese ubuntu: memory failure when building optimal; no crashes when built to debugging. (built on ubuntu, using GCC.)
i've included the two errors' photos in the zip file.
  • Attachment: ez.zip
    (Size: 36.73KB, Downloaded 272 times)

[Updated on: Tue, 10 November 2009 06:51]

Report message to a moderator

Re: FileSel::ExecuteSaveAs() crashes [message #23650 is a reply to message #23644] Tue, 10 November 2009 21:53 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
Hi, i've installed simple Chinese and so far no crash here. I'm getting your program running without any problem.
Is there a reason why you didn't called CtrlLayout(*this) in window constructor?
I think it's not related to crash. Anyway, no crash so far.
Re: FileSel::ExecuteSaveAs() crashes [message #23653 is a reply to message #23650] Wed, 11 November 2009 02:35 Go to previous messageGo to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
do i have to call CtrlLayout(*this)? it doesn't help, since the ezcommwin part does not affect FileSel's failure.
suppose you are running on linux.
Re: FileSel::ExecuteSaveAs() crashes [message #23656 is a reply to message #23653] Wed, 11 November 2009 04:19 Go to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
bonami wrote on Wed, 11 November 2009 03:35


suppose you are running on linux.

I'm running Ubuntu Karmic Koala 9.10, x86_64
Previous Topic: Codepage problem in FileSel directory selection droplist
Next Topic: "FileSel based utility functions" seems out of date
Goto Forum:
  


Current Time: Wed Dec 08 17:27:58 CET 2021

Total time taken to generate the page: 0.01189 seconds