(SOLVED) Zm1.25 in CuBox

Forum for questions and support relating to the 1.25.x releases only.
Locked
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

(SOLVED) Zm1.25 in CuBox

Post by PacoLM »

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: Select all

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
Last edited by PacoLM on Thu Apr 12, 2012 9:00 pm, edited 1 time in total.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Zm1.25 in CuBox

Post by cordel »

PacoLM wrote:

Code: Select all

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: Select all

 addr2line -e /lib/libc.so 0x40f78000 0x2493948
return?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Zm1.25 in CuBox

Post by PacoLM »

Hi,

That was an easy test!

Code: Select all

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: Select all

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: Select all

??: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!

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Zm1.25 in CuBox

Post by PacoLM »

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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Locked