[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfaults in Windows 7


Eduardo,

I don't understand the backtrace you got. Could you send me the output of
info registers
disassemble $eip
x/128x $esp

and anything else that would let us watch the stack and why gdb show the
crash in apparently unrelated function calls

Also, I'd like to know what the current pascal function is doing during
the crash (calling channel_poll ?)

Aris

Le 26/08/10 14:32, Eduardo Valdes a écrit :
> Andreas,
> 
> Using the dll in libssh-mingw4-20100826-bin I get the following
> backtrace in Windows 7:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x61ad4f51 in ssh_bind_options_set () from
> H:\freepascal\RAT\Work\trash\libssh.dll
> (gdb) bt
> #0  0x61ad4f51 in ssh_bind_options_set () from
> H:\freepascal\RAT\Work\trash\libssh.dll
> #1  0x61ad6804 in ssh_get_status () from
> H:\freepascal\RAT\Work\trash\libssh.dll
> #2  0x61ac4daf in libssh!channel_poll () from
> H:\freepascal\RAT\Work\trash\libssh.dll
> #3  0x0042adf7 in TSSHTERMINALHELPER__TERMINALRECEIVE (this=0xbb9e0) at
> usshterminalhelper.pas:282
> #4  0x0042b4df in TTERMINALFORM__RUN (this=0x1a2700) at
> uterminalform.pas:163
> #5  0x00421307 in TFRMMAIN__BTNCONNECTTO1CLICK (SENDER=0x136888,
> this=0x13f078) at umain.pas:614
> #6  0x004c09f4 in TCONTROL__CLICK (this=0x136888) at control.inc:2227
> #7  0x005033cf in TBUTTONCONTROL__CLICK (this=0x136888) at
> buttoncontrol.inc:72
> 
> My program using this dll still works fine in XP SP3.
> 
> Thanks.
> 
> Eddy
> 
> On Thu, Aug 26, 2010 at 4:41 AM, Andreas Schneider <asn@xxxxxxxxxxxx
> <mailto:asn@xxxxxxxxxxxx>> wrote:
> 
>     On Friday 20 August 2010 16:05:18 you wrote:
>     > Thanks Andreas. I will give it a try as soon as I get set up to
>     compile in
>     > Windows.
>     >
> 
>     I've pushed the changes. The packages at
> 
>     http://winkde.org/pub/kde/ports/win32/releases/nightly/latest/
> 
>     should provide the fixes.
> 
> 
>            -- andreas
> 
> 
> 
> 
> 
> -- 
> Eddy Valdes
> Project Manager
> Atronix Engineering
> evaldes@xxxxxxxxxxxxxxxxxxxxxx <mailto:evaldes@xxxxxxxxxxxxxxxxxxxxxx>
> 


Follow-Ups:
Re: Segfaults in Windows 7Eduardo Valdes <evaldes@xxxxxxxxxxxxxxxxxxxxxx>
References:
Segfaults in Windows 7Eduardo Valdes <evaldes@xxxxxxxxxxxxxxxxxxxxxx>
Re: Segfaults in Windows 7Andreas Schneider <asn@xxxxxxxxxxxx>
Re: Segfaults in Windows 7Eduardo Valdes <evaldes@xxxxxxxxxxxxxxxxxxxxxx>
Re: Segfaults in Windows 7Andreas Schneider <asn@xxxxxxxxxxxx>
Re: Segfaults in Windows 7Eduardo Valdes <evaldes@xxxxxxxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org