Opened 9 years ago
Closed 9 years ago
#4039 closed defect (fixed)
OScam crashed after restart on the Webinterface
Reported by: | Starlord | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | Webinterface |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
<10076> + <10077> + <10078>
Issue Description
<If I restart my OScam per Webinterface, OScam crashed.>
When the issue occurs
<The problem shows up since revision 10075>
How the issue is reproducable
<Restart Oscam per Webinterface>
<Don't forget to ATTACH (NOT post here as text) a log file of oscam in debug mode (start oscam with -d255) and to remove the brackets around the fields! Otherwise, your ticket will be closed as you seem to be unable to read.>
Attachments (5)
Change History (27)
comment:1 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
by , 9 years ago
Attachment: | OScam10071.log added |
---|
Logfile OSCam Rev. 10071 Start - Restart - Shutdown
comment:2 by , 9 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Sorry,
i have added 2 log files.
- Oscam Rev. 10071 Restart works.
- Oscam Rev. 10077 Restart not working.
When i compare the two logfiles i see on the end follow result:
Oscam 10071:
2014/12/11 02:15:35 0 s userdb 4 accounts freed
2014/12/11 02:15:35 0 s readerdb 3 readers freed
2014/12/11 02:15:35 0 s cardserver down
Oscam 10077:
2014/12/11 02:24:09 0 s userdb 4 accounts freed
2014/12/11 02:24:09 0 s readerdb 3 readers freed
In the log file from Oscam 10077 i missing the line "cardserver down"
comment:3 by , 9 years ago
Hi starlord,
have you try a other Verision between 10071 and 10075?
The only change with 10075 was a button in script.html
follow-up: 6 comment:5 by , 9 years ago
Well, its to late for logs now, because they were overwritten.
But maybe i had the same Problem in an VU+ Zero with VTI Image and Oscam 10076
I restarted OScam from the Webinterface. After a few secconds, while oscam did not came back, i checked the receiver menu, and saw oscam did not run.
I restarted it from the receiver menu and everything was fine.
That only happened once, and until now i can call restart from the webif without any problems.
I hope that helped
comment:6 by , 9 years ago
Replying to kraftzwerg:
Well, its to late for logs now, because they were overwritten.
But maybe i had the same Problem in an VU+ Zero with VTI Image and Oscam 10076
I restarted OScam from the Webinterface. After a few secconds, while oscam did not came back, i checked the receiver menu, and saw oscam did not run.
I restarted it from the receiver menu and everything was fine.
That only happened once, and until now i can call restart from the webif without any problems.
I hope that helped
uhm what you mean it's late for the logs, i've compiled the latest relase of oscam and had the same issue, the gdb logs refer to rev. 10078
regards
follow-ups: 8 9 comment:7 by , 9 years ago
Hi genox,
can please test if they caused by 10073 or 10074 or before
regards
comment:8 by , 9 years ago
Replying to ultra47:
Hi genox,
can please test if they caused by 10073 or 10074 or before
regards
+-------------------------------------------------------------------------------
| OSCam ver: 1.20-unstable_svn rev: 10073 target: i486-linux-gnu-ssl
| Tools:
| CROSS =
| CC = gcc
| Settings:
| CONF_DIR = /usr/local/etc
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LIBS = -lssl -lcrypto -lpthread -ldl -lrt
| UseFlags = USE_SSL=1 USE_LIBCRYPTO=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH WITH_SSL IRDETO_GUESSING CS_ANTICASC WITH_DEBUG WITH_LB CS_CACHEEX CW_CYCLE_CHECK CLOCKFIX
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs :
| Compiler : gcc (Debian 4.7.2-5) 4.7.2
| Binary : Distribution/oscam-1.20-unstable_svn10073-i486-linux-gnu-ssl
+-------------------------------------------------------------------------------
Rev. svn10073 working fine, compiling 10074...brb
comment:9 by , 9 years ago
Replying to ultra47:
Hi genox,
can please test if they caused by 10073 or 10074 or before
regards
ok, the problem seems rev 10076
tryed from rev10070 to rev10075 every relase it's fine.
Running gdb right now i'll post the logs
edit:
Logs added, hope it helps let me know if you need some other testings
Thanks, Regards
by , 9 years ago
Attachment: | oscam_restart_crash_10076_gdb.log added |
---|
Logfile OSCam Rev. 10076 Compiling options + gdb logs
comment:10 by , 9 years ago
I have test multiple revisions. The result is:
Oscam Rev 10071 Restart ok
Oscam Rev 10072 Restart ok
Oscam Rev 10073 Restart ok
Oscam Rev 10074 Restart ok, but another bug! no picons
Oscam Rev 10075 Restart ok, but another bug! no picons
Oscam Rev 10076 Restart not ok
Oscam Rev 10077 Restart not ok
Oscam Rev 10078 Restart not ok
comment:12 by , 9 years ago
I have find a workarround:
when i add "httppiconpath" in "oscam.conf" the restart is ok on rev.10078
oscam.conf (before):
httptpl = /usr/local/etc/tpl
oscam.conf (after):
httppiconpath = /usr/local/etc/tpl
comment:14 by , 9 years ago
Log is enabled and Restart is ok.
Change the "httptpl" to "httppiconpath" in oscam.conf and rev. 10076 + 10077 + 10078 works fine.
comment:16 by , 9 years ago
comment:18 by , 9 years ago
I have tested r10079 with the patch.
"httppiconpath" and "httptpl" in oscam.conf.
Oscam Restart is ok with both parameters.
Thank you ultra47
comment:19 by , 9 years ago
@hapeba,
restart with enabled log --> Oscam crashed
this is to few information => config?, make parms
comment:20 by , 9 years ago
please wait some time, i must test, because version 10071 are also not ok
comment:22 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
no log no help