After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334631 - xvsink crash with python in pitivi
xvsink crash with python in pitivi
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other Linux
: Normal normal
: 0.11.2
Assigned To: Pitivi maintainers
Pitivi maintainers
: 487457 533180 539872 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-15 10:14 UTC by Behdad Esfahbod
Modified: 2009-02-04 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log file (4.61 KB, application/x-gzip)
2006-03-15 10:51 UTC, Behdad Esfahbod
Details
debug log with head. (131.03 KB, application/x-gzip)
2006-03-15 11:32 UTC, Behdad Esfahbod
Details
again (130.25 KB, application/x-gzip)
2006-03-15 12:33 UTC, Behdad Esfahbod
Details
pitivi output (36.92 KB, text/plain)
2006-07-29 15:11 UTC, Jose M. daLuz
Details

Description Behdad Esfahbod 2006-03-15 10:14:20 UTC
When I try to run pitivi, I get an X error crash.  If I run pitivi --sync the crash happens when quitting pititiv.  Here is the stacktrace:

  • #0 gdk_x_error
    at gdkmain-x11.c line 599
  • #1 _XError
    from /usr/X11R6/lib/libX11.so.6
  • #2 _XReply
    from /usr/X11R6/lib/libX11.so.6
  • #3 _XGetWindowAttributes
    from /usr/X11R6/lib/libX11.so.6
  • #4 XGetWindowAttributes
    from /usr/X11R6/lib/libX11.so.6
  • #5 gst_xvimagesink_xvimage_put
    at xvimagesink.c line 826
  • #6 gst_xvimagesink_show_frame
    at xvimagesink.c line 1845
  • #7 gst_base_sink_render_object
    at gstbasesink.c line 858
  • #8 gst_base_sink_queue_object_unlocked
    at gstbasesink.c line 1021
  • #9 gst_base_sink_chain_unlocked
    at gstbasesink.c line 1266
  • #10 gst_base_sink_chain
    at gstbasesink.c line 1301
  • #11 gst_pad_chain
    at gstpad.c line 3172
  • #12 gst_proxy_pad_do_chain
    at gstghostpad.c line 205
  • #13 gst_pad_chain
    at gstpad.c line 3172
  • #14 gst_proxy_pad_do_chain
    at gstghostpad.c line 205
  • #15 gst_pad_chain
    at gstpad.c line 3172
  • #16 gst_pad_push
    at gstpad.c line 3271
  • #17 gst_queue_loop
    at gstqueue.c line 760
  • #18 gst_task_func
    at gsttask.c line 186
  • #19 g_thread_pool_thread_proxy
    at gthreadpool.c line 158
  • #20 g_thread_create_proxy
    at gthread.c line 582
  • #21 start_thread
    at pthread_create.c line 261
  • #22 ??
    from /lib/libc.so.6

This is pitivi HEAD, with gstreamer of CVS around the time of February releases.
Comment 1 Behdad Esfahbod 2006-03-15 10:14:48 UTC
And here is the error message:

Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 723 error_code 3 request_code 3 minor_code 0)
  (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.)
aborting...

Comment 2 Edward Hervey 2006-03-15 10:39:56 UTC
re-assigning to PiTiVi, this is a bad use within the program
Comment 3 Edward Hervey 2006-03-15 10:42:09 UTC
behdad, could you try again with latest CVS, the following commit should have fixed the issue.

2006-03-15  Edward Hervey  <edward@fluendo.com>

	* pitivi/pitivi.py:
	* pitivi/playground.py:
	Implement shutdown method for properly exiting PiTiVi
	* pitivi/ui/mainwindow.py:
	Use instance.PiTiVi.shutdown() when quitting

Comment 4 Behdad Esfahbod 2006-03-15 10:48:24 UTC
Still the same.
Comment 5 Behdad Esfahbod 2006-03-15 10:51:22 UTC
Created attachment 61285 [details]
log file

