[Qt-interest] QtScript segfault on C++ signal (dis)connection/firing

Sean M. Pappalardo pegasus at renegadetech.com
Wed Jan 7 13:56:42 CET 2009


Hi, Kent. Thanks for your speedy reply.

Kent Hansen wrote:
> Hi Sean,
> Any chance you can share the application and/or reduce it to a test case
> that reproduces the problem? That would be extremely helpful. Feel free
> to reply to me in private.

Sorry, I forgot to mention this is for Mixxx, an open-source DJ
application. I tried to be as general as possible so as not to require
familiarity with the Mixxx code. :)

You can download the source from SVN trunk. http://www.mixxx.org has all
the info. Our wiki with build instructions is here:
http://www.mixxx.org/wiki/doku.php/

The part I'm working on is MIDI Scripting. See the wiki page here:
http://www.mixxx.org/wiki/doku.php/midi_scripting , specifically the
Automatic Reactions bit at the bottom. Then look at connectControl() in
trunk/src/script/midiscriptengine.cpp, starting at line 223. This is the
function the QtScript(s) can call to (dis)connect signals. The signals
of interest are emitted in controlobject.cpp starting at line 149.
(They're emitted in many other places too but these are the main ones.)

(Note: the ControlObject code is poorly-designed and we're well aware of
that.)

Let me know if you need any more info or for me to test something.

Sincerely,
Sean M. Pappalardo

<<--------------------------------------------------------------------------------->>
This E-Mail message has been scanned for viruses
and cleared by >>SmartMail<< from Smarter Technology, Inc.
<<--------------------------------------------------------------------------------->>



More information about the Qt-interest-old mailing list