Opened 11 years ago

Closed 11 years ago

#40552 closed defect (worksforme)

luash @0.9_1: segfaults when run

Reported by: outis Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: luash

Description

It's pretty simple: luash 0.9_1 crashes with a segmentation fault when run. There is no other output. lua runs in interactive mode without error.

Here's the crash report:

Process:         luash [39950]
Path:            /opt/local/bin/luash
Identifier:      luash
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [26821]

Date/Time:       2013-09-21 12:12:46.243 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          5559661 sec
Crashes Since Last Report:           114
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      BE19EFDC-0746-4745-96D2-04DB4BC5DFE2

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000001001d9248
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   liblua.dylib                  	0x000000010001981f luaV_settable + 31
1   liblua.dylib                  	0x000000010000a518 lua_setfield + 104
2   luash                         	0x0000000100002087 main + 1351
3   luash                         	0x0000000100001828 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000044  rbx: 0x00000001001d9240  rcx: 0x0000000100200350  rdx: 0x0000000100200360
  rdi: 0x0000000100200080  rsi: 0x00000001001d9240  rbp: 0x00007fff5fbfee80  rsp: 0x00007fff5fbfee40
   r8: 0x00000001002fc0a0   r9: 0x00000001002fc0a4  r10: 0x000000000000001f  r11: 0x00000001002041d8
  r12: 0x0000000100200360  r13: 0x0000000100002a8b  r14: 0x00000001001d9240  r15: 0x0000000100200080
  rip: 0x000000010001981f  rfl: 0x0000000000010202  cr2: 0x00000001001d9248

Binary Images:
       0x100000000 -        0x100004ff7 +luash ??? (???) <5E517EC9-F2AA-67F2-DE59-62ACDB8CF9F5> /opt/local/bin/luash
       0x100008000 -        0x100032fef +liblua.dylib 5.2.2 (compatibility 5.2.0) <CBA7A3AE-F345-B462-1999-8DA0CACE648A> /opt/local/lib/liblua.dylib
       0x10003d000 -        0x100066fff +libreadline.6.2.dylib 6.2.0 (compatibility 6.0.0) <5AA94AE4-6B63-887E-74C0-70C8F18A6B85> /opt/local/lib/libreadline.6.2.dylib
       0x10007c000 -        0x1000c2ff7 +libncurses.5.dylib 5.0.0 (compatibility 5.0.0) <0BA1D173-3328-C80F-0080-770D3A589FF5> /opt/local/lib/libncurses.5.dylib
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
    0x7fff80984000 -     0x7fff80a01fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff81a8d000 -     0x7fff81c4efef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
    0x7fff894e6000 -     0x7fff894eaff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2 GHz, 4 GB, SMC 1.13f3
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: global_name
AirPort: AirPort Extreme, Atheros 5416: 2.1.14.6
Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST9320423AS, 298.09 GB
Parallel ATA Device: HL-DT-ST DVDRW  GSA-S10N
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 2
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x021a, 0x1d200000 / 2
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2

Change History (3)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Keywords: segfault removed
Owner: changed from macports-tickets@… to and.damore@…
Summary: luash segfaults when runluash @0.9_1: segfaults when run

Thanks for the ticket. In the future, please Cc relevant port maintainers (port info --maintainers).

comment:2 Changed 11 years ago by anddam (Andrea D'Amore)

Status: newassigned

I don't have a crash but an infinite loop that I have to manually kill.

Test the update in r112730 and report if it's working now.

comment:3 Changed 11 years ago by anddam (Andrea D'Amore)

Resolution: worksforme
Status: assignedclosed

No feedback by the reporter in five months. Closing the ticket as worksforme.

Port slightly updated in r118232 but luash has most likely been abandoned upstream so don't expect much support for it.

Note: See TracTickets for help on using tickets.