00:00.49 | JunK-Y | what about this: rm -rf /var/lib/asterisk/modules , then try to start only asterisk (with no modules)? |
00:01.13 | JunK-Y | then after asterisk is started, make install, then try module load app_dial.so (for example) |
00:04.08 | Greek-Boy | the weird part is that after i did rm -rf /var/lib/asterisk/modules it still core dumps at app_disa.so |
00:04.11 | Greek-Boy | weird |
00:04.29 | Greek-Boy | oh wait, i need to disable everything in modules.conf right? |
00:04.57 | JunK-Y | no, if you rm -rf /var/lib/asterisk/modules, no modules should be loaded. |
00:05.21 | JunK-Y | or maybe, you should the location of where ur modules resides? (in asterisk.conf) |
00:05.28 | Greek-Boy | well its still doing the same thing, core dump |
00:05.29 | Greek-Boy | ok |
00:06.09 | JunK-Y | i just tried 1.4.26-rc3 with linux ubuntu 9.04 64 bits and ive no problem |
00:06.14 | russellb | how did you compile func_odbc? |
00:06.21 | Greek-Boy | ok, it was /usr/lib/asterisk/modules |
00:06.32 | JunK-Y | <PROTECTED> |
00:06.41 | JunK-Y | great, rm -rf /usr/lib/asterisk/modules |
00:06.42 | Greek-Boy | russellb, i didn't compile func_odbc on my last compile |
00:06.52 | russellb | sounds like func_odbc was built against the wrong version if it's blowing up on load |
00:08.38 | JunK-Y | after u deleted your module dir and you do a make install, do you still have the same problem? |
00:09.08 | JunK-Y | enjoys writing his final thesis! |
00:09.22 | Greek-Boy | yes I sitll have the same problem |
00:09.25 | JunK-Y | russellb: btw, how goes ur master degree? |
00:09.37 | russellb | JunK-Y: very slow :-) |
00:09.41 | JunK-Y | what does ur bt looks like? |
00:09.48 | Greek-Boy | russellb: a lot of other modules seem to be blowing up on load |
00:09.49 | JunK-Y | russellb: 1 class/semester? |
00:09.54 | russellb | yeah. |
00:10.12 | russellb | and nothing this summer |
00:10.12 | JunK-Y | russellb: still better then lot of other people. |
00:10.42 | Greek-Boy | app_disa.so loaded just fine when i loaded it manually. app_dial.so complained |
00:10.51 | Greek-Boy | i have the gdb.txt ready with a bt and bt full |
00:10.57 | JunK-Y | pastebin it. |
00:11.20 | Greek-Boy | ok |
00:11.25 | JunK-Y | make distclean && ./configure && make && make install ? :) |
00:11.44 | Greek-Boy | i can try that |
00:13.56 | Greek-Boy | http://pastebin.com/mad7523f |
00:14.24 | Greek-Boy | russellb: What masters degree are u going for? |
00:14.36 | Greek-Boy | JunK-Y: What thesis are u doing? |
00:14.39 | Greek-Boy | Sorry guys i'm just curious |
00:14.39 | russellb | software engineering |
00:14.51 | Greek-Boy | russellb: Nice. Which university? |
00:15.01 | JunK-Y | Greek-Boy: im doing my thesis for my final project for my undergraduate |
00:15.07 | JunK-Y | in soft. eng. too |
00:15.24 | JunK-Y | cfg = (struct ast_config *) 0x0 |
00:15.51 | Greek-Boy | wow, its my dream to do software engineering too |
00:15.52 | russellb | Greek-Boy: university of alabama in Huntsville |
00:16.17 | Greek-Boy | nice |
00:16.33 | JunK-Y | Greek-Boy: put noload => chan_vpb.so in ur modules.conf ? |
00:24.25 | Greek-Boy | sorry for delay, just trying to recompile/install as u said |
00:24.30 | Greek-Boy | few more minutes |
00:26.16 | Greek-Boy | core dumps still taking place after recompile / install |
00:26.25 | Greek-Boy | will now try putting that noload statmenet in modules.conf |
00:27.27 | Greek-Boy | that was it! |
00:27.29 | Greek-Boy | noload => chan_vpb.so did it... |
00:27.34 | JunK-Y | yeah! |
00:27.47 | JunK-Y | i suspect cfg = (struct ast_config *) 0x0 |
00:27.57 | JunK-Y | do you have the config file for that driver? |
00:28.03 | russellb | wonders if anyone uses chan_vpb ... |
00:28.23 | JunK-Y | russellb: people who want segfault? :) |
00:28.38 | Greek-Boy | yeah i have the config file |
00:28.48 | Greek-Boy | i was testing from a "make samples" installation |
00:28.51 | Greek-Boy | i should have known better |
00:29.00 | Greek-Boy | sorry for wasting your time guys, i kinda feel bad now |
00:29.11 | russellb | don't feel bad |
00:29.16 | russellb | it shouldn't be possible to make it crash |
00:29.18 | JunK-Y | Greek-Boy: no problem, but i wonder why it was segfaulting. |
00:29.37 | Greek-Boy | i dunno |
00:29.44 | Greek-Boy | i can provide you with whatever you want |
00:29.54 | Greek-Boy | i have already pasted the backtrace for you, dunno if that will help |
00:30.40 | Greek-Boy | but what has got me wondering as well is that asterisk doesn't even mention chan_vpb.so when it was segfaulting, maybe thats normal? |
00:31.04 | Greek-Boy | I wish I was a dev. Maybe on day. Right now I'm just trying to learn ANSI C Syntax |
00:31.29 | JunK-Y | it was mentionning it in the backtrace. |
00:31.52 | JunK-Y | Greek-Boy: dont give up, if you want, u can |
00:31.58 | russellb | Greek-Boy: everyone starts at the beginning. In fact, Asterisk is how I learned C ... |
00:32.00 | Greek-Boy | yeah, i just took another glance at the backtrace now... |
00:32.19 | Greek-Boy | thank you for the encouragment guys |
00:32.20 | JunK-Y | vpb_get_num_cards should throws an exception, but its segfaulting. |
00:32.33 | JunK-Y | look: #6 0x080c33ff in load_resource (resource_name=0x996e3d8 "chan_vpb.so", global_symbols_only=0) at loader.c:744 |
00:33.25 | Greek-Boy | i wonder if this bug is the same as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466729 |
00:33.57 | Greek-Boy | asterisk crashes when no VPB cards are present |
00:34.17 | JunK-Y | sounds like it, yeah |
00:34.35 | JunK-Y | is it a debian package or the original from asterisk.org? |
00:35.03 | Greek-Boy | you mean the asterisk package itself? It's source from asterisk.org. I was compiling... |
00:36.13 | Greek-Boy | i can't find the same bug on issues.asterisk.org unless I've missed it somewhere |
00:36.34 | JunK-Y | let me try to reproduce it |
00:37.25 | Greek-Boy | ok. the interesting thing is that this is the first time i've come accross this, even with chan_vbp enable on other installs as far I can remember..... |
00:37.34 | Greek-Boy | anyway, best of luck with it :-) |
00:37.42 | Greek-Boy | at least we know its a small issue |
00:38.24 | JunK-Y | that driver is not really used, like russell pointed. |
00:38.43 | JunK-Y | Severity: grave |
00:38.44 | JunK-Y | hehehe |
00:39.03 | Greek-Boy | yeah, I suppose so |
00:39.15 | Greek-Boy | i guess its a best practice not to enable what you don't use |
00:39.20 | JunK-Y | https://issues.asterisk.org/view.php?id=12096 |
00:40.05 | Greek-Boy | its just that some people like to have everything enabled as not to have to recompile should a requirement come up in the near future, but this is probably not a best practice anyway |
00:48.31 | JunK-Y | Greek-Boy: do you have taht output: |
00:48.32 | JunK-Y | terminate called after throwing an instance of 'VpbException' what(): VPBREG_NO_VPB_DEVICES_DETECTED |
00:48.35 | JunK-Y | Aborted |
00:48.37 | JunK-Y | when you do asterisk -cvvvv ? |
00:50.00 | Greek-Boy | oops |
00:50.27 | Greek-Boy | re-installing on 1.4.25.1 on a production machine |
00:50.38 | Greek-Boy | wit vppb not enabled |
00:50.43 | Greek-Boy | i'll just recompile and confirm for u |
00:50.55 | JunK-Y | ok |
00:51.24 | JunK-Y | russellb: any idea why the Exception isnt catch in 1.4.26-rc3 ? |
00:52.00 | russellb | the code isn't written to catch it i guess? |
00:52.25 | russellb | i've never really looked at that code, except enough to make it compile |
00:53.05 | JunK-Y | russellb: its the same code as 1.6.1.0 and the exception is properly handled. |
00:53.26 | russellb | in 1.6.1 it is, and 1.4 it is not? |
00:54.02 | JunK-Y | exact, but the try/catch is there in both version |
00:54.09 | russellb | ah. |
00:54.13 | russellb | shrugs |
00:54.18 | Greek-Boy | interesting... |
00:56.05 | Greek-Boy | its also worth noting that "make progdocs" also needs some work :P |
00:56.14 | Greek-Boy | i know its not a priority right now :-) |
00:56.19 | russellb | patches welcome!! |
00:56.19 | russellb | hehe |
00:56.44 | Greek-Boy | hehe |
00:57.04 | russellb | but you would probably want to focus on Asterisk trunk if you do that |
00:57.37 | Greek-Boy | yeah I guess so, right now I'm going to first try and study the asterisk development cycle |
00:58.04 | russellb | feel free to ask questions in here or #asterisk-dev |
00:58.51 | Greek-Boy | thanks russellb, appreciate it |
00:59.04 | Greek-Boy | i'm also hoping to make it to astricon this year |
00:59.30 | russellb | great! |
00:59.33 | russellb | astricon is so fun ... |
01:01.09 | Greek-Boy | JunK-Y: I do not get terminate called after throwing an instance of 'VpbException' what(): VPBREG_NO_VPB_DEVICES_DETECTED when doing asterisk -cvvvv |
01:01.33 | Greek-Boy | just segfault |
01:02.04 | Greek-Boy | Is there anything else you want me to do? If not I'll just go ahead and get this machine ready for production. |
01:02.42 | JunK-Y | hummm |
01:02.54 | JunK-Y | ive found soemthing for ya I think |
01:03.28 | JunK-Y | at line: 2721 you have a catch line? |
01:03.41 | JunK-Y | replace it with: catch (...) |
01:03.52 | JunK-Y | it fixed my problem for 1.4.26-rc3 |
01:04.07 | JunK-Y | *CLI> module load chan_vpb.so |
01:04.08 | JunK-Y | [Jun 21 21:05:07] ERROR[17131]: chan_vpb.cc:2722 ast_module_load_result load_module(): No Voicetronix cards detected |
01:04.10 | JunK-Y | *CLI> |
01:04.19 | JunK-Y | Greek-Boy: try this please. |
01:04.48 | Greek-Boy | which source file? |
01:04.56 | JunK-Y | chan_vpb.cc |
01:05.04 | JunK-Y | in channels/ |
01:05.57 | JunK-Y | like this: oot@shooter:/usr/src/asterisk-1.4.26-rc3# vim channels/chan_vpb.cc |
01:06.53 | Greek-Boy | so it should be catch (...) instead of catch (VpbException e) ? |
01:06.59 | JunK-Y | yeah |
01:07.09 | JunK-Y | make install and restart ur asterisk -cvvvv |
01:07.15 | JunK-Y | then module load chan_vpb.so |
01:07.21 | Greek-Boy | JunK-Y you said you found this for "me" ? |
01:07.28 | Greek-Boy | does that mean you're going to let me send in my first patch? |
01:07.28 | Greek-Boy | :P |
01:07.37 | JunK-Y | yeah |
01:07.42 | JunK-Y | and +1 for your karma too :) |
01:09.04 | Greek-Boy | Thank you so much! |
01:09.04 | JunK-Y | russellb and I accept beer at astricon for that :P |
01:09.05 | JunK-Y | the important thing is to get it fixed not to crash. |
01:09.05 | JunK-Y | it seems to be okay here after i catch all exception for 1.4 |
01:09.14 | Greek-Boy | ok so how shall I go about it? Should I first post it as an issue? |
01:09.17 | Greek-Boy | then the patch |
01:09.25 | Greek-Boy | i think i need to go do some reading on the guidelines |
01:09.50 | JunK-Y | first, lets try this on ur system too. |
01:10.07 | Greek-Boy | right... |
01:11.15 | Greek-Boy | recompiling now |
01:12.34 | JunK-Y | russellb: in english, how do you call ast_log, ast_debug, ast_verb, ast_verbose ? verbosity functions? |
01:12.43 | JunK-Y | output functions? |
01:14.43 | russellb | I guess they are all logging functions |
01:15.09 | russellb | logging/console output API functions |
01:15.10 | JunK-Y | do you see other functions except them? |
01:15.11 | russellb | something like that |
01:15.26 | russellb | ast_cli() sort of falls in that category |
01:15.46 | JunK-Y | okay |
01:22.11 | Greek-Boy | hmmm |
01:22.34 | Greek-Boy | JunK-Y: I tried it on 1.4.25.1 first and it hasn't taken care of the issue :-( |
01:22.59 | Greek-Boy | i'll compile/install asterisk-1.4.26-rc3 and see if it fixes it |
01:28.05 | JunK-Y | wow |
01:28.07 | JunK-Y | *CLI> module load chan_vpb.so |
01:28.07 | JunK-Y | terminate called after throwing an instance of 'VpbException' what(): VPBREG_NO_VPB_DEVICES_DETECTED |
01:28.10 | JunK-Y | Aborted |
01:28.13 | JunK-Y | root@shooter:/usr/src/cli-tls# |
01:28.14 | JunK-Y | even with the trunk, im getting this |
01:29.49 | JunK-Y | my patch works for that too. |
01:33.13 | Greek-Boy | hmmm |
01:33.23 | Greek-Boy | its not working on 1.4.26-rc3 either |
01:33.30 | Greek-Boy | for me |
01:33.39 | JunK-Y | what do you have as the output? |
01:33.48 | Greek-Boy | was yours segfaulting? |
01:33.58 | JunK-Y | yes, i was getting an abort() |
01:35.02 | Greek-Boy | abort() in the CLI? |
01:35.17 | JunK-Y | no |
01:35.28 | JunK-Y | here you can really try: |
01:35.37 | JunK-Y | noload => chan_vpb.cc in ur modules.conf |
01:35.43 | JunK-Y | starts ur asterisk -cvvvvv |
01:35.56 | JunK-Y | then type module load chan_vpb.so |
01:35.57 | Greek-Boy | do u mean noload => chan_vpb.so ? |
01:36.07 | JunK-Y | and paste ur output |
01:36.10 | JunK-Y | yes |
01:36.14 | Greek-Boy | ok |
01:36.22 | JunK-Y | .so yeah, .cc is the src code |
01:38.27 | Greek-Boy | everything loads up pretty well without loading the .so |
01:38.39 | Greek-Boy | i am guessing if i try to manually load it now, it will segfault and core dump |
01:38.54 | Greek-Boy | no i'm wrong, it will onkly core dump if it asterisk was started with -g |
01:38.54 | JunK-Y | yeah, try to load it |
01:38.57 | Greek-Boy | so it will just segfault |
01:39.34 | JunK-Y | if you start it with asterisk -cvvvv, ur console will stop |
01:39.45 | Greek-Boy | *CLI> module load chan_vpb.so |
01:39.45 | Greek-Boy | Segmentation fault |
01:39.52 | Greek-Boy | as I suspected |
01:40.16 | Greek-Boy | i'm baffled that its doing this on my system |
01:40.16 | JunK-Y | great, now try the catch ( ... ) |
01:40.27 | Greek-Boy | ok |
01:40.51 | Greek-Boy | i thought it should be catch (...) |
01:40.56 | Greek-Boy | maybe thats the problem |
01:41.25 | JunK-Y | its the same |
01:41.51 | JunK-Y | <PROTECTED> |
01:41.51 | JunK-Y | <PROTECTED> |
01:41.51 | JunK-Y | <PROTECTED> |
01:41.51 | JunK-Y | <PROTECTED> |
01:41.51 | JunK-Y | <PROTECTED> |
01:41.53 | JunK-Y | <PROTECTED> |
01:41.58 | JunK-Y | you should have that block |
01:44.23 | Greek-Boy | yeah thats exactly what I have |
01:44.30 | Greek-Boy | tried it and still segfaults :-( |
01:44.45 | JunK-Y | u typed make install ? |
01:45.21 | Greek-Boy | yeah |
07:09.34 | *** join/#asterisk-bugs WeazelON (n=deazel@mail2.tikalnetworks.com) |
07:10.01 | WeazelON | hey guys, does anyone know how to get rid of the annoying " -- Remote UNIX connection -- Remote UNIX connection disconnected " Messages when I activate the Verbose ? |
07:10.15 | mvanbaak | stop connecting to the CLI ;) |
07:11.33 | WeazelON | hehe |
07:12.09 | mvanbaak | Other then that: there's no way to stop it without hacking the source |
07:12.19 | WeazelON | aww |
07:13.27 | WeazelON | is there any way to make an "asterisk -rx "command" " without it being displayed in the CLI ? |
07:13.50 | mvanbaak | no |
07:14.02 | mvanbaak | not if you dont set the verbose to 0 |
07:14.15 | mvanbaak | hhmm |
07:14.31 | mvanbaak | it's a message on level 3 |
07:14.40 | mvanbaak | so if you set verbose to 2 or lower, they wont show up |
07:15.33 | WeazelON | dang, oh well thanks for the info |
07:15.42 | mvanbaak | if you want to get rid of the message alltogether: they are in main/asterisk.c |
07:16.20 | mvanbaak | you can find the line-numbers with: grep -rni 'Remote UNIX connection' * | grep -v '.svn' |
07:26.09 | WeazelON | thanks alot man |
08:11.53 | *** join/#asterisk-bugs ChanServ (ChanServ@services.) |
08:11.53 | *** mode/#asterisk-bugs [+o ChanServ] by irc.freenode.net |
10:53.46 | *** join/#asterisk-bugs lmsteffan (n=laurent@114.69.182.60) |
10:56.32 | *** join/#asterisk-bugs ccesario (n=ccesario@189-19-9-100.dsl.telesp.net.br) |
10:57.49 | *** join/#asterisk-bugs Marquis42 (n=bfhbmw0@65-127-126-34.dia.static.qwest.net) |
11:01.08 | *** join/#asterisk-bugs caio1982 (i=caio1982@CAcert-br/caio1982) |
12:09.50 | *** join/#asterisk-bugs leifmadsen (n=Leif@asterisk/documenteur-extraordinaire/blitzrage) |
12:09.50 | *** mode/#asterisk-bugs [+o leifmadsen] by ChanServ |
12:16.34 | *** join/#asterisk-bugs eliel (n=eliels@200.61.172.61) |
12:18.30 | *** join/#asterisk-bugs eliel (n=eliels@200.61.172.61) |
12:23.39 | *** join/#asterisk-bugs festr_ (n=festr@ns.hiro.cz) |
12:47.13 | *** join/#asterisk-bugs guax (n=guaxinim@unaffiliated/guaxinim) |
12:59.42 | *** join/#asterisk-bugs caio1982_ (i=caio1982@CAcert-br/caio1982) |
13:41.02 | *** join/#asterisk-bugs putnopvut (n=putnopvu@asterisk/master-of-queues/mmichelson) |
13:41.02 | *** mode/#asterisk-bugs [+o putnopvut] by ChanServ |
13:54.51 | *** join/#asterisk-bugs mvanbaak (n=michiel@asterisk/contributor-and-bug-marshal/mvanbaak) |
14:34.10 | Entomologist | *** CLOSED (15213) [Channels/chan_sip/General] [patch] asterisk lock in sipsock_read for several seconds and drop sip packets |
14:34.10 | Entomologist | Reported by: schmidts Karma: 0 |
14:34.10 | Entomologist | https://issues.asterisk.org/view.php?id=15213 |
14:34.10 | Entomologist | ********************************************************* |
14:34.12 | Entomologist | *** CLOSED (15349) [Channels/chan_sip/General] Deadlock in do_monitor() of chan_sip |
14:34.12 | Entomologist | Reported by: samy Karma: 0 |
14:34.14 | Entomologist | https://issues.asterisk.org/view.php?id=15349 |
14:34.16 | Entomologist | ********************************************************* |
14:34.18 | Entomologist | *** CLOSED (14464) [Channels/chan_sip/General] [patch] lock during simple call processing |
14:34.20 | Entomologist | Assigned to: mmichelson |
14:34.22 | Entomologist | Reported by: pj Karma: 9.5 |
14:34.24 | Entomologist | https://issues.asterisk.org/view.php?id=14464 |
14:34.26 | Entomologist | ********************************************************* |
14:34.28 | Entomologist | *** CLOSED (15345) [Channels/chan_sip/General] [patch] SIP deadlock in 1.4 revision 199472 |
14:34.30 | Entomologist | Reported by: aragon Karma: 4.25 |
14:34.32 | Entomologist | https://issues.asterisk.org/view.php?id=15345 |
14:34.34 | Entomologist | ********************************************************* |
14:34.37 | putnopvut | w00t |
14:34.59 | *** join/#asterisk-bugs Deeewayne (n=dwayne@75.76.254.162) |
14:34.59 | *** mode/#asterisk-bugs [+o Deeewayne] by ChanServ |
14:39.15 | *** join/#asterisk-bugs jpeeler (n=jpeeler@asterisk/digium-software-dev/jpeeler) |
14:42.59 | Entomologist | *** CLOSED (14584) [Channels/chan_sip/Interoperability] [patch] Asterisk does not stop retransmission |
14:42.59 | Entomologist | Assigned to: mmichelson |
14:42.59 | Entomologist | Reported by: klaus3000 Karma: 21.5 |
14:42.59 | Entomologist | https://issues.asterisk.org/view.php?id=14584 |
14:42.59 | Entomologist | ********************************************************* |
15:07.45 | *** join/#asterisk-bugs |Cybex| (n=John@80.100.126.176) |
16:47.07 | *** join/#asterisk-bugs leifmadsen (n=Leif@asterisk/documenteur-extraordinaire/blitzrage) |
16:47.07 | *** mode/#asterisk-bugs [+o leifmadsen] by ChanServ |
16:52.54 | *** join/#asterisk-bugs Victor_Yure (n=victor@unaffiliated/victoryure/x-837844) |
17:13.55 | *** join/#asterisk-bugs guax (n=guaxinim@unaffiliated/guaxinim) |
17:15.40 | *** join/#asterisk-bugs The_Boy_Wonder (n=davidvos@asterisk/batman-developer/dvossel) |
17:27.04 | *** join/#asterisk-bugs Juggie (n=Juggie@CPE001601df17fb-CM001ceac25ada.cpe.net.cable.rogers.com) |
17:27.04 | *** mode/#asterisk-bugs [+o Juggie] by ChanServ |
18:04.32 | *** join/#asterisk-bugs wierdo (n=jimmy@wifi-traf5.networx-bg.com) |
18:58.18 | *** join/#asterisk-bugs |Cybex| (n=John@80.100.126.176) |
19:37.36 | *** join/#asterisk-bugs Greek-Boy (n=greek@41.222.89.77) |
20:26.45 | *** join/#asterisk-bugs lmsteffan (n=laurent@reef.ac-noumea.nc) |
20:29.41 | *** join/#asterisk-bugs lmsteffan (n=laurent@reef.ac-noumea.nc) |
23:42.58 | *** join/#asterisk-bugs lmsteffan (n=laurent@reef.ac-noumea.nc) |