Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#173 NASTY: The 100 open files limit ?!?!

closed-fixed
General (289)
6
2008-07-03
2008-07-01
Tarias
No

[Geany 0.14, Windows XP SP3]

Hello there...

This is a really nasty one, and it drove me crazy for almost half hour...but finally, I got it and I think now it will be easy for you to solve:

t0 - Ever heard of a guy that keeps 99 files open at same time, because in the process of "some old code upgrading to new standards", it comes handy to do some "replace in all files" ?
Yeah, it's me (and i suspect there's more "me's" out there...)
[FILE: geany_1_start_99files.conf]

*****

t1 - Well...I add one more file to add to my 99 (I'm lying: there were 10 more...but for the sake of example&&debugging, let's forge the story): sweet...Opened it, did some code, and then closed geany.
[FILE: geany_2_after_closing_geany_with_one_more_file(100).conf]

Now: I haven't had time to go to docs to see if you explain your config file...but here, note what happened:

"current_page=9"
(whoa...what's this var doing anyway ?)

"
FILE_NAME_9=0;4;0;0;0;1;0;C:\\Program Files\\...
FILE_NAME_11=0;4;0;0;0;1;0;C:\\Program Files\\...
"
(oh my...look, it's a GAP ! Why do I have the feeling that this is not gonna get any good...)

*****

t=3
"#$%#$%##$%#$%
(translation: gggrrrrrrrr: where are my other 90 files ?!?!?! Gonna have to re-open and RE-ORDER ?!?! aaargghh)

(Note: when i closed geany this time, config file changed again)

[FILE:
geany_3_after_closing_bad_geany_run_with_only_3_files_AND_GAP(9,11).conf]

**************

Well...needless to say that:
1) Programmer my self (see 2) )
2) Sarcastic humor aimed at everything around (but always FIRST to myself and my mistakes)...so, just "inspired" and "well humored": by no means moking with your bugs (I have PLENTY myself to mock me instead :D )

Again: I'm already feeling "black sheep" here for being a windows user...just hope we "can at least agree" this is a NASTY and uncomfortable bug for a user that is SANELY (?) trying to use a bit more than 100 files.

WORKARROUND:
(
yeah...don't pass 99 files, dduuhh !
but this makes me "sad" :(
)

See ya around !

Discussion

  • Tarias
    Tarias
    2008-07-01

    1st conf file

     
  • Tarias
    Tarias
    2008-07-01

    • priority: 5 --> 6
     
  • Tarias
    Tarias
    2008-07-01

    Logged In: YES
    user_id=2120133
    Originator: YES

    File Added: geany_2_after_closing_geany_with_one_more_file(100).conf

     
  • Tarias
    Tarias
    2008-07-01

    Logged In: YES
    user_id=2120133
    Originator: YES

    File Added: geany_3_after_closing_bad_geany_run_with_only_3_files_AND_GAP(9,11).conf

     
  • Enrico Tröger
    Enrico Tröger
    2008-07-03

    • assigned_to: nobody --> eht16
    • status: open --> closed-fixed
     
  • Enrico Tröger
    Enrico Tröger
    2008-07-03

    Logged In: YES
    user_id=1117045
    Originator: NO

    Thanks for reporting.
    Fixed in SVN, the new limit is 9999 which should be really enough (having more than 10000 files open in Geany at once is like self-punishment).

    JFYI: the gap between 9 and 11 was an aftereffect of the real problem (the FILE_NAME key had only room for 2 digits, not 3).

     
  • Tarias
    Tarias
    2008-07-05

    Logged In: YES
    user_id=2120133
    Originator: YES

    I thank you, friend !!!
    It's the least I can do, as a non paying user of your work!
    And yeah: I'd say that even more than 1000 files open in ANY IDE would be masochism !
    In fact, only recently I found out that in some cases, it can be "sane" (read: justifiable...) to have more than 100 files open.

    But I'm with you: 9999 files open is a limit that no one will ever bug you about !

    Glad I could help: as I'd expect, I had the hard work on this one: the challenge (at least for a user) was in finding out what was going on; and you just had to change the constant (the rest I reported was collateral damage)

    Cheers