[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] e17 freeze on "App execution error" dialog and segfaults



Hello

I have a problem with mplayer. When I close mplayer e17 freeze for
about 10 seconds and after that I get "App execution error" dialog when
i try to save message e17 segfaults.

As I looked mplayer returns very long error string and probably it is
problem reason. I sent gdb output and it seems that buffer string is
messed.   

In the gdb log:
$1 is buffer variable
$2 is text variable

#0  0xb792bd28 in ___newselect_nocancel () from /lib/tls/libc.so.6
#1  0xb79e2662 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6
#2  0xb79e2a65 in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0xb79e4994 in _XReadEvents () from /usr/X11R6/lib/libX11.so.6
#4  0xb79d2ba8 in XNextEvent () from /usr/X11R6/lib/libX11.so.6
#5  0x080ccaae in e_alert_show (
    text=0x8144954 "This is very bad. Enlightenment has
segfaulted.\nThis is not meant to happen and is likely a sign of a\nbug
in Enlightenment or the libraries it relies on.\n\nYou can gdb attach
to this process now to try"...) at e_alert.c:129 #6  0x080b4f07 in
e_sigseg_act (x=11, info=0xbfdd647c, data=0xbfdd64fc) at e_signals.c:53
#7  <signal handler called> #8  0x0810f5cf in _dialog_save_cb
(data=0x82d0eb8, data2=0x82cd0c8) at e_apps_error.c:353 #9  0x080d90d3
in _e_wid_activate_hook (obj=0x82cb8e0) at e_widget_button.c:131 #10
0x080d9176 in _e_wid_signal_cb1 (data=0x82cb8e0, obj=0x82cba68,
emission=0x83a9880 "e,action,click", source=0xb7efb2f2 "") at
e_widget_button.c:154 #11 0xb7eeeda6 in _edje_emit_cb (ed=0x82cbb88,
sig=0x83a9880 "e,action,click", src=0xb7efb2f2 "") at
edje_program.c:875 #12 0xb7eeec91 in _edje_emit_handle (ed=0x82cbb88,
sig=0x83a9880 "e,action,click", src=0xb7efb2f2 "") at
edje_program.c:843 #13 0xb7ef7d2c in _edje_message_process
(em=0x82cfbc0) at edje_message_queue.c:433 #14 0xb7ef82d4 in
_edje_message_queue_process () at edje_message_queue.c:605 #15
0xb7ef750f in _edje_job (data=0x0) at edje_message_queue.c:99 #16
0xb7ea08b6 in _ecore_job_event_handler (data=0x0, type=100,
ev=0x8272d68) at ecore_job.c:75 #17 0xb7e4e8e4 in _ecore_event_call ()
at ecore_events.c:430 #18 0xb7e55b2f in
_ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:639 #19
0xb7e54ca1 in ecore_main_loop_begin () at ecore_main.c:79 #20
0x08067323 in main (argc=1, argv=0xbfe12664) at e_main.c:825 #8
0x0810f5cf in _dialog_save_cb (data=0x82d0eb8, data2=0x82cd0c8) at
e_apps_error.c:353 353		     for (i = 0;
app->read->lines[i].line != NULL; i++) 348		  tlen +=
app->read->lines[i].size + 1; 349		text = alloca(tlen +
1); 350		if (text) 351
{ 352		     text[0] = 0; 353		     for (i =
0; app->read->lines[i].line != NULL; i++) 354
{ 355			  strcat(text, "\t");
356			  strcat(text, app->read->lines[i].line);
357			  strcat(text, "\n");
358		       } 359		     snprintf(buffer,
sizeof(buffer), "Output Data:\n%s\n\n", text); 360
fwrite(buffer, sizeof(char), strlen(buffer), f); 361		  }
362	     } 363	   else 364
{ 365		snprintf(buffer, sizeof(buffer), "Output
Data:\n\tThere was no output\n\n"); 366		fwrite(buffer,
sizeof(char), strlen(buffer), f); 367	     } $1 = "Error
Information:\n\tAn exit code of 1 was returned from gmplayer\n\n", '\0'
<repeats 286 times>,
"´ \214·\000\000\000\000\000\000\000\000üO\231·`\000Þ¿<\000Þ¿á³\214·`\000Þ¿ \001Þ¿\237476\000\000\000\000\237\021Þ¿üO\231·:¡ï·|\001Þ¿L\001Þ¿ÖW\214·`\000Þ¿:¡ï·\200\001Þ¿ \001Þ¿\000\000\000\000\000\001Þ¿`\000Þ¿\001\200­û \001Þ¿ \001Þ¿ \001Þ¿ \001Þ¿ª\001Þ¿\237\021Þ¿"...
$2 = 0xbfdd67f0 "\tMPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer
Team\n\tCPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping:
9)\n\tDetected cache-line size is 64 bytes\n\tCPUflags:  MMX: 1 MMX2: 1
3DNow: 0 3DNow2: 0"... The program is running.  Quit anyway (and detach
it)? (y or n) Detaching from program: /usr/bin/enlightenment, process
14907
#0  0xb792bd28 in ___newselect_nocancel () from /lib/tls/libc.so.6
#1  0xb79e2662 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6
#2  0xb79e2a65 in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0xb79e4994 in _XReadEvents () from /usr/X11R6/lib/libX11.so.6
#4  0xb79d2ba8 in XNextEvent () from /usr/X11R6/lib/libX11.so.6
#5  0x080ccaae in e_alert_show (
    text=0x8144954 "This is very bad. Enlightenment has segfaulted.\nThis is not meant to happen and is likely a sign of a\nbug in Enlightenment or the libraries it relies on.\n\nYou can gdb attach to this process now to try"...) at e_alert.c:129
