User forums > Nightly builds

The 17 december 2006 build is out.

<< < (5/6) > >>

Pecan:

--- Quote from: killerbot on December 18, 2006, 09:29:15 pm ---After I had builded cb with the updated keybinder [in linux]. I start CB, all ok. The moment I opened a project, that message box pops up and I get the crash. I can still reproduce it.
Should I look more closely to a specific keybinder config file ?

--- End quote ---

I svn updated to 3396 and rebuilt on andLinux. I copied your cbKeyBinder10.ini to my .codeblocks directory. CB ran fine and opened projects ok.

I'm now compiling 3396 on  ubuntu breezy, but it'll take 4+ hours on my little 300mhz laptop. (I moved to andLinux on my faster Dell because the keyboard is finally giving out on the old laptop.)

A stupid question: did you "re-build" the contribs and run ./update ?
The only way that crash report could be accurate is if OnAttach() was never called in the plugin, or the keyBinder m_bound var was clobberd by some other task.

I'll test on "breezy", but I don't have any other answers right now. I'll keep looking.

killerbot:
I didn't run update, since I build with autotools on linux.

Pecan:

--- Quote from: killerbot on December 19, 2006, 07:22:34 am ---I didn't run update, since I build with autotools on linux.

--- End quote ---

This morning I finished the compiles on "breezy". Did the ./update and opened projects/files just fine. That makes three systems that run with keybinder ok(andLinux "edgy". ubuntu "breezy", and XP)

So... I think you need to remove (mv away, not just disable) the contribs one by one (leaving keybinder to see if it's really the crash) until the crash goes away.
That should tell you if a plugin is clobbering another plugin.

Be aware that the only plugins I run are the core plugins, plus keybinder and dragscroll. So I suspect that another contrib is doing some memory mashing.

I have now spent about 12 hours trying to recreate this situation, and have failed.

I dont know what else to do right now but watch and wait.

pecan

Pecan:

--- Quote from: killerbot on December 17, 2006, 11:37:58 pm ---just checking, but this is probably ok. Guess new since the new keybinder update. Opened a project [it didn't occur sooner] in Cb (linux) and got the following informational message "No keyprofiles have been found... A default keyprofile will be set."
and then CB crashes :-(

--- End quote ---

I'm getting this crash now. It seems that keyBinder is not receiving its EVT_APP_STARTUP_DONE event. Without it, no initialization takes place, and god-only-knows what variables arn't set.

So when you open a file, keybinder starts looking around to copy the window address etc etc into arrays that have not been initialized.

so.. what happened that causes EVT_APP_STARTUP_DONE to not be issued??
It may be that something is not issueing the Skip() on the event. I get the event (seen from my log messages) mostly, but about every 10th time it doesn't occur.

I'm going to change the code so as not to be dependent on the event and see what happens.


Pecan:

--- Quote from: killerbot on December 17, 2006, 11:37:58 pm ---just checking, but this is probably ok. Guess new since the new keybinder update. Opened a project [it didn't occur sooner] in Cb (linux) and got the following informational message "No keyprofiles have been found... A default keyprofile will be set."
and then CB crashes :-(

--- End quote ---

Fixed: svn 3399.
Removed dependency on EVT_APP_STARTUP_DONE

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version