Bug#861645: gsequencer FTBFS on mips/mipsel: FAIL: ags_xorg_application_context_test

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#861645: gsequencer FTBFS on mips/mipsel: FAIL: ags_xorg_application_context_test

Joël Krähemann-2
Hi

I have experienced on some other architectures with
ags_xorg_application_context_test
the same problems. It was not evident to me if the problem was related
to Gtk+-2.0 or
xvfb-run since the stack-trace ended as doing gtk_widget_show(window);

However other architectures just pass the test. Now, I'm going to set
up a VM to get a
meaningful stack-trace.

Bests,
Joël


On Tue, May 2, 2017 at 10:05 AM, Adrian Bunk <[hidden email]> wrote:

> Source: gsequencer
> Version: 0.8.0-1
> Severity: serious
>
> https://buildd.debian.org/status/package.php?p=gsequencer&suite=sid
>
> ...
> make  check-TESTS
> make[3]: Entering directory '/«PKGBUILDDIR»'
> make[4]: Entering directory '/«PKGBUILDDIR»'
> PASS: ags_thread_test
> PASS: ags_audio_application_context_test
> PASS: ags_turtle_test
> PASS: ags_devout_test
> PASS: ags_channel_test
> PASS: ags_audio_test
> PASS: ags_audio_signal_test
> PASS: ags_recall_test
> PASS: ags_port_test
> PASS: ags_recycling_test
> PASS: ags_pattern_test
> PASS: ags_notation_test
> PASS: ags_automation_test
> PASS: ags_midi_buffer_util_test
> PASS: ags_midi_builder_test
> ./test-driver: line 107:  7386 Segmentation fault      "$@" > $log_file 2>&1
> FAIL: ags_xorg_application_context_test
> ========================================
>    gsequencer 0.8.0: ./test-suite.log
> ========================================
>
> # TOTAL: 16
> # PASS:  15
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: ags_xorg_application_context_test
> =======================================
>
>
>
>      CUnit - A unit testing framework for C - Version 2.1-3
>      http://cunit.sourceforge.net/
>
> ** Message: loading preferences from data[0x55df8774]
> ** Message: autosave-thread
> ** Message: false
> ** Message: simple-file
> ** Message: true
> ** Message: disable-feature
> ** Message: experimental
> ** Message: segmentation
> ** Message: 4/4
> ** Message: model
> ** Message: super-threaded
> ** Message: super-threaded-scope
> ** Message: channel
> ** Message: lock-global
> ** Message: ags-thread
> ** Message: lock-parent
> ** Message: ags-recycling-thread
> ** Message: backend
> ** Message: alsa
> ** Message: device
> ** Message: hw:0,0
> ** Message: samplerate
> ** Message: 44100
> ** Message: buffer-size
> ** Message: 1024
> ** Message: pcm-channels
> ** Message: 2
> ** Message: dsp-channels
> ** Message: 2
> ** Message: format
> ** Message: 16
> ** Message: backend
> ** Message: alsa
> ** Message: device
> ** Message: hw:0,0
> ** Message: samplerate
> ** Message: 44100
> ** Message: buffer-size
> ** Message: 1024
> ** Message: pcm-channels
> ** Message: 2
> ** Message: dsp-channels
> ** Message: 2
> ** Message: format
> ** Message: 16
> ** Message: auto-sense
> ** Message: true
>
> Suite: AgsXorgApplicationContextTest
>   Test: test of AgsXorgApplicationContext doing dispose ...** Message: Can't get the next card number: Success
> ** Message: Can't get the next card number: Success
> FAIL ags_xorg_application_context_test (exit status: 139)
>
> ============================================================================
> Testsuite summary for gsequencer 0.8.0
> ============================================================================
> # TOTAL: 16
> # PASS:  15
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> Please report to [hidden email]
> ============================================================================
> Makefile:9817: recipe for target 'test-suite.log' failed
> make[4]: *** [test-suite.log] Error 1
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> [hidden email]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply | Threaded
Open this post in threaded view
|

Bug#861645: gsequencer FTBFS on mips/mipsel: FAIL: ags_xorg_application_context_test

Joël Krähemann-2
Hi

I just tried to run `make check` in a mipsel chroot on tty2.

As running ./ags_xorg_application_context_test I get:

Suite: AgsXorgApplicationContextTest
  Test: test of AgsXorgApplicationContext doing dispose ...Unsupported
ioctl: cmd=0x41785501
Unsupported ioctl: cmd=0x41785501
** Message: Can't get the next card number: Success
Unsupported ioctl: cmd=0x41785501
Unsupported ioctl: cmd=0x41785501
** Message: Can't get the next card number: Success
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

