i got into ssh ant runing ants_dvr makes segmentation fault .......
dmesg go like that:
Linux version 3.0.8 (root@sqy-desktop) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #82 Fri Oct 17 16:28:21 CST 2014
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3520d
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 37632
free_area_init_node: node 0, pgdat c03cb448, node_mem_map c0419000
Normal zone: 294 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 37338 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 37338
Kernel command line: mem=147M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs mtdparts=hi_sfc:320K(uboot),1536K(kernel),4M(rfs),25792K(app),768K(config),256K(logo)
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 147MB = 147MB total
Memory: 144904k/144904k available, 5624k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc9800000 - 0xfe000000 ( 840 MB)
lowmem : 0xc0000000 - 0xc9300000 ( 147 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0023000 ( 108 kB)
.text : 0xc0023000 - 0xc03b0000 (3636 kB)
.data : 0xc03b0000 - 0xc03cbac0 ( 111 kB)
.bss : 0xc03cbae4 - 0xc0418020 ( 306 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:128 nr_irqs:128 128
sched_clock: 32 bits at 82MHz, resolution 12ns, wraps every 52060ms
Console: colour dummy device 80x30
Calibrating delay loop... 1318.91 BogoMIPS (lpj=6594560)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2
uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 42) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
L2cache cache controller enabled
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) Š 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 283
encryption fail
no ack
sha204_sn is 1
sha204_sn is 23
sha204_sn is 5a
sha204_sn is 85
sha204_sn is 92
sha204_sn is 7b
sha204_sn is 48
sha204_sn is bc
sha204_sn is ee
no ack
count is 255
no ack
no ack
no ack
no ack
no ack
count is 255
no ack
no ack
no ack
no ack
no ack
count is 255
no ack
no ack
no ack
no ack
no ack
count is 255
no ack
no ack
no ack
no ack
no ack
count is 255
no ack
no ack
no ack
no ack
no ack
count is 255
no ack
no ack
count is 15
no ack
sha204_devinfo is 11 i is 0
g_sha204_delay_time is 20
sha204_sn is 1
sha204_sn is 23
sha204_sn is 5a
sha204_sn is 85
sha204_sn is 92
sha204_sn is 7b
sha204_sn is 48
sha204_sn is bc
sha204_sn is ee
sha204_devinfo is 44 i is 0
sha204_devinfo is 56 i is 1
sha204_devinfo is 52 i is 2
sha204_devinfo is 32 i is 3
sha204_devinfo is 33 i is 4
sha204_devinfo is 35 i is 5
sha204_devinfo is 31 i is 6
sha204_devinfo is 35 i is 7
sha204_devinfo is 30 i is 8
sha204_devinfo is 34 i is 9
sha204_devinfo is 1 i is 10
sha204_devinfo is 53 i is 11
sha204_devinfo is 0 i is 12
sha204_devinfo is 0 i is 13
sha204_devinfo is 0 i is 14
sha204_devinfo is 0 i is 15
TempKey is e8
TempKey is af
TempKey is e8
TempKey is 5b
TempKey is d
TempKey is 20
TempKey is 6b
TempKey is a8
TempKey is 57
TempKey is 5c
TempKey is 38
TempKey is 15
TempKey is e2
TempKey is 6d
TempKey is ea
TempKey is ea
TempKey is 1e
TempKey is 37
TempKey is 84
TempKey is a2
TempKey is 6f
TempKey is fc
TempKey is 64
TempKey is 8b
TempKey is 23
TempKey is 0
TempKey is f6
TempKey is 59
TempKey is 98
TempKey is ca
TempKey is 47
TempKey is aa
encryption ok
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc sxs boh
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x100 irq 52
ata2: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x180 irq 52
Spi id table Version 1.22
Hisilicon Spi Flash Controller V350 Device Driver, Version 1.10
Spi(cs1) ID: 0x01 0x02 0x19 0x4D 0x01 0x80
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:32MB
Name:"S25FL256S"
spi size: 0x33554432
chip num: 1
6 cmdlinepart partitions found on MTD device hi_sfc
Creating 6 MTD partitions on "hi_sfc":
0x000000000000-0x000000050000 : "uboot"
0x000000050000-0x0000001d0000 : "kernel"
0x0000001d0000-0x0000005d0000 : "rfs"
0x0000005d0000-0x000001f00000 : "app"
0x000001f00000-0x000001fc0000 : "config"
0x000001fc0000-0x000002000000 : "logo"
Fixed MDIO Bus: probed
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-9: WDC WD7500BFCX-68N6GN0, 82.00A82, max UDMA/133
ata1.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA WDC WD7500BFCX-6 82.0 PQ: 0 ANSI: 5
scsi 0:0:0:0: Attached scsi generic sg0 type 0
himii: probed
Invalid HW-MAC Address: 00:00:00:00:00:00
Set Random MAC address: B6:58:0F:D2:EF:10
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ata2: SATA link down (SStatus 0 SControl 300)
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
registered taskstats version 1
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing init memory: 108K
udevd (492): /proc/492/oom_adj is deprecated, please use /proc/492/oom_score_adj instead.
Hisilicon Media Memory Zone Manager
hi3520D_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
load sys.ko ...OK!
Load tde.ko ...OK!
load venc.ko ...OK!
load group.ko ...OK!
load chnl.ko ...OK!
load h264e.ko ...OK!
load rc.ko ...OK!
load jpege.ko ...OK!
load viu.ko ...OK!
load vou.ko ....OK!
load vpss.ko ....OK!
load vda.ko ....OK!
load region.ko ....OK!
load vdec.ko ....OK
load vhd firmware.ko OK
load hdmi.ko ....OK!
Load hi_jpegdec.ko success. (SDK_VERSION:[SDK_VERSION] Build Time:[Apr 15 2015, 20:12:57])
HISI_IRDA-MF @Hi3520Dv100R00
hiir: init ok. ver=Nov 26 2013, 15:14:13.
sd 0:0:0:0: [sda] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 < sda5 >
sd 0:0:0:0: [sda] Attached SCSI disk
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
PPP generic driver version 2.4.2
PHY: himii:03 - Link is Up - 100/Full
JFFS2 warning: (497) jffs2_do_read_inode_internal: Truncating ino #261 to 1580542 bytes failed because it only had 679936 bytes to start with!
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
[GPIO] GPIOGET_WATCHDOG Enable chardata = 1!!!
***link down status changed***.
PHY: himii:03 - Link is Down
PHY: himii:03 - Link is Up - 100/Full
#
running ants_dvr:
# ants_dvr
begin dvr//////////////////////////////////////////////////////////////
argc 1, argv ants_dvr
g_iDevType 153
open /usr/etc/mycfg.xml
open /root/res_xml/Keyboard.xml
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ350] QLinuxFbScreen::connect :0
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ379]
open /dev/fb0
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ397] open device /dev/fb0 success
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ425]
open /usr/etc/mycfg.xml
open /root/DeviceDisplay.xml
DBG[embedded/qscreenlinuxfb_qws.cpp getScreenInfoĄĄ307] file doesn't exists
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ469] vinfo.xres 1024 768
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ481] d_ptr->fd 8 vinfo xres 1024, xres_virtual1024
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ513] screen vinfo
bits_per_pixel 16
r g b 5 5 5
d = 15
finfo.line_length 2048
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ554] dw is 1024,dh is 768 lstep 2048
DBG[embedded/qscreenlinuxfb_qws.cpp connectĄĄ600]
mmap fb0 : d_ptr->fd 8, data 1089155072, mapsize 4300800
open /usr/etc/mycfg.xml
open /root/res/language_English.qm
open /root/res/LanguageInfo.xml
open /root/res/default.qss
erro[antsMainDlg.cpp signalHandlerĄĄ1279] signo 11
open /usr/etc/myExceptionState.xml
open /usr/etc/myExceptionState.xml
open /usr/etc/myExceptionInfo.data
################################ stack dump
iStack [becb79b4] = 40e25998 object:/lib/libc.so.0 0x40e19000 symbol:__default_sa_restorer [0x40e25998+0x0]
iStack [becb79b8] = 5ac3c35a object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x5ac3c35a]
iStack [becb79bc] = 182a630 object:ants_dvr 0x8000 symbol: [0x0+0x182a630]
iStack [becb79c0] = 40ead0a8 object:/lib/libc.so.0 0x40e19000 symbol:__malloc_lock [0x40ead0a8+0x0]
iStack [becb79c4] = cd78cddf object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xcd78cddf]
iStack [becb79c8] = cd78cddf object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xcd78cddf]
iStack [becb79cc] = e
iStack [becb79d0] = 17
iStack [becb79d4] = 0
iStack [becb79d8] = becb8704 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8704]
iStack [becb79dc] = 7198
iStack [becb79e0] = e9975c object:ants_dvr 0x8000 symbol: [0x0+0xe9975c]
iStack [becb79e4] = e925c4 object:ants_dvr 0x8000 symbol: [0x0+0xe925c4]
iStack [becb79e8] = 0
iStack [becb79ec] = 182b950 object:ants_dvr 0x8000 symbol: [0x0+0x182b950]
iStack [becb79f0] = ffff0fc0 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xffff0fc0]
iStack [becb79f4] = becb870c object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb870c]
iStack [becb79f8] = becb86b0 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb86b0]
iStack [becb79fc] = becb8770 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8770]
iStack [becb7a00] = becb7ccc object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb7ccc]
iStack [becb7a04] = becb8710 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8710]
iStack [becb7a08] = e8fa48 object:ants_dvr 0x8000 symbol: [0x0+0xe8fa48]
iStack [becb7a0c] = becb7ca8 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb7ca8]
iStack [becb7a10] = 1e148 object:ants_dvr 0x8000 symbol: [0x0+0x1e148]
iStack [becb7a14] = 2049a0 object:ants_dvr 0x8000 symbol: [0x0+0x2049a0]
iStack [becb7a18] = 20000010 object:ants_dvr 0x8000 symbol: [0x0+0x20000010]
iStack [becb7a1c] = d0
iStack [becb7a20] = 0
iStack [becb7a24] = 0
iStack [becb7a28] = becb7a78 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb7a78]
............
iStack [becb7ca0] = ffff0fc0 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xffff0fc0]
iStack [becb7ca4] = becb870c object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb870c]
iStack [becb7ca8] = becb8704 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8704]
iStack [becb7cac] = 1e148 object:ants_dvr 0x8000 symbol: [0x0+0x1e148]
iStack [becb7cb0] = becb8774 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8774]
iStack [becb7cb4] = 40054000 object:/lib/libgcc_s.so.1 0x4003e000 symbol: [0x0+0x40054000]
iStack [becb7cb8] = 40ead0a8 object:/lib/libc.so.0 0x40e19000 symbol:__malloc_lock [0x40ead0a8+0x0]
iStack [becb7cbc] = becb85a4 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb85a4]
iStack [becb7cc0] = becb876c object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb876c]
iStack [becb7cc4] = becb8728 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xbecb8728]
iStack [becb7cc8] = cd78cddf object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0xcd78cddf]
iStack [becb7ccc] = 182b850 object:ants_dvr 0x8000 symbol: [0x0+0x182b850]
iStack [becb7cd0] = 6f6f722f object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x6f6f722f]
iStack [becb7cd4] = 65722f74 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x65722f74]
iStack [becb7cd8] = 614c2f73 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x614c2f73]
iStack [becb7cdc] = 6175676e object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x6175676e]
iStack [becb7ce0] = 6e496567 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x6e496567]
iStack [becb7ce4] = 782e6f66 object:/lib/libc.so.0 0x40e19000 symbol: [0x0+0x782e6f66]
iStack [becb7ce8] = 6c6d
iStack [becb7cec] = 0
iStack [becb7cf0] = 0
signo 11=SIGSEGV :Segmentation fault
########################### 2016-08-20_12:56:39
Segmentation fault