Result of GST_DEBUG=3,python:5 bin/pitivi > log 2>&1
Comment 6 Behdad Esfahbod 2006-03-15 11:30:33 UTC
Same with gst stack from HEAD.

This is the error message I get on startup running pitivi:

[behdad@home ~]$ pitivi

Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 33 error_code 3 request_code 3 minor_code 0)
  (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.)
aborting...
Aborted


And this is with --sync and close pitivi by clicking on the X in window decoration:

[behdad@home ~]$ pitivi --sync
/home/behdad/.local/lib/pitivi/python/pitivi/ui/ruler.py:140: DeprecationWarning: integer argument expected, got float
  for i in range(self.border, allocation.width, self.get_zoom_ratio()):

Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 228 error_code 3 request_code 3 minor_code 0)
  (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.)
aborting...
Aborted

Closing via File menu doesn't crash.

Comment 7 Behdad Esfahbod 2006-03-15 11:32:37 UTC
Created attachment 61290 [details]
debug log with head.

output of GST_DEBUG=5 .local/bin/pitivi > log 2>&1 with HEAD gstreamer.
Comment 8 Behdad Esfahbod 2006-03-15 11:58:53 UTC
Backtrace for the startup crash, with HEAD stuff.  This is probably nonsense
because it's not --sync'ed.

  • #0 gdk_x_error
    at gdkmain-x11.c line 599
  • #1 _XError
    from /usr/X11R6/lib/libX11.so.6
  • #2 _XReply
    from /usr/X11R6/lib/libX11.so.6
  • #3 _XGetWindowAttributes
    from /usr/X11R6/lib/libX11.so.6
  • #4 XGetWindowAttributes
    from /usr/X11R6/lib/libX11.so.6
  • #5 gst_xvimagesink_set_xwindow_id
    at xvimagesink.c line 2142
  • #6 gst_x_overlay_set_xwindow_id
    at xoverlay.c line 164
  • #7 _wrap_gst_x_overlay_set_xwindow_id
    at interfaces.c line 529
  • #8 PyCFunction_Call
    from /usr/lib/libpython2.4.so.1.0
  • #9 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #10 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #11 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #12 PyFunction_SetClosure
    from /usr/lib/libpython2.4.so.1.0
  • #13 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #14 PyMethod_Fini
    from /usr/lib/libpython2.4.so.1.0
  • #15 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #16 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.4.so.1.0
  • #17 PyObject_CallObject
    from /usr/lib/libpython2.4.so.1.0
  • #18 pyg_closure_marshal
    at pygtype.c line 1092
  • #19 g_closure_invoke
    at gclosure.c line 490
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2508
  • #21 g_signal_emit_valist
    at gsignal.c line 2197
  • #22 g_signal_emit
    at gsignal.c line 2241
  • #23 gtk_widget_realize
    at gtkwidget.c line 2367
  • #24 gtk_widget_map
    at gtkwidget.c line 2284
  • #25 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #26 gtk_frame_forall
    at gtkframe.c line 303
  • #27 gtk_container_forall
    at gtkcontainer.c line 1261
  • #28 gtk_container_map
    at gtkcontainer.c line 2395
  • #29 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #30 g_type_class_meta_marshal
    at gclosure.c line 567
  • #31 g_closure_invoke
    at gclosure.c line 490
  • #32 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #33 g_signal_emit_valist
    at gsignal.c line 2197
  • #34 g_signal_emit
    at gsignal.c line 2241
  • #35 gtk_widget_map
    at gtkwidget.c line 2286
  • #36 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #37 gtk_box_forall
    at gtkbox.c line 703
  • #38 gtk_container_forall
    at gtkcontainer.c line 1261
  • #39 gtk_container_map
    at gtkcontainer.c line 2395
  • #40 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #41 g_type_class_meta_marshal
    at gclosure.c line 567
  • #42 g_closure_invoke
    at gclosure.c line 490
  • #43 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #44 g_signal_emit_valist
    at gsignal.c line 2197
  • #45 g_signal_emit
    at gsignal.c line 2241
  • #46 gtk_widget_map
    at gtkwidget.c line 2286
  • #47 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #48 gtk_frame_forall
    at gtkframe.c line 303
  • #49 gtk_container_forall
    at gtkcontainer.c line 1261
  • #50 gtk_container_map
    at gtkcontainer.c line 2395
  • #51 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #52 g_type_class_meta_marshal
    at gclosure.c line 567
  • #53 g_closure_invoke
    at gclosure.c line 490
  • #54 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #55 g_signal_emit_valist
    at gsignal.c line 2197
  • #56 g_signal_emit
    at gsignal.c line 2241
  • #57 gtk_widget_map
    at gtkwidget.c line 2286
  • #58 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #59 gtk_paned_forall
    at gtkpaned.c line 1098
  • #60 gtk_container_forall
    at gtkcontainer.c line 1261
  • #61 gtk_container_map
    at gtkcontainer.c line 2395
  • #62 gtk_paned_map
    at gtkpaned.c line 730
  • #63 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #64 g_type_class_meta_marshal
    at gclosure.c line 567
  • #65 g_closure_invoke
    at gclosure.c line 490
  • #66 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #67 g_signal_emit_valist
    at gsignal.c line 2197
  • #68 g_signal_emit
    at gsignal.c line 2241
  • #69 gtk_widget_map
    at gtkwidget.c line 2286
  • #70 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #71 gtk_paned_forall
    at gtkpaned.c line 1096
  • #72 gtk_container_forall
    at gtkcontainer.c line 1261
  • #73 gtk_container_map
    at gtkcontainer.c line 2395
  • #74 gtk_paned_map
    at gtkpaned.c line 730
  • #75 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #76 g_type_class_meta_marshal
    at gclosure.c line 567
  • #77 g_closure_invoke
    at gclosure.c line 490
  • #78 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #79 g_signal_emit_valist
    at gsignal.c line 2197
  • #80 g_signal_emit
    at gsignal.c line 2241
  • #81 gtk_widget_map
    at gtkwidget.c line 2286
  • #82 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #83 gtk_box_forall
    at gtkbox.c line 703
  • #84 gtk_container_forall
    at gtkcontainer.c line 1261
  • #85 gtk_container_map
    at gtkcontainer.c line 2395
  • #86 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #87 g_type_class_meta_marshal
    at gclosure.c line 567
  • #88 g_closure_invoke
    at gclosure.c line 490
  • #89 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #90 g_signal_emit_valist
    at gsignal.c line 2197
  • #91 g_signal_emit
    at gsignal.c line 2241
  • #92 gtk_widget_map
    at gtkwidget.c line 2286
  • #93 gtk_window_map
    at gtkwindow.c line 4069
  • #94 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #95 g_type_class_meta_marshal
    at gclosure.c line 567
  • #96 g_closure_invoke
    at gclosure.c line 490
  • #97 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #98 g_signal_emit_valist
    at gsignal.c line 2197
  • #99 g_signal_emit
    at gsignal.c line 2241
  • #100 gtk_widget_map
    at gtkwidget.c line 2286
  • #101 gtk_window_show
    at gtkwindow.c line 4034
  • #102 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #103 g_type_class_meta_marshal
    at gclosure.c line 567
  • #104 g_closure_invoke
    at gclosure.c line 490
  • #105 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #106 g_signal_emit_valist
    at gsignal.c line 2197
  • #107 g_signal_emit
    at gsignal.c line 2241
  • #108 gtk_widget_show
    at gtkwidget.c line 2093
  • #109 gtk_container_show_all
    at gtkcontainer.c line 2325
  • #110 gtk_widget_show_all
    at gtkwidget.c line 2241
  • #111 _wrap_gtk_widget_show_all
    at gtk.c line 5863
  • #112 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #113 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #114 PyFunction_SetClosure
    from /usr/lib/libpython2.4.so.1.0
  • #115 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #116 PyMethod_Fini
    from /usr/lib/libpython2.4.so.1.0
  • #117 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #118 _PyObject_SlotCompare
    from /usr/lib/libpython2.4.so.1.0
  • #119 PyType_IsSubtype
    from /usr/lib/libpython2.4.so.1.0
  • #120 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #121 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #122 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #123 PyFunction_SetClosure
    from /usr/lib/libpython2.4.so.1.0
  • #124 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #125 PyMethod_Fini
    from /usr/lib/libpython2.4.so.1.0
  • #126 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #127 _PyObject_SlotCompare
    from /usr/lib/libpython2.4.so.1.0
  • #128 PyType_IsSubtype
    from /usr/lib/libpython2.4.so.1.0
  • #129 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #130 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #131 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #132 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #133 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #134 PyEval_EvalCode
    from /usr/lib/libpython2.4.so.1.0
  • #135 PyErr_Display
    from /usr/lib/libpython2.4.so.1.0
  • #136 PyRun_SimpleFileExFlags
    from /usr/lib/libpython2.4.so.1.0
  • #137 PyRun_AnyFileExFlags
    from /usr/lib/libpython2.4.so.1.0
  • #138 Py_Main
    from /usr/lib/libpython2.4.so.1.0
  • #139 main