Might be some output was discarded. Escpecially
Unsupported ioctl: cmd=...

Bests,
Joël

On Tue, May 2, 2017 at 6:53 PM, Joël Krähemann <[hidden email]> wrote:

> Hi
>
> I have experienced on some other architectures with
> ags_xorg_application_context_test
> the same problems. It was not evident to me if the problem was related
> to Gtk+-2.0 or
> xvfb-run since the stack-trace ended as doing gtk_widget_show(window);
>
> However other architectures just pass the test. Now, I'm going to set
> up a VM to get a
> meaningful stack-trace.
>
> Bests,
> Joël
>
>
> On Tue, May 2, 2017 at 10:05 AM, Adrian Bunk <[hidden email]> wrote:
>> Source: gsequencer
>> Version: 0.8.0-1
>> Severity: serious
>>
>> https://buildd.debian.org/status/package.php?p=gsequencer&suite=sid
>>
>> ...
>> make  check-TESTS
>> make[3]: Entering directory '/«PKGBUILDDIR»'
>> make[4]: Entering directory '/«PKGBUILDDIR»'
>> PASS: ags_thread_test
>> PASS: ags_audio_application_context_test
>> PASS: ags_turtle_test
>> PASS: ags_devout_test
>> PASS: ags_channel_test
>> PASS: ags_audio_test
>> PASS: ags_audio_signal_test
>> PASS: ags_recall_test
>> PASS: ags_port_test
>> PASS: ags_recycling_test
>> PASS: ags_pattern_test
>> PASS: ags_notation_test
>> PASS: ags_automation_test
>> PASS: ags_midi_buffer_util_test
>> PASS: ags_midi_builder_test
>> ./test-driver: line 107:  7386 Segmentation fault      "$@" > $log_file 2>&1
>> FAIL: ags_xorg_application_context_test
>> ========================================
>>    gsequencer 0.8.0: ./test-suite.log
>> ========================================
>>
>> # TOTAL: 16
>> # PASS:  15
>> # SKIP:  0
>> # XFAIL: 0
>> # FAIL:  1
>> # XPASS: 0
>> # ERROR: 0
>>
>> .. contents:: :depth: 2
>>
>> FAIL: ags_xorg_application_context_test
>> =======================================
>>
>>
>>
>>      CUnit - A unit testing framework for C - Version 2.1-3
>>      http://cunit.sourceforge.net/
>>
>> ** Message: loading preferences from data[0x55df8774]
>> ** Message: autosave-thread
>> ** Message: false
>> ** Message: simple-file
>> ** Message: true
>> ** Message: disable-feature
>> ** Message: experimental
>> ** Message: segmentation
>> ** Message: 4/4
>> ** Message: model
>> ** Message: super-threaded
>> ** Message: super-threaded-scope
>> ** Message: channel
>> ** Message: lock-global
>> ** Message: ags-thread
>> ** Message: lock-parent
>> ** Message: ags-recycling-thread
>> ** Message: backend
>> ** Message: alsa
>> ** Message: device
>> ** Message: hw:0,0
>> ** Message: samplerate
>> ** Message: 44100
>> ** Message: buffer-size
>> ** Message: 1024
>> ** Message: pcm-channels
>> ** Message: 2
>> ** Message: dsp-channels
>> ** Message: 2
>> ** Message: format
>> ** Message: 16
>> ** Message: backend
>> ** Message: alsa
>> ** Message: device
>> ** Message: hw:0,0
>> ** Message: samplerate
>> ** Message: 44100
>> ** Message: buffer-size
>> ** Message: 1024
>> ** Message: pcm-channels
>> ** Message: 2
>> ** Message: dsp-channels
>> ** Message: 2
>> ** Message: format
>> ** Message: 16
>> ** Message: auto-sense
>> ** Message: true
>>
>> Suite: AgsXorgApplicationContextTest
>>   Test: test of AgsXorgApplicationContext doing dispose ...** Message: Can't get the next card number: Success
>> ** Message: Can't get the next card number: Success
>> FAIL ags_xorg_application_context_test (exit status: 139)
>>
>> ============================================================================
>> Testsuite summary for gsequencer 0.8.0
>> ============================================================================
>> # TOTAL: 16
>> # PASS:  15
>> # SKIP:  0
>> # XFAIL: 0
>> # FAIL:  1
>> # XPASS: 0
>> # ERROR: 0
>> ============================================================================
>> See ./test-suite.log
>> Please report to [hidden email]
>> ============================================================================
>> Makefile:9817: recipe for target 'test-suite.log' failed
>> make[4]: *** [test-suite.log] Error 1
>> _______________________________________________
>> pkg-multimedia-maintainers mailing list
>> [hidden email]
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply | Threaded
Open this post in threaded view
|