#6  0x080b4f07 in e_sigseg_act (x=11, info=0xbfdd647c, data=0xbfdd64fc) at e_signals.c:53
#7  <signal handler called>
#8  0x0810f5cf in _dialog_save_cb (data=0x82d0eb8, data2=0x82cd0c8) at e_apps_error.c:353
#9  0x080d90d3 in _e_wid_activate_hook (obj=0x82cb8e0) at e_widget_button.c:131
#10 0x080d9176 in _e_wid_signal_cb1 (data=0x82cb8e0, obj=0x82cba68, emission=0x83a9880 "e,action,click", source=0xb7efb2f2 "")
    at e_widget_button.c:154
#11 0xb7eeeda6 in _edje_emit_cb (ed=0x82cbb88, sig=0x83a9880 "e,action,click", src=0xb7efb2f2 "") at edje_program.c:875
#12 0xb7eeec91 in _edje_emit_handle (ed=0x82cbb88, sig=0x83a9880 "e,action,click", src=0xb7efb2f2 "") at edje_program.c:843
#13 0xb7ef7d2c in _edje_message_process (em=0x82cfbc0) at edje_message_queue.c:433
#14 0xb7ef82d4 in _edje_message_queue_process () at edje_message_queue.c:605
#15 0xb7ef750f in _edje_job (data=0x0) at edje_message_queue.c:99
#16 0xb7ea08b6 in _ecore_job_event_handler (data=0x0, type=100, ev=0x8272d68) at ecore_job.c:75
#17 0xb7e4e8e4 in _ecore_event_call () at ecore_events.c:430
#18 0xb7e55b2f in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:639
#19 0xb7e54ca1 in ecore_main_loop_begin () at ecore_main.c:79
#20 0x08067323 in main (argc=1, argv=0xbfe12664) at e_main.c:825
#8  0x0810f5cf in _dialog_save_cb (data=0x82d0eb8, data2=0x82cd0c8) at e_apps_error.c:353
353		     for (i = 0; app->read->lines[i].line != NULL; i++)
348		  tlen += app->read->lines[i].size + 1;
349		text = alloca(tlen + 1);
350		if (text)
351		  {
352		     text[0] = 0;
353		     for (i = 0; app->read->lines[i].line != NULL; i++)
354		       {
355			  strcat(text, "\t");
356			  strcat(text, app->read->lines[i].line);
357			  strcat(text, "\n");
358		       }
359		     snprintf(buffer, sizeof(buffer), "Output Data:\n%s\n\n", text);
360		     fwrite(buffer, sizeof(char), strlen(buffer), f);
361		  }
362	     }
363	   else
364	     {
365		snprintf(buffer, sizeof(buffer), "Output Data:\n\tThere was no output\n\n");
366		fwrite(buffer, sizeof(char), strlen(buffer), f);
367	     }
$1 = "Error Information:\n\tAn exit code of 1 was returned from gmplayer\n\n", '\0' <repeats 286 times>, "´ \214·\000\000\000\000\000\000\000\000üO\231·`\000Þ¿<\000Þ¿á³\214·`\000Þ¿ \001Þ¿\237476\000\000\000\000\237\021Þ¿üO\231·:¡ï·|\001Þ¿L\001Þ¿ÖW\214·`\000Þ¿:¡ï·\200\001Þ¿ \001Þ¿\000\000\000\000\000\001Þ¿`\000Þ¿\001\200­û \001Þ¿ \001Þ¿ \001Þ¿ \001Þ¿ª\001Þ¿\237\021Þ¿"...
$2 = 0xbfdd67f0 "\tMPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team\n\tCPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)\n\tDetected cache-line size is 64 bytes\n\tCPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0"...
The program is running.  Quit anyway (and detach it)? (y or n) Detaching from program: /usr/bin/enlightenment, process 14907