Error

About the GUI application to design signal processing pipelines
Post Reply
Nicolas
Posts: 10
Joined: Wed Feb 18, 2009 5:00 pm

Error

Post by Nicolas »

I am currently encountering an error I don't understand.

It used to work fine a few days ago, and I can't figure out what has changed.

The error is in designer-dynamic.exe on line 2612.

The critical error is GdkPixbuf : gdk_pixbuf_get_pixels : assertion `pixbuf != NULL` failed.

Does anyone have a solution or should I try to uninstall and reinstall ? (I tried to recompile but it didn't work).

Thank you.

vdelanno
Posts: 14
Joined: Mon Feb 09, 2009 5:10 pm

Post by vdelanno »

OK, does the crash occur upon a specific event/action? (scenario opening, box clicked or dropped in scenario... ?)

Don't uninstall the app for now, I believe that won't help... We'll try and fix the bug

Nicolas
Posts: 10
Joined: Wed Feb 18, 2009 5:00 pm

Post by Nicolas »

No the crash happens just at startup of designer.

The cmd runs normally and the crash happens just when the other window appears.

vdelanno
Posts: 14
Joined: Mon Feb 09, 2009 5:10 pm

Post by vdelanno »

First off, I'd suggest lowering the log level to Debug in the configuration manager so we can determine what's going on at the time of the crash.

The configuration file is in /share/openvibe.conf (precompiled version) or openvibe-kernel-omk/trunc/share/openvibe.conf (svn version, must build again for changes to take effect!).

Tokens to edit :

Kernel_MainLogLevel = Debug
Kernel_ConsoleLogLevel = Debug
Kernel_FileLogLevel = Debug

Please post the last lines of the log file dumped in lib/openvibe-designer.log (precompiled version) or /dist/share/openvibe-designer.log

What version are you using and on what machine/OS?

Thanks;

Nicolas
Posts: 10
Joined: Wed Feb 18, 2009 5:00 pm

Post by Nicolas »

Here are the last lines of the logs

Code: Select all

[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[ DEBUG ] Searching plugin object descriptor
[  INF  ] Initialization took 19321 ms
[ DEBUG ] scenarioDrawingAreaMotionNotifyCB
I'm using windows vista SP1

vdelanno
Posts: 14
Joined: Mon Feb 09, 2009 5:10 pm

Post by vdelanno »

Bug unheard of so far!

the crash message is actually more helpful. am going to make the code more robust & investigate how this pixbuf can be NULL.

This seems to be a Gtk issue. No idea why it used to work on your machine though

vdelanno
Posts: 14
Joined: Mon Feb 09, 2009 5:10 pm

Post by vdelanno »

OK, assuming you're using the svn version of OpenViBE, you can update your openvibe-applications/designer/trunc source tree which includes more robust code.

This might fix your problem after a rebuild of the software!

Nicolas
Posts: 10
Joined: Wed Feb 18, 2009 5:00 pm

Post by Nicolas »

It's working.

Thank you very much.

Edit: In fact I still can't create scenarios still due to gdk problems. But I can visualise existing scenarios just fine.

vdelanno
Posts: 14
Joined: Mon Feb 09, 2009 5:10 pm

Post by vdelanno »

OK, well it'd be nice to fix the problem though ;) What exactly is the problem when drag and dropping a box?

Alternately, if you recompile in debug mode (see "building the software" forum category) you'll be able to trace the program yourself.

It seems your gtk/gdk installation was altered somehow, if it used to work correctly. Might be a good idea to try reinstalling the software after all! (or at least its dependencies using the dedicated script in /scripts)

Hope that helps...

Post Reply