ljvblfz / unyaffs

Automatically exported from code.google.com/p/unyaffs
0 stars 0 forks source link

Segmentation fault (core dumped) #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I have this issue:
Segmentation fault (core dumped)

Download the zip file:
http://download.xtreamer.net/Firmware/Prodigy/Prodigy_4.2.3B.zip

Extract the zip Prodigy_4.2.3B.zip

Extract the img file:
RTD1186-M34R-20130924-v10.1.3.r10759.QA20120302_ANDRO1005_XT_ENGLISH_XT_DVBT_Pro
digy_4.2.3.xtr/USB/install.img

Run the utility:
unyaffs yaffs2_1.img 
Segmentation fault (core dumped)

Original issue reported on code.google.com by marcora...@gmail.com on 8 Oct 2013 at 8:29

GoogleCodeExporter commented 8 years ago
The line is the following:
(gdb) run yaffs2_1.img 
Starting program: ./unyaffs yaffs2_1.img

Program received signal SIGSEGV, Segmentation fault.
0x0804877b in process_chunk () at unyaffs.c:43
43          full_path_name = (char *)malloc(strlen(oh->name) + 
strlen(obj_list[oh->parentObjectId]) + 2);

Original comment by marcora...@gmail.com on 8 Oct 2013 at 10:21