Comment 9 Behdad Esfahbod 2006-03-15 12:33:57 UTC
Created attachment 61292 [details]
again

Still the same.  Attaching the log after a clean rebuild of all modules (gst*, gnonlin, pitivi) as suggested by bilboed.
Comment 10 Edward Hervey 2006-04-10 17:14:55 UTC
does it still fail with current head ?
Comment 11 Behdad Esfahbod 2006-04-11 01:33:22 UTC
Humm, I had to remove my gstreamer build tree.  Feel free to close it, or leave it open and I will eventually retry...
Comment 12 Edward Hervey 2006-04-20 16:16:47 UTC
Closing bug until behdad finds the power to try it again :)
The new error system should give some info it's really gstreamer related.
Comment 13 Jose M. daLuz 2006-07-29 14:53:36 UTC
I ran into the same problem with 0.10.1 under Gnome 2.15.90 on Gentoo/AMD64. So after seeing this bug I checked out CVS, which still has the same problem. Here's a stacktrace:

Starting program: /usr/bin/python /usr/bin/pitivi
[Thread debugging using libthread_db enabled]
[New Thread 47896172707968 (LWP 9239)]
[New Thread 1082132816 (LWP 9273)]
[Thread 1082132816 (LWP 9273) exited]
[New Thread 1082132816 (LWP 9276)]
[Thread 1082132816 (LWP 9276) exited]
[New Thread 1082132816 (LWP 9277)]
[Thread 1082132816 (LWP 9277) exited]
[New Thread 1082132816 (LWP 9290)]

Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 24 error_code 3 request_code 3 minor_code 0)
  (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.)
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 47896172707968 (LWP 9239)]
0x00002b8fb2b311fc in IA__g_logv (log_domain=0x2b8fb351c9f3 "Gdk", log_level=<value optimized out>, format=0x2b8fb35391c1 "%s", args1=0x7ffff8ec0fe0) at gmessages.c:493
493     gmessages.c: No such file or directory.
        in gmessages.c
