error on launching openshot using wizard1.0.2

Bug #390363 reported by reinhard

This bug report was converted into a question: question #75010: error on launching openshot using wizard1.0.2.

16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

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

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

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) wrote :

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) wrote :

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) wrote :

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

Changed in openshot:
status: New → Invalid
Revision history for this message
fredthefrenchy (frederic-segard) wrote :
  • core Edit (39.8 MiB, application/octet-stream)

Hi Jonathan,

I do not have the desktop effect and I have this problem :

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
Erreur de segmentation (core dumped)

This appears with the version I installed this morning (July - 7th) OpenShot (version 0.8.2)

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

This is probably caused by MLT or FFmpeg failing to build. Please take a look at this thread and follow these instructions. Please let me know if this helps.

https://answers.launchpad.net/openshot/+question/76506

Revision history for this message
fredthefrenchy (frederic-segard) wrote :

Using ffmpeg option 3 solves the problem.
The problem was with option 2 for ffmpeg.

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Great! I'm glad it's working now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.