View unanswered posts | View active topics It is currently Mon May 20, 2013 5:56 am



Reply to topic  [ 4 posts ] 
(SOLVED) Zm1.25 in CuBox 
Author Message

Joined: Wed Dec 02, 2009 10:55 pm
Posts: 551
Location: Spain
Post (SOLVED) Zm1.25 in CuBox
Hi,

I have compiled ZM 1.25 to work in my CuBox (arm based device). Basically it works, except in modect mode, whenever a event is fired, I got this errors:
Code:
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Lateral: 191 - Gone into alarm state]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Lateral: 191 - Opening new event 5, alarm start]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Got signal 11 (Segmentation fault), crashing]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: ERR [Signal address is 0x2493948, no eip]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: ERR [Backtrace: /lib/libc.so.6(__default_sa_restorer_v2+0) [0x40f78000]]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Backtrace complete, please execute the following command for more information]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [addr2line -e /lib/libc.so.6(__default_sa_restorer_v2+0) 0x40f78000]


Is the first time I see this kind of error, could anyone put some light on this?

Thanks,

PacoLM

_________________
miniITX system + 4 IPCams + 1 Webcam (ZM1.25)


Last edited by PacoLM on Thu Apr 12, 2012 10:00 pm, edited 1 time in total.



Sun Apr 08, 2012 10:12 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post Re: Zm1.25 in CuBox
PacoLM wrote:
Code:
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Got signal 11 (Segmentation fault), crashing]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: ERR [Signal address is 0x2493948, no eip]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: ERR [Backtrace: /lib/libc.so.6(__default_sa_restorer_v2+0) [0x40f78000]]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [Backtrace complete, please execute the following command for more information]
Apr  8 23:00:14 debian-cubox zma_m2[8673]: INF [addr2line -e /lib/libc.so.6(__default_sa_restorer_v2+0) 0x40f78000]



what does running:
Code:
 addr2line -e /lib/libc.so 0x40f78000 0x2493948
return?


Wed Apr 11, 2012 11:25 am
Profile WWW

Joined: Wed Dec 02, 2009 10:55 pm
Posts: 551
Location: Spain
Post Re: Zm1.25 in CuBox
Hi,

That was an easy test!
Code:
addr2line: '/lib/libc.so': No such file


The file is here: /usr/lib/libc.so

Should I make a symlink in /lib/ ?

EDITED: I just copied the file to /lib and now the output is : addr2line: /lib/libc.so: File format not recognized

EDITED 2: I made a symlink to a file that was wrong:
Code:
ln -s /lib/ld-2.11.3.so /lib/ld-linux.so.3


before was :ln -s /ld-2.11.3.so /lib/ld-linux.so.3

Now the output of the command: addr2line -e /lib/libc.so.6 0x40f83000 0x2494940 is:
Code:
??:0
??:0


Another clue: the same error is also thrown if I want to see the live image of the monitor in JPEG mode (WEB_L_STREAM_METHOD=jpeg), but works fine is the working mode for WEB_L_STREAM_METHOD is mpeg.

Thanks!

_________________
miniITX system + 4 IPCams + 1 Webcam (ZM1.25)


Wed Apr 11, 2012 5:47 pm
Profile

Joined: Wed Dec 02, 2009 10:55 pm
Posts: 551
Location: Spain
Post Re: Zm1.25 in CuBox
Hi,

I believe the problem was a package or library not installed. In order to check if zoneminder works, I just installed the latest version available on the repositories (1.24.2). When installing it, a lot of packages were also installed, and zoneminder worked perfectly. Then, I just compiled and made the isntallation of the version 1.25 and I have it working since last night.

Thanks for all!

Paco

_________________
miniITX system + 4 IPCams + 1 Webcam (ZM1.25)


Thu Apr 12, 2012 9:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group