(gdb) thread apply all bt

Thread 1 (Thread 47896172707968 (LWP 9239))

  • #0 IA__g_logv
    at gmessages.c line 493
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 gdk_x_error
    at gdkmain-x11.c line 635
  • #3 _XError
    at XlibInt.c line 2888
  • #4 _XReply
    at XlibInt.c line 1817
  • #5 _XGetWindowAttributes
    at GetWAttrs.c line 116
  • #6 XGetWindowAttributes
    at GetWAttrs.c line 151
  • #7 gst_xvimagesink_set_xwindow_id
    at xvimagesink.c line 2325
  • #8 _wrap_gst_x_overlay_set_xwindow_id
    at interfaces.c line 533
  • #9 PyEval_EvalFrame
    at Python/ceval.c line 3563
  • #10 PyEval_EvalFrame
    at Python/ceval.c line 3645
  • #11 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #12 function_call
    at Objects/funcobject.c line 548
  • #13 PyObject_Call
    at Objects/abstract.c line 1795
  • #14 instancemethod_call
    at Objects/classobject.c line 2447
  • #15 PyObject_Call
    at Objects/abstract.c line 1795
  • #16 PyEval_CallObjectWithKeywords
    at Python/ceval.c line 3430
  • #17 pyg_closure_marshal
    at pygtype.c line 1107
  • #18 IA__g_closure_invoke
    at gclosure.c line 490
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2508
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #21 IA__g_signal_emit
    at gsignal.c line 2241
  • #22 IA__gtk_widget_realize
    at gtkwidget.c line 2486
  • #23 IA__gtk_widget_map
    at gtkwidget.c line 2403
  • #24 gtk_frame_forall
    at gtkframe.c line 270
  • #25 gtk_container_map
    at gtkcontainer.c line 2395
  • #26 IA__g_closure_invoke
    at gclosure.c line 490
  • #27 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #28 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #29 IA__g_signal_emit
    at gsignal.c line 2241
  • #30 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #31 gtk_box_forall
    at gtkbox.c line 670
  • #32 gtk_container_map
    at gtkcontainer.c line 2395
  • #33 IA__g_closure_invoke
    at gclosure.c line 490
  • #34 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #35 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #36 IA__g_signal_emit
    at gsignal.c line 2241
  • #37 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #38 gtk_container_map
    at gtkcontainer.c line 2395
  • #39 IA__g_closure_invoke
    at gclosure.c line 490
  • #40 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #41 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #42 IA__g_signal_emit
    at gsignal.c line 2241
  • #43 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #44 gtk_paned_forall
    at gtkpaned.c line 1064
  • #45 gtk_container_map
    at gtkcontainer.c line 2395
  • #46 IA__g_closure_invoke
    at gclosure.c line 490
  • #47 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #48 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #49 IA__g_signal_emit
    at gsignal.c line 2241
  • #50 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #51 gtk_box_forall
    at gtkbox.c line 670
  • #52 gtk_container_map
    at gtkcontainer.c line 2395
  • #53 IA__g_closure_invoke
    at gclosure.c line 490
  • #54 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #55 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #56 IA__g_signal_emit
    at gsignal.c line 2241
  • #57 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #58 gtk_window_map
    at gtkwindow.c line 4103
  • #59 IA__g_closure_invoke
    at gclosure.c line 490
  • #60 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #61 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #62 IA__g_signal_emit
    at gsignal.c line 2241
  • #63 IA__gtk_widget_map
    at gtkwidget.c line 2405
  • #64 gtk_window_show
    at gtkwindow.c line 4068
  • #65 IA__g_closure_invoke
    at gclosure.c line 490
  • #66 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #67 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #68 IA__g_signal_emit
    at gsignal.c line 2241
  • #69 IA__gtk_widget_show
    at gtkwidget.c line 2212
  • #70 _wrap_gtk_widget_show_all
    at gtk.c line 7283
  • #71 PyEval_EvalFrame
    at Python/ceval.c line 3547
  • #72 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #73 function_call
    at Objects/funcobject.c line 548
  • #74 PyObject_Call
    at Objects/abstract.c line 1795
  • #75 instancemethod_call
    at Objects/classobject.c line 2447
  • #76 PyObject_Call
    at Objects/abstract.c line 1795
  • #77 slot_tp_init
    at Objects/typeobject.c line 4759
  • #78 type_call
    at Objects/typeobject.c line 435
  • #79 PyObject_Call
    at Objects/abstract.c line 1795
  • #80 PyEval_EvalFrame
    at Python/ceval.c line 3771
  • #81 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #82 function_call
    at Objects/funcobject.c line 548
  • #83 PyObject_Call
    at Objects/abstract.c line 1795
  • #84 instancemethod_call
    at Objects/classobject.c line 2447
  • #85 PyObject_Call
    at Objects/abstract.c line 1795
  • #86 slot_tp_init
    at Objects/typeobject.c line 4759
  • #87 type_call
    at Objects/typeobject.c line 435
  • #88 PyObject_Call
    at Objects/abstract.c line 1795
  • #89 PyEval_EvalFrame
    at Python/ceval.c line 3771
  • #90 PyEval_EvalFrame
    at Python/ceval.c line 3645
  • #91 PyEval_EvalFrame
    at Python/ceval.c line 3645
  • #92 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #93 PyEval_EvalCode
    at Python/ceval.c line 484
  • #94 run_node
    at Python/pythonrun.c line 1265
  • #95 PyRun_SimpleFileExFlags
    at Python/pythonrun.c line 860
  • #96 Py_Main
    at Modules/main.c line 493
  • #97 __libc_start_main
    at libc-start.c line 238
  • #98 _start

