On Sun, 7 May 2006, Bernhard Praschinger wrote:

Would it be possible for you to do a backtrace ? That would provide
additional information.

yuvplay does not crash, it exits (exit code 1) immediately after creating the video window. It does not print any error message or anything.

I tried stepping through the program as is was running. The result is in the attachment. Hopefully it is useful.

Dik
(gdb) step
219     in yuvplay.c
(gdb) step
mjpeg_debug (format=0x8065088 "YV12Ð\002") at mjpeg_logging.c:178
178     mjpeg_logging.c: Onbekend bestand of map.
        in mjpeg_logging.c
(gdb) backtrace
#0  mjpeg_debug (format=0x8065088 "YV12Ð\002") at mjpeg_logging.c:178
#1  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
176     in mjpeg_logging.c
(gdb) step
179     in mjpeg_logging.c
(gdb) step
mjpeg_logv (level=LOG_DEBUG, format=0x2d0 <Address 0x2d0 out of bounds>,
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:152
152     in mjpeg_logging.c
(gdb) backtrace
#0  mjpeg_logv (level=LOG_DEBUG, format=0x2d0 <Address 0x2d0 out of bounds>,
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:152
#1  0xb7f501d9 in mjpeg_debug (format=0x8049e7f "SDL: Using hardware overlay.")
    at mjpeg_logging.c:179
#2  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
151     in mjpeg_logging.c
(gdb) step
152     in mjpeg_logging.c
(gdb) step
151     in mjpeg_logging.c
(gdb) step
152     in mjpeg_logging.c
(gdb) step
160     in mjpeg_logging.c
(gdb) step
162     in mjpeg_logging.c
(gdb) step
default_mjpeg_log_handler (level=LOG_DEBUG,
    message=0x8049e7f "SDL: Using hardware overlay.") at mjpeg_logging.c:65
65      in mjpeg_logging.c
(gdb) backtrace
#0  default_mjpeg_log_handler (level=LOG_DEBUG,
    message=0x8049e7f "SDL: Using hardware overlay.") at mjpeg_logging.c:65
#1  0xb7f50191 in mjpeg_logv (level=LOG_DEBUG,
    format=0x8049e7f "SDL: Using hardware overlay.",
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:162
#2  0xb7f501d9 in mjpeg_debug (format=0x1c <Address 0x1c out of bounds>)
    at mjpeg_logging.c:179
#3  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
68      in mjpeg_logging.c
(gdb) step
default_mjpeg_log_filter (level=LOG_DEBUG) at mjpeg_logging.c:46
46      in mjpeg_logging.c
(gdb) backtrace
#0  default_mjpeg_log_filter (level=LOG_DEBUG) at mjpeg_logging.c:46
#1  0xb7f4ff89 in default_mjpeg_log_handler (level=LOG_DEBUG,
    message=0xbf8cb7c0 "SDL: Using hardware overlay.") at mjpeg_logging.c:68
#2  0xb7f50191 in mjpeg_logv (level=LOG_DEBUG,
    format=0x8049e7f "SDL: Using hardware overlay.",
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:162
#3  0xb7f501d9 in mjpeg_debug (format=0x1c <Address 0x1c out of bounds>)
    at mjpeg_logging.c:179
#4  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
48      in mjpeg_logging.c
(gdb) step
58      in mjpeg_logging.c
(gdb) step
59      in mjpeg_logging.c
(gdb) step
default_mjpeg_log_handler (level=LOG_DEBUG,
    message=0xbf8cb7c0 "SDL: Using hardware overlay.") at mjpeg_logging.c:95
95      in mjpeg_logging.c
(gdb) backtrace
#0  default_mjpeg_log_handler (level=LOG_DEBUG,
    message=0xbf8cb7c0 "SDL: Using hardware overlay.") at mjpeg_logging.c:95
#1  0xb7f50191 in mjpeg_logv (level=LOG_DEBUG,
    format=0x8049e7f "SDL: Using hardware overlay.",
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:162
#2  0xb7f501d9 in mjpeg_debug (format=0x1 <Address 0x1 out of bounds>)
    at mjpeg_logging.c:179
#3  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
0xb7f50191 in mjpeg_logv (level=LOG_DEBUG,
    format=0x8049e7f "SDL: Using hardware overlay.",
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:162
162     in mjpeg_logging.c
(gdb) backtrace
#0  0xb7f50191 in mjpeg_logv (level=LOG_DEBUG,
    format=0x8049e7f "SDL: Using hardware overlay.",
    args=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:162
#1  0xb7f501d9 in mjpeg_debug (format=0x1 <Address 0x1 out of bounds>)
    at mjpeg_logging.c:179
#2  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
mjpeg_debug (format=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:180
180     in mjpeg_logging.c
(gdb) backtrace
#0  mjpeg_debug (format=0x1 <Address 0x1 out of bounds>) at mjpeg_logging.c:180
#1  0x080499d6 in main (argc=1, argv=0x2d0) at yuvplay.c:219
(gdb) step
main (argc=1, argv=0x2d0) at yuvplay.c:223
223     yuvplay.c: Onbekend bestand of map.
        in yuvplay.c
(gdb) backtrace
#0  main (argc=1, argv=0x2d0) at yuvplay.c:223
(gdb) step
226     in yuvplay.c
(gdb) step
221     in yuvplay.c
(gdb) step
222     in yuvplay.c
(gdb) step
226     in yuvplay.c
(gdb) step
223     in yuvplay.c
(gdb) step
224     in yuvplay.c
(gdb) step
226     in yuvplay.c
(gdb) step

Program exited with code 01.
(gdb)

Reply via email to