Jump to content
  • 0

Fix vending.c


Siberian

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   0
  • Joined:  02/07/12
  • Last Seen:  

Program terminated with signal 11, Segmentation fault.
#0  vending_searchall (sd=0x124637a0, s=0xffb50e50) at vending.c:394
394             if( !sd->state.vending ) // not vending
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6_4.4.i686 keyutils-libs-1.4-4.el6.i686 krb5-libs-1.10.3-10.el6_4.4.i686 libcom_err-1.41.12-14.el6_4.2.i686 libgcc-4.4.7-3.el6.i686 libselinux-2.0.94-5.3.el6_4.1.i686 libstdc++-4.4.7-3.el6.i686 mysql-libs-5.5.33-1.el6.remi.i686 openssl-1.0.0-27.el6_4.2.i686 zlib-1.2.3-29.el6.i686
(gdb) bt full
#0  vending_searchall (sd=0x124637a0, s=0xffb50e50) at vending.c:394
        i = <value optimized out>
        c = <value optimized out>
        slot = <value optimized out>
        idx = <value optimized out>
        cidx = <value optimized out>
        it = <value optimized out>
#1  0x081b0049 in searchstore_query (sd=0x10c2c778, type=0 '\000',
    min_price=0, max_price=0, itemlist=0xdf4854ab, item_count=13,
    cardlist=0xdf4854c5, card_count=0) at searchstore.c:189
        i = <value optimized out>
        pl_sd = 0x124637a0
        iter = 0xdfd1016c
        s = {search_sd = 0x10c2c778, itemlist = 0xdf4854ab,
          cardlist = 0xdf4854c5, item_count = 13, card_count = 0,
          min_price = 0, max_price = 0}
        store_searchall = 0x8195c50 <vending_searchall>
        querytime = 1379431045
        vending_db = 0xdfab0574
        __FUNCTION__ = "searchstore_query"
#2  0x08064450 in clif_parse_SearchStoreInfo (fd=44, sd=0x10c2c778)
    at clif.c:16001
        itemlist = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        cardlist = <value optimized out>
        type = 0 '\000'
        min_price = 0
        max_price = 0
        packet_len = <value optimized out>
        count = <value optimized out>
        item_count = 13
        card_count = <value optimized out>
        info = <value optimized out>
#3  0x08070b8e in clif_parse (fd=44) at clif.c:16825
        cmd = 2073
        packet_ver = 43
        packet_len = 41
        err = 7
        sd = 0x10c2c778
        pnum = <value optimized out>
#4  0x081bc8be in do_sockets (next=50) at socket.c:870
        rfd = {__fds_bits = {0, 4096, 0 <repeats 30 times>}}
        timeout = {tv_sec = 0, tv_usec = 20351}
        ret = 0
        i = <value optimized out>
#5  0x081bab3d in main (argc=1, argv=0xffb510f4) at core.c:371
        next = <value optimized out>

 

How to fix this?

 

Check: http://hercules.ws/board/tracker/issue-7540-new-map-crash/

 

The rAthena is different and this fix did not work.

 

Thanks.

 

 
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...