Here is some gdb info about the crash.
The error:
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1443935312 (LWP 16044)]
0x08137df0 in AssetPicon::create_objects (this=0x8d040a0) at
awindowgui.C:149
149 pixmap_w = pixmap_h *
asset->width / asset->height;
and it's due to the fact that width and height in the asset struct are
0. And the asset struct looks a bit weird to me:
========================
(gdb) p *asset
$1 = {<ListItem<Asset>> = {_vptr.ListItem = 0x8300aa8, previous = 0x0,
next = 0x0,
owner = 0x853ae30}, <GarbageObject> = {_vptr.GarbageObject = 0x8300ab8,
users = 1385, deleted = 0, title = 0x8530f10 "Asset"},
path = "/lacie/Miei/cattura.avi", '\0' <repeats 805 times>,
"/dev/dsp", '\0' <repeats 187 times>,
pipe = '\0' <repeats 828 times>,
"\020\000\000\000\000\000\000\000?\000\000\000/dev/dv1394", '\0'
<repeats 172 times>, use_pipe = 0,
folder = "Media", '\0' <repeats 1018 times>, format = 24, audio_data = 1,
channels = 2, sample_rate = 32000, bits = 16, byte_order = 0, signed_
= 0,
header = 0, dither = 0,
acodec = "\001\000os", '\0' <repeats 800 times>, "default", '\0'
<repeats 212 times>,
audio_length = 15988255, video_data = 1, layers = 0, frame_rate =
29.970029970029969,
reel_name = "cin0000", '\0' <repeats 773 times>,
"\020\000\000\000\200\000\000\002\000\000\000H,[EMAIL PROTECTED]",
'\0' <repeats 31 times>, "/dev/dsp", '\0' <repeats 167 times>,
reel_number = 0,
tcstart = 0, tcend = 0, tcformat = 0, width = 0, height = 0,
vcodec = "yuv2", '\0' <repeats 812 times>, "/dev/dsp", '\0' <repeats
199 times>,
video_length = 0, ampeg_bitrate = 256, ampeg_derivative = 3,
vorbis_min_bitrate = -1,
vorbis_bitrate = 128000, vorbis_max_bitrate = -1, vorbis_vbr = 0,
theora_fix_bitrate = 1, theora_bitrate = 860000, theora_quality = 16,
theora_sharpness = 2, theora_keyframe_frequency = 64,
theora_keyframe_force_frequency = 64, mp3_bitrate = 256000,
mp4a_bitrate = 256000,
mp4a_quantqual = 100, aspect_ratio = -1, interlace_autofixoption = 1,
interlace_mode = 0, interlace_fixmethod = 0, jpeg_quality = 100,
vmpeg_iframe_distance = 45, vmpeg_progressive = 0, vmpeg_denoise = 1,
vmpeg_seq_codes = 0, vmpeg_bitrate = 1000000, vmpeg_derivative = 1,
vmpeg_quantization = 15, vmpeg_cmodel = 0, vmpeg_fix_bitrate = 0,
vmpeg_preset = 0,
vmpeg_field_order = 0, vmpeg_pframe_distance = 0, divx_bitrate = 2000000,
divx_rc_period = 50, divx_rc_reaction_ratio = 45,
divx_rc_reaction_period = 10,
divx_max_key_interval = 250, divx_max_quantizer = 31,
divx_min_quantizer = 1,
divx_quantizer = 5, divx_quality = 5, divx_fix_bitrate = 1,
h264_bitrate = 2000000,
h264_quantizer = 5, h264_fix_bitrate = 0, divx_use_deblocking = 1,
png_use_alpha = 0,
exr_use_alpha = 0, exr_compression = 0, tiff_cmodel = 0,
tiff_compression = 0,
ms_bitrate = 1000000, ms_bitrate_tolerance = 500000, ms_interlaced = 0,
ms_quantization = 10, ms_gop_size = 45, ms_fix_bitrate = 1,
ac3_bitrate = 128,
use_header = 1, index_status = 0, index_zoom = 128, index_start = 705,
index_bytes = 606475408, index_end = 0, old_index_end = 0,
index_offsets = 0x8535c80,
index_sizes = 0x8cd7e98, index_buffer = 0x0, id = 46}
========================
I said it looks weird, because while I was debugging the loading of the
video, it detected the video format correctly: the vcodec was set to
"FFV1", width to 320 and height to 240. Then I got lost in the debugging
session, and I let gdb continue, till this error was reached.
So, I wonder where the correct asset object has gone, and where this
"yuv2" codec comes from.
The backtrace:
(gdb) bt
#0 0x08137df0 in AssetPicon::create_objects (this=0x8d040a0) at
awindowgui.C:149
#1 0x08138b2b in AWindowGUI::update_asset_list (this=0x89c3070) at
awindowgui.C:798
#2 0x08138e8b in AWindowGUI::update_assets (this=0x89c3070) at
awindowgui.C:998
#3 0x081391b8 in AWindowGUI::recieve_custom_xatoms (this=0x0,
event=0x8da2910)
at awindowgui.C:599
#4 0xb7ad32f4 in BC_WindowBase::dispatch_event (this=0x89c3070) at
bcwindowbase.C:727
#5 0xb7ad3798 in BC_WindowBase::run_window (this=0x89c3070) at
bcwindowbase.C:614
#6 0xb7ae5cbf in Thread::entrypoint (parameters=0x89c2c30) at thread.C:48
#7 0xb757dced in start_thread () from /lib/tls/libpthread.so.0
#8 0xb7400dee in clone () from /lib/tls/libc.so.6
Someone can please tell me what happened? :-O
Ciao,
Alberto
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra