Issue information

Issue ID
#7540
Status
Fixed
Severity
None
Started
hemagx
Jul 17, 2013 8:10
Last Post
Ind
Sep 9, 2013 23:24
Confirmation
Yes (1)
No (0)

hemagx - Jul 17, 2013 8:10

here's the log i duno how it's happened :3
[code=auto:0] Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x00000000005bb500 in vending_searchall (sd=0xa9dbbc0, s=0x7fff68798020) at vending.c:318 318 ARR_FIND( 0, sd->vend_num, i, sd->status.cart[sd->vending[i].index].nameid == (short)s->itemlist[idx] ); Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.2.x86_64 libcom_err-1.41.12-14.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 mysql-libs-5.1.69-1.el6_4.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-27.el6_4.2.x86_64 pcre-7.8-6.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt full #0 0x00000000005bb500 in vending_searchall (sd=0xa9dbbc0, s=0x7fff68798020) at vending.c:318 i = 2846861 c = <value optimized out> slot = <value optimized out> idx = <value optimized out> cidx = <value optimized out> it = <value optimized out> #1 0x00000000005d8a9f in searchstore_query (sd=0x9f2c740, type=0 '\000', min_price=<value optimized out>, max_price=0, itemlist=<value optimized out>, item_count=<value optimized out>, cardlist=0x7f717a82cbed, card_count=0) at searchstore.c:182 i = <value optimized out> pl_sd = 0xa9dbbc0 iter = 0x3292bf0 s = {search_sd = 0x9f2c740, itemlist = 0x7f717a82cbeb, cardlist = 0x7f717a82cbed, item_count = 1, card_count = 0, min_price = 0, max_price = 0} store_searchall = 0x5bb480 <vending_searchall> querytime = 1374032238 __FUNCTION__ = "searchstore_query" #2 0x000000000045ac6f in clif_parse_SearchStoreInfo ( fd=<value optimized out>, sd=<value optimized out>) at clif.c:16736 ---Type <return> to continue, or q <return> to quit--- [/code]

jTynne - Sep 5, 2013 12:36

Happened for me as well; Looking for duplicates of this issue at the moment. Disable your shop search items if you haven't already/if this hasn't already been fixed.

Ind - Sep 9, 2013 18:32

whats the packetver? (i think it might lie at how the search list is received and for that i need to know which client is being used)

This post has been edited by Ind on Sep 9, 2013 18:33

hemagx - Sep 9, 2013 22:09

[quote name="Ind" timestamp="1378751536"]
whats the packetver? (i think it might lie at how the search list is received and for that i need to know which client is being used)[/quote]

2012-05-15

Ind - Sep 9, 2013 23:24

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/58e2d279f26e9f9034ca80646a82addaafeb7ef2"]https://github.com/HerculesWS/Hercules/commit/58e2d279f26e9f9034ca80646a82addaafeb7ef2[/url]
Thank you both