Bug#861645: gsequencer FTBFS on mips/mipsel: FAIL: ags_xorg_application_context_test

James Cowgill
Hi,

On 05/05/17 13:36, Joël Krähemann wrote:

> Hi
>
> finally I got a stack-trace
>
> Using host libthread_db library "/lib/mipsel-linux-gnu/libthread_db.so.1".
> Core was generated by
> `/home/jkraehemann/gsequencer-0.8.0/.libs/ags_xorg_application_context_test'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x75e2af68 in IA__gtk_widget_show_all (widget=0x7280b790) at
> ./gtk/gtkwidget.c:3376
> 3376 ./gtk/gtkwidget.c: No such file or directory.
> (gdb)
> (gdb) bt
> #0  0x75e2af68 in IA__gtk_widget_show_all (widget=0x7280b790) at
> ./gtk/gtkwidget.c:3376
> #1  0x7677b6c8 in ags_machine_selector_popup_new
> (machine_selector=0x728104c0) at
> ags/X/editor/ags_machine_selector.c:569
> #2  0x766b60a4 in ags_automation_editor_init
> (automation_editor=0x7276f238) at ags/X/ags_automation_editor.c:222
> #3  0x75660948 in g_type_create_instance () from
> /usr/lib/mipsel-linux-gnu/libgobject-2.0.so.0
> Backtrace stopped: frame did not save the PC
I ran this test in gdb on a real mips machine. When tracing through
ags_machine_selector_popup_new it seems that the "keys" variable is
never initialized and a garbage pointer is passed to gtk_widget_show_all.

The variable is never initialized because this condition is false:
(AGS_MACHINE_SELECTOR_SHOW_SHIFT_PIANO & (machine_selector->flags)) != 0

Thanks,
James


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#861645: gsequencer FTBFS on mips/mipsel: FAIL: ags_xorg_application_context_test

Joël Krähemann-2
Hi again

Sorry wrong context. It is the problem for sure:
Since it is used by AgsAutomationEditor, too.

Joël


On Fri, May 5, 2017 at 6:31 PM, Joël Krähemann <[hidden email]> wrote:

> Hi
>
> The flag was set. However it is not that beautiful.
> So it can't be the problem.
>
> https://anonscm.debian.org/git/pkg-multimedia/gsequencer.git/tree/ags/X/ags_editor.c#n222
>
> Bests,
> Joël
>
>
> On Fri, May 5, 2017 at 6:09 PM, James Cowgill <[hidden email]> wrote:
>> Hi,
>>
>> On 05/05/17 13:36, Joël Krähemann wrote:
>>> Hi
>>>
>>> finally I got a stack-trace
>>>
>>> Using host libthread_db library "/lib/mipsel-linux-gnu/libthread_db.so.1".
>>> Core was generated by
>>> `/home/jkraehemann/gsequencer-0.8.0/.libs/ags_xorg_application_context_test'.
>>> Program terminated with signal SIGSEGV, Segmentation fault.
>>> #0  0x75e2af68 in IA__gtk_widget_show_all (widget=0x7280b790) at
>>> ./gtk/gtkwidget.c:3376
>>> 3376 ./gtk/gtkwidget.c: No such file or directory.
>>> (gdb)
>>> (gdb) bt
>>> #0  0x75e2af68 in IA__gtk_widget_show_all (widget=0x7280b790) at
>>> ./gtk/gtkwidget.c:3376
>>> #1  0x7677b6c8 in ags_machine_selector_popup_new
>>> (machine_selector=0x728104c0) at
>>> ags/X/editor/ags_machine_selector.c:569
>>> #2  0x766b60a4 in ags_automation_editor_init
>>> (automation_editor=0x7276f238) at ags/X/ags_automation_editor.c:222
>>> #3  0x75660948 in g_type_create_instance () from
>>> /usr/lib/mipsel-linux-gnu/libgobject-2.0.so.0
>>> Backtrace stopped: frame did not save the PC
>>
>> I ran this test in gdb on a real mips machine. When tracing through
>> ags_machine_selector_popup_new it seems that the "keys" variable is
>> never initialized and a garbage pointer is passed to gtk_widget_show_all.
>>
>> The variable is never initialized because this condition is false:
>> (AGS_MACHINE_SELECTOR_SHOW_SHIFT_PIANO & (machine_selector->flags)) != 0
>>
>> Thanks,
>> James
>>