driver crash

7 views
Skip to first unread message

陈圣麒

unread,
Apr 20, 2020, 8:07:47 AM4/20/20
to LDMud Talk
I use the MorgenGrauen MUDlib when I  try xlpc write(break_string("你好",1)); the driver will crash
ldmud.exe.stackdump :
Exception: STATUS_ACCESS_VIOLATION at rip=001004C0BDE
rax=0000000100652DC8 rbx=000006FFF878D218 rcx=0000000000000000
rdx=0000000000000001 rsi=00000700F878D217 rdi=0000000000000000
r8 =0000000000000001 r9 =0000000000000000 r10=0000000000000001
r11=0000000100652DC8 r12=00000000FFFF5078 r13=0000000100652DA8
r14=000006FFF8DFEC00 r15=000006FFF8DFEC00
rbp=000006FFF878D218 rsp=00000000FFFF5020
program=E:\cygwin64\UNItopia\mudadm\magyra\bin\ldmud.exe, pid 847, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
6FFF878D218  001004C0BDE (00000000003, 6FFF8DFEC2C, 00000000001, 6FFF878D128)
00000000001  001004C3376 (00000000002, 001005D9E00, 001005D9E10, 001005D9E10)
001004D69E0  001004C40AD (001FFFFFFFF, 00100000000, 00000000000, 00000000000)
001004D69E0  0010045130F (6FFF882DBC0, 6FFF8830502, 0010045F5E8, 0013231BEA8)
6FFF87D93C0  00100454D32 (6FFF8B92DA8, 6FFF8B92E82, 6FFF8C69C58, 0005E9D94AB)
6FFF8C69C58  0010045D9ED (6FFF8C3EB48, 00100000002, 001006269A8, 001005D9D20)
00000000000  0010045E5DD (001004DC638, 00000000000, 001004472F7, 00000000001)
001004D69E0  0010045EB4C (00100676CC8, 001004F5D6B, 001004CC061, 00100000004)
001004D69E0  00100452C1A (00100444C26, 001005D9D00, 0010044A789, 00100677020)
001004D69E0  001004B36E3 (6FFF882DBC0, 00100676CC8, 6FFF8E54D8C, 001005D9C80)
001004D69E0  0010045121F (6FFF8E52738, 6FFF8E54CBA, 001004F2C30, 001004D69E0)
6FFF8A6B488  0010045D8D1 (00000000130, 6FF00000001, 6FFF8934E28, 000FFFF6180)
00000000000  0010045E5DD (6FFF8E5B310, 001005D9C60, 00100447033, 6FF00000001)
001004D69E0  0010045EB4C (6FFF8E52738, 001004F5D6B, 000FFFF6218, 00000000003)
001004D69E0  00100452C1A (001005D9CD0, 6FFF8E58CB2, 00100676CE0, 001005D9BB0)
6FFF8A6B488  0010045D8D1 (001004CCF8F, 00000000001, 00100444C26, 0010062D350)
End of stack trace (more stack frames may be present)


Gnomi

unread,
Apr 20, 2020, 8:12:10 AM4/20/20
to ldmud...@googlegroups.com, seik...@gmail.com, ldmud...@googlegroups.com
What is break_string()?

Regards,
Gnomi

Am 20. April 2020 14:07:47 MESZ schrieb "" <seik...@gmail.com>:
>when I try https://github.com/amotzkau/ldmud/commits/unitopia Commits
>on
>Apr 19, 2020 Merge branch 'graphemes' into unitopia
><https://github.com/amotzkau/ldmud/commit/5aa7b7b8683fbce5f65135d05e6f31311c9e06a9>
>I use the MorgenGrauen MUDlib when I try xlpc
>write(break_string("",1));
>--
>You received this message because you are subscribed to the Google
>Groups "LDMud Talk" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to ldmud-talk+...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/ldmud-talk/17c1f790-8f35-4faa-aadf-89b8254a1997%40googlegroups.com.

Croft

unread,
Apr 20, 2020, 8:16:09 AM4/20/20
to ldmud...@googlegroups.com
break_string is the mg simul_efun equivalent of wrap.

陈圣麒

unread,
Apr 20, 2020, 8:23:36 AM4/20/20
to LDMud Talk
xlpc printf("%-*=s",1,"你好");
will crash the driver

Gnomi

unread,
Apr 20, 2020, 10:52:49 AM4/20/20
to ldmud...@googlegroups.com
Hi,

陈圣麒 wrote:
> when I try xlpc write(break_string("你好",1));
> the driver will crash

Thank you for testing the branch. This bug is now fixed in the current HEAD.

Regards,
Gnomi.
Reply all
Reply to author
Forward
0 new messages