Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when clicking in music GUI without sample.cat #2770

Closed
DorpsGek opened this issue Mar 28, 2009 · 3 comments
Closed

Crash when clicking in music GUI without sample.cat #2770

DorpsGek opened this issue Mar 28, 2009 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

atorkhov opened the ticket and wrote:

Crash happens when running OpenTTD with empty sample.cat and clicking "Old/new style" in music GUI.

Here is backtrace:
(gdb) bt
# 0 0x0000003777201e7b in free_instruments () from /usr/lib64/libtimidity-0.1.so.0
# 1 0x00000037772091a0 in mid_song_free () from /usr/lib64/libtimidity-0.1.so.0
# 2 0x0000000000588c48 in DoStopMusic () at /usr/src/debug/openttd-0.7.0-RC2/src/music_gui.cpp:104
# 3 StopMusic () at /usr/src/debug/openttd-0.7.0-RC2/src/music_gui.cpp:142
# 4 0x0000000000589197 in MusicWindow::OnClick (this=0x7fff840d0a50, pt=,
widget=) at /usr/src/debug/openttd-0.7.0-RC2/src/music_gui.cpp:513
# 5 0x0000000000686b21 in PollEvent ()
at /usr/src/debug/openttd-0.7.0-RC2/src/video/allegro_v.cpp:391
# 6 0x0000000000686dcf in VideoDriver_Allegro::MainLoop (this=)
at /usr/src/debug/openttd-0.7.0-RC2/src/video/allegro_v.cpp:469
# 7 0x00000000005cf17c in ttd_main (argc=, argv=0x7fff914db798)
at /usr/src/debug/openttd-0.7.0-RC2/src/openttd.cpp:689
# 8 0x00000036e281e576 in __libc_start_main (main=0x675870

, argc=1, ubp_av=0x7fff914db798,
init=0x6c28f0 <__libc_csu_init>, fini=, rtld_fini=,
stack_end=0x7fff914db788) at libc-start.c:220
# 9 0x000000000048a839 in _start ()

Reported version: 0.7.0-RC2
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/2770
@DorpsGek
Copy link
Member Author

atorkhov wrote:

This is with 0.7.0-rc2.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2770#comment5856

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Given that backtrace it looks like libtimidity causes the crash and not OpenTTD.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2770#comment5857

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

(Hopefully) in r15886


This comment was imported from FlySpray: https://bugs.openttd.org/task/2770

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant