error on launching openshot using wizard1.0.2

Asked by reinhard

Hi,

installation runs smoothly on my machine (ubuntu 9.04), but segfault when starting openshot:

reinhard@ubuntu1:~/openshot_wizard$ python ~/openshot/main/OpenShot.py
--------------------------------
Loading OpenShot (version 0.7.1)
--------------------------------
/home/reinhard/openshot/main/windows/SimpleGladeApp.py:337: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Segmentation fault
reinhard@ubuntu1:~/openshot_wizard$

The only noticable issue during installation was when testing mlt producers, because there was no avformat in the list:

reinhard@ubuntu1:~$ melt -query producers
---
producers:
  - kino
  - pgm
  - slowmotion
...
reinhard@ubuntu1:~$

aaahhhh, right now I noticed a problem in building mlt:

...
...
filter_avcolour_space.c:81: warning: initialisation makes pointer from integer without a cast
filter_avcolour_space.c:82: warning: implicit declaration of function ‘sws_scale’
filter_avcolour_space.c:84: warning: implicit declaration of function ‘sws_freeContext’
make[2]: *** [filter_avcolour_space.o] Error 1
make[2]: Leaving directory `/home/reinhard/mlt/src/modules/avformat'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/reinhard/mlt/src/modules'
make: *** [install] Error 1

btw - I've used ffmpeg that comes with the distro = 0.5-svn17737+3:0.svn20090303-1ubuntu6

Then I just launched the wizard again, and I've noticed that some more packages were installed (sorry I've forget to write them down), and mlt now compiles fine:

reinhard@ubuntu1:~/openshot_wizard$ melt -query producers
---
producers:
  - xml
  - xml-string
  - framebuffer
  - kino
  - melt
  - melt_file
  - avformat
  - pango
  - pixbuf
  - pgm
  - color
  - colour
  - consumer
  - loader
  - hold
  - noise
  - ppm
  - frei0r.ising0r
  - frei0r.lissajous0r
  - frei0r.nois0r
  - frei0r.onecol0r
  - frei0r.partik0l
  - slowmotion
  - libdv
  - vorbis
...

BUT

Now I've got this error after launch:

reinhard@ubuntu1:~/openshot_wizard$ python ~/openshot/main/OpenShot.py
--------------------------------
Loading OpenShot (version 0.7.1)
--------------------------------
/home/reinhard/openshot/main/windows/SimpleGladeApp.py:337: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
The program 'OpenShot.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 42 error_code 11 request_code 133 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
reinhard@ubuntu1:~/openshot_wizard$

btw - I have a dual monitor setup...

Anyway, please call me if you want me to do some more testing...

greetings
reinhard

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #390363.

Revision history for this message
Jonathan Thomas (jonoomph) said :
#1

Thanks for the bug report and the testing. This is a tough one. This is not a common error, and infact, I have never seen it before. I did some research on the error, and it looks like an issue with your xorg setup, or possibly a video card driver issue.

I have 2 suggestions:

1) try disabling desktop effects (although I doubt that will fix it)
2) look for an updated video card driver (probably not in the repository)

If both of those don't work, you might need to post a bug report with Ubuntu or the Xorg project. I found this same error message being reported on many different video players (such as Mplayer, Xine, VLC, etc...). So, I don't think it's anything unique to OpenShot, ya know.

Gook luck!

Revision history for this message
reinhard (protux) said :
#2

Hi,

Your first suggestion did the trick.
After turning off the desktop effects openshot started successfully.

Is this still an issue with my xorg setup, or can you change some code to fix this?
Because bug #389387 might decribe the same problem...

greetings

Revision history for this message
Jonathan Thomas (jonoomph) said :
#3

I am running Ubuntu 9.04 with desktop effects, and OpenShot works fine. I still think the issue is probably video driver related, or possibly an xorg config issue. I would recommend you post a bug to the xorg people, and see what they say. Please post a link to that bug report, so we can follow the thread.

I'm not sure bug #389387 is the same as this one. I won't know until they post a more detailed error message.

Thanks and good luck.

Revision history for this message
Jonathan Thomas (jonoomph) said :
#4

I'm converting this bug into a question, since it's not technically a bug with OpenShot.

Revision history for this message
reinhard (protux) said :
#5

OK, I will keep you informed...

Revision history for this message
Jonathan Thomas (jonoomph) said :
#6

changing status to 'solved'... as far as OpenShot is concerned. There is still an issue of course, but it seems to be with xorg / compiz.

Revision history for this message
reinhard (protux) said :
#7

hi,

here comes the conclusion ;)

In the meantime I've test another graphic controller (ati), so I had to completely uninstall the nvidia driver.
But since the new controller don't fit my needs I reinstalled the old card and since then I can run openshot also with enabled desktop effects...

So, I don't know what's the difference then, but since it is the same card again it must be an issue with some xorg settings...

greetings