Search found 11 matches
- Thu Aug 27, 2015 9:03 am
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
Yep, my bad, some kind of message is really needed. About MD5... MD5 calc works, but i haven't finished MD5 auth yet. Atm it only supports plain auth without ssl, which is simple but rarely supported :( I'll try to make MD5 auth also. About the lib you pointed out - i think i'll try it out. It'd be ...
- Wed Aug 26, 2015 2:43 pm
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
oh, right... i'm running ejabberd in the second vm. I'll try to make it work with some public xmpp server so it'd be possible to test it without local server instance. Or maybe i'll just make my own public one for testing only
- Wed Aug 26, 2015 2:20 pm
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
Ok, now i double-checked that i'm uploading the latest snapshot. Didn't know that while cloning vbox vdi i should clone snapshot, not the disk itself. The problem got stuck is somewhere inside msgbox_start procedure ( xmpp_msgbox.asm ). Since debugging multiprocess app is not that easy with mtdbg es...
- Wed Aug 26, 2015 12:12 pm
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
Thanks for comments. Well, as you said, i really have a huge amount of copy-paste code in many parts of this mess. Since it was a total chaos, i've started to clean it up and rewrite it, and the version i shared was in fact somewhere in the middle of rewriting. Now it looks a bit cleaner (at least n...
- Wed Aug 19, 2015 11:30 am
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
сорри, комп только на работе. Архив в приложении. Просьба ногами не бить и не плеваться, пишу коряво, и непрерывно что-то переписываю (например сейчас переписываю все со статических буферов на mem.Alloc). Но вся возможная критика принимается. sorry, i have pc only at work. code attached. i know it's...
- Mon Aug 17, 2015 4:28 pm
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
Re: MTDBG, General protection fault
если за кривизну кода ногами бить не будут - я могу залить его куда-нибудь, только хз куда чтоб было удобно (не очень хочу заливать этот ужас на svn). На форум не влезет - там 40кб в 10 файлах.
- Mon Aug 17, 2015 3:33 pm
- Forum: Assembler
- Topic: MTDBG, General protection fault
- Replies: 14
- Views: 13065
MTDBG, General protection fault
Добрый день. Сижу корячусь над xmpp-клиентом, и в данный момент наткнулся на следующую проблему - после каждого int 40 (и не только) стабильно ловлю general protection fault. При чем даже в самом глупом случае (код ниже). Первый-второй получается проскочить просто g <следующий адрес> либо bp <адрес>...
- Mon May 25, 2015 11:10 pm
- Forum: Coding
- Topic: Вопросы по сети и многопоточности (пишу небольшой xmpp-клиент)
- Replies: 6
- Views: 5349
Re: Сеть и многопоточность
ok, thx for help maybe i'll still try ipc, like if one logic chain fails to parse the query, it just calls yet another logic chain over ipc.
- Mon May 25, 2015 11:00 pm
- Forum: Coding
- Topic: Вопросы по сети и многопоточности (пишу небольшой xmpp-клиент)
- Replies: 6
- Views: 5349
Re: Сеть и многопоточность
The man i'm using for t_edit is the one from svn. Not the best one, maybe, but still useful, at least it's possible to use source if in doubt. Also, it's t_edit, not editbox, so it can handle multiline, and its input can be easily pruned down to arrows/ctrl+c. The only problem is how it looks :( Act...
- Mon May 25, 2015 10:34 pm
- Forum: Coding
- Topic: Вопросы по сети и многопоточности (пишу небольшой xmpp-клиент)
- Replies: 6
- Views: 5349
Re: Сеть и многопоточность
thx, so it's better to use 1 thread/window. That's a bit sad but ok, i was trying to make it with multiple windows like pidgin or old skype. the second question was about t_edit from box_lib. Because of lack of docs i'm just poking it randomly, and the question was is there any way to make it look a...
- Mon May 25, 2015 9:47 pm
- Forum: Coding
- Topic: Вопросы по сети и многопоточности (пишу небольшой xmpp-клиент)
- Replies: 6
- Views: 5349
Вопросы по сети и многопоточности (пишу небольшой xmpp-клиент)
Заранее извиняюсь за глупые вопросы. Пишу небольшой xmpp-клиент, слегка просел на получении сообщений. Собственно, окно для сообщений делаю отдельным потоком. Как я понял, эвент network получает именно родительский поток, а не дочерний. Есть ли какой-нибудь вариант чтоб его проверяли сразу оба поток...