Comment 14 Jose M. daLuz 2006-07-29 15:11:56 UTC
Created attachment 69877 [details]
pitivi output

Here's the output from pitivi --gst-debug-no-color  --gst-debug-level=3
3 was the highest debug level I could use without creating multi-megabyte files. There was no gst debugging output from 1 or 2.
Comment 15 lists 2006-09-23 03:53:45 UTC
This is still a problem for Ubuntu users in Edgy (the development version) using Pitivi 0.10.1:
https://launchpad.net/distros/ubuntu/+source/pitivi/+bug/58626

Is there any suggestion that this is fixed or is it just that the original reporter is no longer complaining?
"Closing bug until behdad finds the power to try it again :)"
Can we please reopen it? I am happy to run any tests/commands you ask me to.
Comment 16 Edward Hervey 2007-11-11 12:47:41 UTC
and it's still happening :(
Comment 17 Edward Hervey 2007-11-11 12:47:59 UTC
*** Bug 487457 has been marked as a duplicate of this bug. ***
Comment 18 lists 2008-04-06 03:42:44 UTC
This works for me in Hardy Beta (PiTiVi v0.11.1)
Comment 19 Edward Hervey 2008-09-04 14:57:08 UTC
*** Bug 533180 has been marked as a duplicate of this bug. ***
Comment 20 Edward Hervey 2008-09-04 14:57:22 UTC
*** Bug 539872 has been marked as a duplicate of this bug. ***
Comment 21 Edward Hervey 2008-09-04 15:00:49 UTC
    So... the real issue was writing to a non-existing XID.

    This is now solved by calling gtk.gdk.display_get_default().sync() before
    calling self.set_xwindow_id().

    If this screws up again... I'm lost as to what is to do.

    2008-09-04  Edward Hervey  <edward.hervey@collabora.co.uk>

            * pitivi/ui/viewer.py:
            Call gtk.gdk.display_get_default().sync() before the initial call to
            set_xwindow_id().
            Fixes #334631  ... hopefully FOR EVER !

Comment 22 Marco Pallotta 2009-02-02 16:32:16 UTC
Edward Hervey, the bug is still present in version 0.11.1 (Ubuntu Hardy x86_64), but you sayd that it's fixed. You fixed it in next versions?
Comment 23 Marco Pallotta 2009-02-02 16:33:14 UTC
I forgot to post the error:
The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 128 error_code 2 request_code 140 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.)
Comment 24 Edward Hervey 2009-02-04 13:23:57 UTC
The bug was fixed in 0.11.2 or 0.11.3 .